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

Side by Side Diff: ppapi/c/dev/ppp_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, 7 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/ppp_widget_dev.h ('k') | ppapi/cpp/dev/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/ppp_zoom_dev.idl modified Wed Oct 5 14:06:02 2011. */
7
8 #ifndef PPAPI_C_DEV_PPP_ZOOM_DEV_H_
9 #define PPAPI_C_DEV_PPP_ZOOM_DEV_H_
10
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"
15
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
18
19 /**
20 * @file
21 * Implementation of the Zoom interface.
22 */
23
24
25 /**
26 * @addtogroup Interfaces
27 * @{
28 */
29 /**
30 * Zoom interface should only apply to those full-page "plugin-document".
31 */
32 struct PPP_Zoom_Dev_0_3 {
33 /**
34 * Instruct plugin 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.
37 */
38 void (*Zoom)(PP_Instance instance, double factor, PP_Bool text_only);
39 };
40
41 typedef struct PPP_Zoom_Dev_0_3 PPP_Zoom_Dev;
42 /**
43 * @}
44 */
45
46 #endif /* PPAPI_C_DEV_PPP_ZOOM_DEV_H_ */
47
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppp_widget_dev.h ('k') | ppapi/cpp/dev/scrollbar_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698