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_H_ | 5 #ifndef UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ |
6 #define UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ | 6 #define UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
75 class AcceleratorManager; | 75 class AcceleratorManager; |
76 class AcceleratorTarget; | 76 class AcceleratorTarget; |
77 class EventHandler; | 77 class EventHandler; |
78 class KeyEvent; | 78 class KeyEvent; |
79 } | 79 } |
80 | 80 |
81 namespace views { | 81 namespace views { |
82 | 82 |
83 class FocusManagerDelegate; | 83 class FocusManagerDelegate; |
84 class FocusSearch; | 84 class FocusSearch; |
85 class RootView; | |
tapted
2014/10/16 08:27:07
(this is just in the wrong namespace)
| |
86 class View; | 85 class View; |
87 class Widget; | 86 class Widget; |
88 | 87 |
89 // The FocusTraversable interface is used by components that want to process | 88 // The FocusTraversable interface is used by components that want to process |
90 // focus traversal events (due to Tab/Shift-Tab key events). | 89 // focus traversal events (due to Tab/Shift-Tab key events). |
91 class VIEWS_EXPORT FocusTraversable { | 90 class VIEWS_EXPORT FocusTraversable { |
92 public: | 91 public: |
93 // Return a FocusSearch object that implements the algorithm to find | 92 // Return a FocusSearch object that implements the algorithm to find |
94 // the next or previous focusable view. | 93 // the next or previous focusable view. |
95 virtual FocusSearch* GetFocusSearch() = 0; | 94 virtual FocusSearch* GetFocusSearch() = 0; |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
376 | 375 |
377 // See description above getter. | 376 // See description above getter. |
378 bool is_changing_focus_; | 377 bool is_changing_focus_; |
379 | 378 |
380 DISALLOW_COPY_AND_ASSIGN(FocusManager); | 379 DISALLOW_COPY_AND_ASSIGN(FocusManager); |
381 }; | 380 }; |
382 | 381 |
383 } // namespace views | 382 } // namespace views |
384 | 383 |
385 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ | 384 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ |
OLD | NEW |