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

Unified Diff: device/gamepad/gamepad_user_gesture.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_test_helpers.cc ('k') | device/gamepad/gamepad_user_gesture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/gamepad/gamepad_user_gesture.h
diff --git a/device/gamepad/gamepad_user_gesture.h b/device/gamepad/gamepad_user_gesture.h
index d88601ff5523431d1d6c3c73928585c26d69cde8..fa7e73c9d676b0e65ed0f97d88eea8db968f7265 100644
--- a/device/gamepad/gamepad_user_gesture.h
+++ b/device/gamepad/gamepad_user_gesture.h
@@ -5,15 +5,13 @@
#ifndef DEVICE_GAMEPAD_USER_GESTURE_H_
#define DEVICE_GAMEPAD_USER_GESTURE_H_
-namespace blink {
-class WebGamepads;
-}
-
namespace device {
+class Gamepads;
+
// Returns true if any of the gamepads have a button pressed or axis moved
// that would be considered a user gesture for interaction.
-bool GamepadsHaveUserGesture(const blink::WebGamepads& gamepads);
+bool GamepadsHaveUserGesture(const Gamepads& gamepads);
} // namespace device
« no previous file with comments | « device/gamepad/gamepad_test_helpers.cc ('k') | device/gamepad/gamepad_user_gesture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698