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

Unified Diff: content/public/renderer/renderer_gamepad_provider.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/common/DEPS ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/renderer_gamepad_provider.h
diff --git a/content/public/renderer/renderer_gamepad_provider.h b/content/public/renderer/renderer_gamepad_provider.h
index b3b4ce3772ddf69695c33c6c8cf2eff561247695..723ea1d0d2759fa8489bb85ce22780cd75152cdc 100644
--- a/content/public/renderer/renderer_gamepad_provider.h
+++ b/content/public/renderer/renderer_gamepad_provider.h
@@ -10,7 +10,10 @@
namespace blink {
class WebGamepadListener;
-class WebGamepads;
+}
+
+namespace device {
+class Gamepads;
}
namespace content {
@@ -25,7 +28,7 @@ class RendererGamepadProvider
~RendererGamepadProvider() override {}
// Provides latest snapshot of gamepads.
- virtual void SampleGamepads(blink::WebGamepads& gamepads) = 0;
+ virtual void SampleGamepads(device::Gamepads& gamepads) = 0;
protected:
DISALLOW_COPY_AND_ASSIGN(RendererGamepadProvider);
« no previous file with comments | « content/common/DEPS ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698