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

Unified Diff: ppapi/thunk/ppb_gamepad_api.h

Issue 12568010: Cleanup: Make gamepad API consistent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ppapi/thunk/ppb_gamepad_api.h
diff --git a/ppapi/thunk/ppb_gamepad_api.h b/ppapi/thunk/ppb_gamepad_api.h
index 9a304dac603aadfe3d6410f693433990e5e7688c..88b317c42ff42adc5f47b4f238fc5d563f81ecdb 100644
--- a/ppapi/thunk/ppb_gamepad_api.h
+++ b/ppapi/thunk/ppb_gamepad_api.h
@@ -17,7 +17,8 @@ class PPAPI_THUNK_EXPORT PPB_Gamepad_API {
public:
virtual ~PPB_Gamepad_API() {}
- virtual void Sample(PP_GamepadsSampleData* data) = 0;
+ virtual void Sample(PP_Instance instance,
+ PP_GamepadsSampleData* data) = 0;
static const SingletonResourceID kSingletonResourceID = GAMEPAD_SINGLETON_ID;
};

Powered by Google App Engine
This is Rietveld 408576698