OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_FOCUS_FOCUS_MANAGER_TEST_H_ | 5 #ifndef UI_VIEWS_TEST_FOCUS_MANAGER_TEST_H_ |
6 #define UI_VIEWS_FOCUS_FOCUS_MANAGER_TEST_H_ | 6 #define UI_VIEWS_TEST_FOCUS_MANAGER_TEST_H_ |
7 | 7 |
8 #include "ui/views/focus/focus_manager.h" | 8 #include "ui/views/focus/focus_manager.h" |
9 #include "ui/views/focus/widget_focus_manager.h" | 9 #include "ui/views/focus/widget_focus_manager.h" |
10 #include "ui/views/test/views_test_base.h" | 10 #include "ui/views/test/views_test_base.h" |
11 #include "ui/views/widget/widget_delegate.h" | 11 #include "ui/views/widget/widget_delegate.h" |
12 | 12 |
13 namespace views { | 13 namespace views { |
14 | 14 |
15 class FocusChangeListener; | 15 class FocusChangeListener; |
16 | 16 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 private: | 96 private: |
97 // Pairs of (focused_before, focused_now) parameters we've received via calls | 97 // Pairs of (focused_before, focused_now) parameters we've received via calls |
98 // to OnNativeFocusChange(), in oldest-to-newest-received order. | 98 // to OnNativeFocusChange(), in oldest-to-newest-received order. |
99 std::vector<NativeViewPair> focus_changes_; | 99 std::vector<NativeViewPair> focus_changes_; |
100 | 100 |
101 DISALLOW_COPY_AND_ASSIGN(TestWidgetFocusChangeListener); | 101 DISALLOW_COPY_AND_ASSIGN(TestWidgetFocusChangeListener); |
102 }; | 102 }; |
103 | 103 |
104 } // namespace views | 104 } // namespace views |
105 | 105 |
106 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_TEST_H_ | 106 #endif // UI_VIEWS_TEST_FOCUS_MANAGER_TEST_H_ |
OLD | NEW |