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 #include "ui/views/focus/focus_manager_test.h" | 5 #include "ui/views/test/focus_manager_test.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "ui/views/focus/focus_manager.h" | 9 #include "ui/views/focus/focus_manager.h" |
10 #include "ui/views/widget/widget.h" | 10 #include "ui/views/widget/widget.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 | 13 |
14 //////////////////////////////////////////////////////////////////////////////// | 14 //////////////////////////////////////////////////////////////////////////////// |
15 // FocusManagerTest, public: | 15 // FocusManagerTest, public: |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 focus_changes_.clear(); | 134 focus_changes_.clear(); |
135 } | 135 } |
136 | 136 |
137 void TestWidgetFocusChangeListener::OnNativeFocusChange( | 137 void TestWidgetFocusChangeListener::OnNativeFocusChange( |
138 gfx::NativeView focused_before, | 138 gfx::NativeView focused_before, |
139 gfx::NativeView focused_now) { | 139 gfx::NativeView focused_now) { |
140 focus_changes_.push_back(NativeViewPair(focused_before, focused_now)); | 140 focus_changes_.push_back(NativeViewPair(focused_before, focused_now)); |
141 } | 141 } |
142 | 142 |
143 } // namespace views | 143 } // namespace views |
OLD | NEW |