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

Unified Diff: ppapi/shared_impl/ppb_gamepad_shared.h

Issue 2808093006: [Device Service] Move Gamepad Blink headers to be part of the Gamepad client library (Closed)
Patch Set: rebase and address comments Created 3 years, 8 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 | « ppapi/shared_impl/DEPS ('k') | ppapi/shared_impl/ppb_gamepad_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_gamepad_shared.h
diff --git a/ppapi/shared_impl/ppb_gamepad_shared.h b/ppapi/shared_impl/ppb_gamepad_shared.h
index df95fab8340a0e617ccdf4a4ed75dc537451f492..24f3cb0dc73887f34c4dfe21b58257329f5a6d6d 100644
--- a/ppapi/shared_impl/ppb_gamepad_shared.h
+++ b/ppapi/shared_impl/ppb_gamepad_shared.h
@@ -12,6 +12,10 @@
#include "ppapi/c/ppb_gamepad.h"
#include "ppapi/shared_impl/ppapi_shared_export.h"
+namespace device {
+class Gamepads;
+}
+
namespace ppapi {
// TODO(brettw) when we remove the non-IPC-based gamepad implementation, this
@@ -119,6 +123,10 @@ PPAPI_SHARED_EXPORT void ConvertWebKitGamepadData(
const WebKitGamepads& webkit_data,
PP_GamepadsSampleData* output_data);
+PPAPI_SHARED_EXPORT void ConvertDeviceGamepadData(
+ const device::Gamepads& device_data,
+ PP_GamepadsSampleData* output_data);
+
} // namespace ppapi
#endif // PPAPI_SHARED_IMPL_PPB_GAMEPAD_SHARED_H_
« no previous file with comments | « ppapi/shared_impl/DEPS ('k') | ppapi/shared_impl/ppb_gamepad_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698