| Index: device/gamepad/gamepad_user_gesture.cc
|
| diff --git a/content/common/gamepad_user_gesture.cc b/device/gamepad/gamepad_user_gesture.cc
|
| similarity index 92%
|
| rename from content/common/gamepad_user_gesture.cc
|
| rename to device/gamepad/gamepad_user_gesture.cc
|
| index 54220d0e83982ebe7b37c76ff8fb807a7c513f4f..4442faeae744f8b91d742386603a1bfc25b56f42 100644
|
| --- a/content/common/gamepad_user_gesture.cc
|
| +++ b/device/gamepad/gamepad_user_gesture.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "content/common/gamepad_user_gesture.h"
|
| +#include "device/gamepad/gamepad_user_gesture.h"
|
|
|
| #include <math.h>
|
|
|
| @@ -15,7 +15,7 @@ namespace {
|
| const float kAxisMoveAmountThreshold = 0.5;
|
| }
|
|
|
| -namespace content {
|
| +namespace device {
|
|
|
| bool GamepadsHaveUserGesture(const blink::WebGamepads& gamepads) {
|
| for (unsigned int i = 0; i < blink::WebGamepads::itemsLengthCap; i++) {
|
| @@ -40,4 +40,4 @@ bool GamepadsHaveUserGesture(const blink::WebGamepads& gamepads) {
|
| return false;
|
| }
|
|
|
| -} // namespace content
|
| +} // namespace device
|
|
|