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

Unified Diff: ppapi/thunk/ppb_instance_api.h

Issue 10824272: Add a skeleton gamepad resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 4 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_instance_api.h
diff --git a/ppapi/thunk/ppb_instance_api.h b/ppapi/thunk/ppb_instance_api.h
index 10868dde45685b1ac9a5d6580ab451b6cb08de16..ef80609d15a49bf62fcf6708ba001d6383e3d4f9 100644
--- a/ppapi/thunk/ppb_instance_api.h
+++ b/ppapi/thunk/ppb_instance_api.h
@@ -37,6 +37,7 @@ struct ViewData;
namespace thunk {
class PPB_Flash_API;
+class PPB_Gamepad_API;
class PPB_Instance_API {
public:
@@ -90,8 +91,7 @@ class PPB_Instance_API {
virtual PPB_Flash_API* GetFlashAPI() = 0;
// Gamepad.
- virtual void SampleGamepads(PP_Instance instance,
- PP_GamepadsSampleData* data) = 0;
+ virtual PPB_Gamepad_API* GetGamepadAPI(PP_Instance instance) = 0;
// InputEvent.
virtual int32_t RequestInputEvents(PP_Instance instance,

Powered by Google App Engine
This is Rietveld 408576698