OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 UI_AURA_TEST_TEST_CURSOR_CLIENT_H_ | 5 #ifndef UI_AURA_TEST_TEST_CURSOR_CLIENT_H_ |
6 #define UI_AURA_TEST_TEST_CURSOR_CLIENT_H_ | 6 #define UI_AURA_TEST_TEST_CURSOR_CLIENT_H_ |
7 | 7 |
| 8 #include "base/basictypes.h" |
8 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
9 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
10 #include "ui/aura/client/cursor_client.h" | 11 #include "ui/aura/client/cursor_client.h" |
11 | 12 |
12 namespace aura { | 13 namespace aura { |
13 namespace test { | 14 namespace test { |
14 | 15 |
15 class TestCursorClient : public aura::client::CursorClient { | 16 class TestCursorClient : public aura::client::CursorClient { |
16 public: | 17 public: |
17 explicit TestCursorClient(aura::Window* root_window); | 18 explicit TestCursorClient(aura::Window* root_window); |
(...skipping 25 matching lines...) Expand all Loading... |
43 ObserverList<aura::client::CursorClientObserver> observers_; | 44 ObserverList<aura::client::CursorClientObserver> observers_; |
44 aura::Window* root_window_; | 45 aura::Window* root_window_; |
45 | 46 |
46 DISALLOW_COPY_AND_ASSIGN(TestCursorClient); | 47 DISALLOW_COPY_AND_ASSIGN(TestCursorClient); |
47 }; | 48 }; |
48 | 49 |
49 } // namespace test | 50 } // namespace test |
50 } // namespace aura | 51 } // namespace aura |
51 | 52 |
52 #endif // UI_AURA_TEST_TEST_CURSOR_CLIENT_H_ | 53 #endif // UI_AURA_TEST_TEST_CURSOR_CLIENT_H_ |
OLD | NEW |