| 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_WM_CORE_FOCUS_CONTROLLER_H_ | 5 #ifndef UI_WM_CORE_FOCUS_CONTROLLER_H_ |
| 6 #define UI_WM_CORE_FOCUS_CONTROLLER_H_ | 6 #define UI_WM_CORE_FOCUS_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 void WindowFocusedFromInputEvent(aura::Window* window); | 100 void WindowFocusedFromInputEvent(aura::Window* window); |
| 101 | 101 |
| 102 aura::Window* active_window_; | 102 aura::Window* active_window_; |
| 103 aura::Window* focused_window_; | 103 aura::Window* focused_window_; |
| 104 | 104 |
| 105 bool updating_focus_; | 105 bool updating_focus_; |
| 106 bool updating_activation_; | 106 bool updating_activation_; |
| 107 | 107 |
| 108 scoped_ptr<FocusRules> rules_; | 108 scoped_ptr<FocusRules> rules_; |
| 109 | 109 |
| 110 ObserverList<aura::client::ActivationChangeObserver> activation_observers_; | 110 base::ObserverList<aura::client::ActivationChangeObserver> |
| 111 ObserverList<aura::client::FocusChangeObserver> focus_observers_; | 111 activation_observers_; |
| 112 base::ObserverList<aura::client::FocusChangeObserver> focus_observers_; |
| 112 | 113 |
| 113 ScopedObserver<aura::Window, aura::WindowObserver> observer_manager_; | 114 ScopedObserver<aura::Window, aura::WindowObserver> observer_manager_; |
| 114 | 115 |
| 115 DISALLOW_COPY_AND_ASSIGN(FocusController); | 116 DISALLOW_COPY_AND_ASSIGN(FocusController); |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace wm | 119 } // namespace wm |
| 119 | 120 |
| 120 #endif // UI_WM_CORE_FOCUS_CONTROLLER_H_ | 121 #endif // UI_WM_CORE_FOCUS_CONTROLLER_H_ |
| OLD | NEW |