Remove Observer methods in RTCVideoEncoderFactory.
[chromium-blink-merge.git] / ppapi / c / dev / ppp_zoom_dev.h
blobd70fcddf4b6330a0766b502ca67e4b7a0ecaf09c
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
6 /* From dev/ppp_zoom_dev.idl modified Wed Oct 5 14:06:02 2011. */
8 #ifndef PPAPI_C_DEV_PPP_ZOOM_DEV_H_
9 #define PPAPI_C_DEV_PPP_ZOOM_DEV_H_
11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_stdint.h"
16 #define PPP_ZOOM_DEV_INTERFACE_0_3 "PPP_Zoom(Dev);0.3"
17 #define PPP_ZOOM_DEV_INTERFACE PPP_ZOOM_DEV_INTERFACE_0_3
19 /**
20 * @file
21 * Implementation of the Zoom interface.
25 /**
26 * @addtogroup Interfaces
27 * @{
29 /**
30 * Zoom interface should only apply to those full-page "plugin-document".
32 struct PPP_Zoom_Dev_0_3 {
33 /**
34 * Instruct plug-in to zoom according to the given factor and whether the zoom
35 * only applies to text only. The scale factor is the percentage divided by
36 * 100, i.e. 150% zoom is 1.5.
38 void (*Zoom)(PP_Instance instance, double factor, PP_Bool text_only);
41 typedef struct PPP_Zoom_Dev_0_3 PPP_Zoom_Dev;
42 /**
43 * @}
46 #endif /* PPAPI_C_DEV_PPP_ZOOM_DEV_H_ */