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

Unified Diff: device/gamepad/gamepad_service.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 | « device/gamepad/gamepad_provider_unittest.cc ('k') | device/gamepad/gamepad_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/gamepad/gamepad_service.h
diff --git a/device/gamepad/gamepad_service.h b/device/gamepad/gamepad_service.h
index e9ffbe86c5dc9ca5482e8f098c30890f3f63c0d4..c5e4aafa0309b46ae02fa2d2ecf6e5d9ccd4b4ad 100644
--- a/device/gamepad/gamepad_service.h
+++ b/device/gamepad/gamepad_service.h
@@ -19,10 +19,6 @@ namespace {
class SingleThreadTaskRunner;
}
-namespace blink {
-class WebGamepad;
-}
-
namespace content {
class GamepadServiceTestConstructor;
}
@@ -83,10 +79,10 @@ class DEVICE_GAMEPAD_EXPORT GamepadService
void Terminate();
// Called on IO thread when a gamepad is connected.
- void OnGamepadConnected(int index, const blink::WebGamepad& pad);
+ void OnGamepadConnected(int index, const Gamepad& pad);
// Called on IO thread when a gamepad is disconnected.
- void OnGamepadDisconnected(int index, const blink::WebGamepad& pad);
+ void OnGamepadDisconnected(int index, const Gamepad& pad);
private:
friend struct base::DefaultSingletonTraits<GamepadService>;
@@ -107,7 +103,7 @@ class DEVICE_GAMEPAD_EXPORT GamepadService
void OnGamepadConnectionChange(bool connected,
int index,
- const blink::WebGamepad& pad) override;
+ const Gamepad& pad) override;
void SetSanitizationEnabled(bool sanitize);
« no previous file with comments | « device/gamepad/gamepad_provider_unittest.cc ('k') | device/gamepad/gamepad_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698