| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SEARCH_H_ | 5 #ifndef UI_VIEWS_FOCUS_FOCUS_SEARCH_H_ |
| 6 #define UI_VIEWS_FOCUS_FOCUS_SEARCH_H_ | 6 #define UI_VIEWS_FOCUS_FOCUS_SEARCH_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "ui/views/view.h" | 9 #include "ui/views/view.h" |
| 9 | 10 |
| 10 namespace views { | 11 namespace views { |
| 11 | 12 |
| 12 class FocusTraversable; | 13 class FocusTraversable; |
| 13 | 14 |
| 14 // FocusSearch is an object that implements the algorithm to find the | 15 // FocusSearch is an object that implements the algorithm to find the |
| 15 // next view to focus. | 16 // next view to focus. |
| 16 class VIEWS_EXPORT FocusSearch { | 17 class VIEWS_EXPORT FocusSearch { |
| 17 public: | 18 public: |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 View* root_; | 120 View* root_; |
| 120 bool cycle_; | 121 bool cycle_; |
| 121 bool accessibility_mode_; | 122 bool accessibility_mode_; |
| 122 | 123 |
| 123 DISALLOW_COPY_AND_ASSIGN(FocusSearch); | 124 DISALLOW_COPY_AND_ASSIGN(FocusSearch); |
| 124 }; | 125 }; |
| 125 | 126 |
| 126 } // namespace views | 127 } // namespace views |
| 127 | 128 |
| 128 #endif // UI_VIEWS_FOCUS_FOCUS_SEARCH_H_ | 129 #endif // UI_VIEWS_FOCUS_FOCUS_SEARCH_H_ |
| OLD | NEW |