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

Unified Diff: content/shell/test_runner/gamepad_controller.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 | « content/shell/test_runner/DEPS ('k') | content/shell/test_runner/gamepad_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/test_runner/gamepad_controller.h
diff --git a/content/shell/test_runner/gamepad_controller.h b/content/shell/test_runner/gamepad_controller.h
index 36aa1f1687385917a24241d49ee18db744bba199..787eec5e2728bbd77cdff17cdebf66ee44c0819c 100644
--- a/content/shell/test_runner/gamepad_controller.h
+++ b/content/shell/test_runner/gamepad_controller.h
@@ -10,7 +10,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "content/shell/test_runner/test_runner_export.h"
-#include "third_party/WebKit/public/platform/WebGamepads.h"
+#include "device/gamepad/public/cpp/gamepads.h"
namespace blink {
class WebFrame;
@@ -30,7 +30,7 @@ class TEST_RUNNER_EXPORT GamepadController
void Reset();
void Install(blink::WebFrame* frame);
- void SampleGamepads(blink::WebGamepads& gamepads);
+ void SampleGamepads(device::Gamepads& gamepads);
void SetListener(blink::WebGamepadListener* listener);
private:
@@ -55,7 +55,7 @@ class TEST_RUNNER_EXPORT GamepadController
blink::WebGamepadListener* listener_;
- blink::WebGamepads gamepads_;
+ device::Gamepads gamepads_;
// Mapping from gamepad index to connection state.
std::map<int, bool> pending_changes_;
« no previous file with comments | « content/shell/test_runner/DEPS ('k') | content/shell/test_runner/gamepad_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698