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 |
11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "ui/base/accelerators/accelerator.h" | 14 #include "ui/base/accelerators/accelerator.h" |
15 #include "ui/base/accelerators/accelerator_manager.h" | 15 #include "ui/base/accelerators/accelerator_manager.h" |
16 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
17 #include "ui/views/views_export.h" | 17 #include "ui/views/views_export.h" |
18 | 18 |
19 // FocusManager handles focus traversal, stores and restores focused views, and | 19 // FocusManager handles focus traversal, stores and restores focused views, and |
20 // handles keyboard accelerators. This class is an implementation detail of | 20 // handles keyboard accelerators. This class is an implementation detail of |
21 // views::. Most callers should use methods of views:: classes rather than using | 21 // views::. Most callers should use methods of views:: classes rather than using |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 | 369 |
370 // See description above getter. | 370 // See description above getter. |
371 bool is_changing_focus_; | 371 bool is_changing_focus_; |
372 | 372 |
373 DISALLOW_COPY_AND_ASSIGN(FocusManager); | 373 DISALLOW_COPY_AND_ASSIGN(FocusManager); |
374 }; | 374 }; |
375 | 375 |
376 } // namespace views | 376 } // namespace views |
377 | 377 |
378 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ | 378 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ |
OLD | NEW |