Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(652)

Side by Side Diff: ppapi/c/dev/ppb_zoom_dev.h

Issue 1161563002: Remove unused in-process pepper APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/c/dev/ppb_widget_dev.h ('k') | ppapi/c/dev/ppp_scrollbar_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 */
5
6 /* From dev/ppb_zoom_dev.idl modified Thu Apr 18 10:24:21 2013. */
7
8 #ifndef PPAPI_C_DEV_PPB_ZOOM_DEV_H_
9 #define PPAPI_C_DEV_PPB_ZOOM_DEV_H_
10
11 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_stdint.h"
14
15 #define PPB_ZOOM_DEV_INTERFACE_0_2 "PPB_Zoom(Dev);0.2"
16 #define PPB_ZOOM_DEV_INTERFACE PPB_ZOOM_DEV_INTERFACE_0_2
17
18 /**
19 * @file
20 * Implementation of the Zoom interface.
21 */
22
23
24 /**
25 * @addtogroup Interfaces
26 * @{
27 */
28 /**
29 * Zoom interface should only apply to those full-page "plugin-document".
30 */
31 struct PPB_Zoom_Dev_0_2 {
32 /**
33 * Informs the browser about the new zoom factor for the plugin (see
34 * ppp_zoom_dev.h for a description of zoom factor). The plugin should only
35 * call this function if the zoom change was triggered by the browser, it's
36 * only needed in case a plugin can update its own zoom, say because of its
37 * own UI.
38 */
39 void (*ZoomChanged)(PP_Instance instance, double factor);
40 /**
41 * Sets the minimum and maximum zoom factors.
42 */
43 void (*ZoomLimitsChanged)(PP_Instance instance,
44 double minimum_factor,
45 double maximum_factor);
46 };
47
48 typedef struct PPB_Zoom_Dev_0_2 PPB_Zoom_Dev;
49 /**
50 * @}
51 */
52
53 #endif /* PPAPI_C_DEV_PPB_ZOOM_DEV_H_ */
54
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_widget_dev.h ('k') | ppapi/c/dev/ppp_scrollbar_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698