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

Unified Diff: ppapi/c/dev/ppp_zoom_dev.h

Issue 7833031: Convert zoom and widget to IDL (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/dev/ppp_widget_dev.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppp_zoom_dev.h
===================================================================
--- ppapi/c/dev/ppp_zoom_dev.h (revision 99676)
+++ ppapi/c/dev/ppp_zoom_dev.h (working copy)
@@ -2,23 +2,44 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
+/* From dev/ppp_zoom_dev.idl modified Fri Aug 26 15:42:06 2011. */
+
#ifndef PPAPI_C_DEV_PPP_ZOOM_DEV_H_
#define PPAPI_C_DEV_PPP_ZOOM_DEV_H_
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
+#include "ppapi/c/pp_macros.h"
+#include "ppapi/c/pp_stdint.h"
-// Zoom interface should only apply to those full-page "plugin-document".
-#define PPP_ZOOM_DEV_INTERFACE "PPP_Zoom(Dev);0.3"
+#define PPP_ZOOM_DEV_INTERFACE_0_3 "PPP_Zoom(Dev);0.3"
+#define PPP_ZOOM_DEV_INTERFACE PPP_ZOOM_DEV_INTERFACE_0_3
+/**
+ * @file
+ * Implementation of the Zoom interface.
+ */
+
+
+/**
+ * @addtogroup Interfaces
+ * @{
+ */
+/**
+ * Zoom interface should only apply to those full-page "plugin-document".
+ */
struct PPP_Zoom_Dev {
- // Instruct plug-in to zoom according to the given factor and whether the zoom
- // only applies to text only. The scale factor is the percentage divided by
- // 100, i.e. 150% zoom is 1.5.
- void (*Zoom)(PP_Instance instance,
- double factor,
- PP_Bool text_only);
+ /**
+ * Instruct plug-in to zoom according to the given factor and whether the zoom
+ * only applies to text only. The scale factor is the percentage divided by
+ * 100, i.e. 150% zoom is 1.5.
+ */
+ void (*Zoom)(PP_Instance instance, double factor, PP_Bool text_only);
};
+/**
+ * @}
+ */
#endif /* PPAPI_C_DEV_PPP_ZOOM_DEV_H_ */
« no previous file with comments | « ppapi/c/dev/ppp_widget_dev.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698