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 UI_VIEWS_TEST_FOCUS_MANAGER_TEST_H_ | 5 #ifndef UI_VIEWS_TEST_FOCUS_MANAGER_TEST_H_ |
6 #define UI_VIEWS_TEST_FOCUS_MANAGER_TEST_H_ | 6 #define UI_VIEWS_TEST_FOCUS_MANAGER_TEST_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ui/views/focus/focus_manager.h" | 9 #include "ui/views/focus/focus_manager.h" |
9 #include "ui/views/focus/widget_focus_manager.h" | 10 #include "ui/views/focus/widget_focus_manager.h" |
10 #include "ui/views/test/views_test_base.h" | 11 #include "ui/views/test/views_test_base.h" |
11 #include "ui/views/widget/widget_delegate.h" | 12 #include "ui/views/widget/widget_delegate.h" |
12 | 13 |
13 namespace views { | 14 namespace views { |
14 | 15 |
15 class FocusChangeListener; | 16 class FocusChangeListener; |
16 | 17 |
17 class FocusManagerTest : public ViewsTestBase, public WidgetDelegate { | 18 class FocusManagerTest : public ViewsTestBase, public WidgetDelegate { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // Parameter received via OnNativeFocusChanged in oldest-to-newest-received | 93 // Parameter received via OnNativeFocusChanged in oldest-to-newest-received |
93 // order. | 94 // order. |
94 std::vector<gfx::NativeView> focus_changes_; | 95 std::vector<gfx::NativeView> focus_changes_; |
95 | 96 |
96 DISALLOW_COPY_AND_ASSIGN(TestWidgetFocusChangeListener); | 97 DISALLOW_COPY_AND_ASSIGN(TestWidgetFocusChangeListener); |
97 }; | 98 }; |
98 | 99 |
99 } // namespace views | 100 } // namespace views |
100 | 101 |
101 #endif // UI_VIEWS_TEST_FOCUS_MANAGER_TEST_H_ | 102 #endif // UI_VIEWS_TEST_FOCUS_MANAGER_TEST_H_ |
OLD | NEW |