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

Unified Diff: ppapi/api/dev/ppb_widget_dev.idl

Issue 11417010: Add support for generating thunk source from IDL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed an unnecessary change Created 8 years, 1 month 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 | « no previous file | ppapi/generators/generator.py » ('j') | ppapi/generators/idl_c_header.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/dev/ppb_widget_dev.idl
diff --git a/ppapi/api/dev/ppb_widget_dev.idl b/ppapi/api/dev/ppb_widget_dev.idl
index 77e5de0fff9337d3b95de693b8804d1b207b84e5..c26cb4e4bb33f9f0509da36733e71d320f4323ef 100644
--- a/ppapi/api/dev/ppb_widget_dev.idl
+++ b/ppapi/api/dev/ppb_widget_dev.idl
@@ -7,6 +7,8 @@
* Implementation of the widgets interface.
*/
+[generate_thunk]
+
label Chrome {
M14 = 0.3,
M23 = 0.4
@@ -26,6 +28,7 @@ interface PPB_Widget_Dev {
* Paint the given rectangle of the widget into the given image.
* Returns PP_TRUE on success, PP_FALSE on failure.
*/
+ [report_errors=False]
PP_Bool Paint([in] PP_Resource widget,
[in] PP_Rect rect,
[in] PP_Resource image);
@@ -34,24 +37,27 @@ interface PPB_Widget_Dev {
* Pass in an event to a widget. It'll return PP_TRUE if the event was
* consumed.
*/
+ [report_errors=False]
PP_Bool HandleEvent([in] PP_Resource widget, [in] PP_Resource input_event);
/**
* Get the location of the widget.
*/
+ [report_errors=False]
PP_Bool GetLocation([in] PP_Resource widget,
[out] PP_Rect location);
/**
* Set the location of the widget.
*/
+ [report_errors=False]
void SetLocation([in] PP_Resource widget,
[in] PP_Rect location);
/**
* Set scale used during paint operations.
*/
- [version=0.4]
+ [version=0.4, report_errors=False]
void SetScale([in] PP_Resource widget,
[in] float_t scale);
};
« no previous file with comments | « no previous file | ppapi/generators/generator.py » ('j') | ppapi/generators/idl_c_header.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698