OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_TEST_RUNNER_GAMEPAD_CONTROLLER_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_GAMEPAD_CONTROLLER_H_ |
6 #define COMPONENTS_TEST_RUNNER_GAMEPAD_CONTROLLER_H_ | 6 #define COMPONENTS_TEST_RUNNER_GAMEPAD_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "components/test_runner/test_runner_export.h" | 12 #include "components/test_runner/test_runner_export.h" |
12 #include "third_party/WebKit/public/platform/WebGamepads.h" | 13 #include "third_party/WebKit/public/platform/WebGamepads.h" |
13 | 14 |
14 namespace blink { | 15 namespace blink { |
15 class WebFrame; | 16 class WebFrame; |
16 class WebGamepadListener; | 17 class WebGamepadListener; |
17 } | 18 } |
18 | 19 |
19 namespace test_runner { | 20 namespace test_runner { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 std::map<int, bool> pending_changes_; | 61 std::map<int, bool> pending_changes_; |
61 | 62 |
62 base::WeakPtrFactory<GamepadController> weak_factory_; | 63 base::WeakPtrFactory<GamepadController> weak_factory_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(GamepadController); | 65 DISALLOW_COPY_AND_ASSIGN(GamepadController); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace test_runner | 68 } // namespace test_runner |
68 | 69 |
69 #endif // COMPONENTS_TEST_RUNNER_GAMEPAD_CONTROLLER_H_ | 70 #endif // COMPONENTS_TEST_RUNNER_GAMEPAD_CONTROLLER_H_ |
OLD | NEW |