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

Unified Diff: device/gamepad/gamepad_user_gesture.h

Issue 2081583002: Migrating majority of gamepad from content/browser/ to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final tweaks Created 4 years, 5 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/content/common/gamepad_user_gesture.h b/device/gamepad/gamepad_user_gesture.h
similarity index 68%
rename from content/common/gamepad_user_gesture.h
rename to device/gamepad/gamepad_user_gesture.h
index 899e366048772f484c0310df5152361b38fcf9b4..d88601ff5523431d1d6c3c73928585c26d69cde8 100644
--- a/content/common/gamepad_user_gesture.h
+++ b/device/gamepad/gamepad_user_gesture.h
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_GAMEPAD_USER_GESTURE_H_
-#define CONTENT_COMMON_GAMEPAD_USER_GESTURE_H_
+#ifndef DEVICE_GAMEPAD_USER_GESTURE_H_
+#define DEVICE_GAMEPAD_USER_GESTURE_H_
namespace blink {
class WebGamepads;
}
-namespace content {
+namespace device {
// 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);
-} // namespace content
+} // namespace device
-#endif // CONTENT_COMMON_GAMEPAD_USER_GESTURE_H_
+#endif // DEVICE_GAMEPAD_USER_GESTURE_H_
« 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