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_WIDGET_FOCUS_MANAGER_H_ | 5 #ifndef UI_VIEWS_FOCUS_WIDGET_FOCUS_MANAGER_H_ |
6 #define UI_VIEWS_FOCUS_WIDGET_FOCUS_MANAGER_H_ | 6 #define UI_VIEWS_FOCUS_WIDGET_FOCUS_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
11 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
12 #include "views/views_export.h" | 12 #include "ui/views/views_export.h" |
13 | 13 |
14 template <typename T> struct DefaultSingletonTraits; | 14 template <typename T> struct DefaultSingletonTraits; |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 | 17 |
18 // This interface should be implemented by classes that want to be notified when | 18 // This interface should be implemented by classes that want to be notified when |
19 // the native focus is about to change. Listeners implementing this interface | 19 // the native focus is about to change. Listeners implementing this interface |
20 // will be invoked for all native focus changes across the entire Chrome | 20 // will be invoked for all native focus changes across the entire Chrome |
21 // application. FocusChangeListeners are only called for changes within the | 21 // application. FocusChangeListeners are only called for changes within the |
22 // children of a single top-level native-view. | 22 // children of a single top-level native-view. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 AutoNativeNotificationDisabler(); | 73 AutoNativeNotificationDisabler(); |
74 ~AutoNativeNotificationDisabler(); | 74 ~AutoNativeNotificationDisabler(); |
75 | 75 |
76 private: | 76 private: |
77 DISALLOW_COPY_AND_ASSIGN(AutoNativeNotificationDisabler); | 77 DISALLOW_COPY_AND_ASSIGN(AutoNativeNotificationDisabler); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace views | 80 } // namespace views |
81 | 81 |
82 #endif // UI_VIEWS_FOCUS_WIDGET_FOCUS_MANAGER_H_ | 82 #endif // UI_VIEWS_FOCUS_WIDGET_FOCUS_MANAGER_H_ |
OLD | NEW |