summaryrefslogtreecommitdiffstats
path: root/ppapi/api/ppb_gamepad.idl
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 16:54:30 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 16:54:30 +0000
commit6f743a2779f5818ad244af91d517ae6e4ea9ae6b (patch)
treef47b0649ef31d798ba1adadfbec9686475c40e54 /ppapi/api/ppb_gamepad.idl
parent0fa4949dc9d70c36d88c6469ddb13b7346ceaa87 (diff)
downloadchromium_src-6f743a2779f5818ad244af91d517ae6e4ea9ae6b.zip
chromium_src-6f743a2779f5818ad244af91d517ae6e4ea9ae6b.tar.gz
chromium_src-6f743a2779f5818ad244af91d517ae6e4ea9ae6b.tar.bz2
Pepper: Autogenerate thunk for PPB_URL_Loader.
This requires another annotation: "always_set_output_parameters" This annotation ensures that the thunk implementation will zero-out the value of all output parameters on failure. Tested: Built chrome and browser_tests. BUG= Review URL: https://codereview.chromium.org/14007010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/ppb_gamepad.idl')
-rw-r--r--ppapi/api/ppb_gamepad.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/ppapi/api/ppb_gamepad.idl b/ppapi/api/ppb_gamepad.idl
index c3d0652..1552fd6 100644
--- a/ppapi/api/ppb_gamepad.idl
+++ b/ppapi/api/ppb_gamepad.idl
@@ -90,6 +90,7 @@ interface PPB_Gamepad {
/**
* Samples the current state of the available gamepads.
*/
+ [always_set_output_parameters]
void Sample(
[in] PP_Instance instance,
[out] PP_GamepadsSampleData data);