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

Unified Diff: ppapi/proxy/gamepad_resource.h

Issue 11359063: Refactor the way singleton-style resources are exposed via PPB_Instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/proxy/gamepad_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/gamepad_resource.h
diff --git a/ppapi/proxy/gamepad_resource.h b/ppapi/proxy/gamepad_resource.h
index 1eaa547fc125eb1f8290525323401713d1f28dac..f2ff413b5086871fba7638e8eb6d9a5ac9736bbc 100644
--- a/ppapi/proxy/gamepad_resource.h
+++ b/ppapi/proxy/gamepad_resource.h
@@ -35,6 +35,9 @@ class PPAPI_PROXY_EXPORT GamepadResource
GamepadResource(Connection connection, PP_Instance instance);
virtual ~GamepadResource();
+ // Resource implementation.
+ virtual thunk::PPB_Gamepad_API* AsPPB_Gamepad_API() OVERRIDE;
+
// PPB_Gamepad_API.
virtual void Sample(PP_GamepadsSampleData* data) OVERRIDE;
« no previous file with comments | « no previous file | ppapi/proxy/gamepad_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698