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

Unified Diff: ppapi/api/ppb_gamepad.idl

Issue 13142007: IDL: Autogenerate thunk for PPB_Gamepad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary comments Created 7 years, 9 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 | « no previous file | ppapi/generators/idl_thunk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/ppb_gamepad.idl
diff --git a/ppapi/api/ppb_gamepad.idl b/ppapi/api/ppb_gamepad.idl
index 845714b0848278456b6fd781e92d30e76bd54cc7..6403e345b08adc5e96170a059b01b1aca531b01e 100644
--- a/ppapi/api/ppb_gamepad.idl
+++ b/ppapi/api/ppb_gamepad.idl
@@ -8,6 +8,8 @@
* provides access to gamepad devices.
*/
+[generate_thunk]
+
label Chrome {
M19 = 1.0
};
@@ -83,7 +85,7 @@ struct PP_GamepadsSampleData {
* The <code>PPB_Gamepad</code> interface allows retrieving data from
* gamepad/joystick devices that are connected to the system.
*/
-[version=1.0, macro="PPB_GAMEPAD_INTERFACE"]
+[version=1.0, macro="PPB_GAMEPAD_INTERFACE", singleton_resource]
interface PPB_Gamepad {
/**
* Samples the current state of the connected gamepads.
@@ -91,5 +93,4 @@ interface PPB_Gamepad {
void Sample(
[in] PP_Instance instance,
[out] PP_GamepadsSampleData data);
-
};
« no previous file with comments | « no previous file | ppapi/generators/idl_thunk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698