summaryrefslogtreecommitdiffstats
path: root/ppapi/c/dev/ppp_zoom_dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/c/dev/ppp_zoom_dev.h')
-rw-r--r--ppapi/c/dev/ppp_zoom_dev.h39
1 files changed, 30 insertions, 9 deletions
diff --git a/ppapi/c/dev/ppp_zoom_dev.h b/ppapi/c/dev/ppp_zoom_dev.h
index e285df9..fabf2a6 100644
--- a/ppapi/c/dev/ppp_zoom_dev.h
+++ b/ppapi/c/dev/ppp_zoom_dev.h
@@ -1,24 +1,45 @@
-/* Copyright (c) 2010 The Chromium Authors. All rights reserved.
+/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
* 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"
+
+#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.
+ */
-// Zoom interface should only apply to those full-page "plugin-document".
-#define PPP_ZOOM_DEV_INTERFACE "PPP_Zoom(Dev);0.3"
+/**
+ * @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_ */