| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_DEFAULT_ACTIVATION_CLIENT_H_ | 5 #ifndef UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_ |
| 6 #define UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_ | 6 #define UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 // This class explicitly does NOT store the active window in a window property | 54 // This class explicitly does NOT store the active window in a window property |
| 55 // to make sure that ActivationChangeObserver is not treated as part of the | 55 // to make sure that ActivationChangeObserver is not treated as part of the |
| 56 // aura API. Assumptions to that end will cause tests that use this client to | 56 // aura API. Assumptions to that end will cause tests that use this client to |
| 57 // fail. | 57 // fail. |
| 58 std::vector<aura::Window*> active_windows_; | 58 std::vector<aura::Window*> active_windows_; |
| 59 | 59 |
| 60 // The window which was active before the currently active one. | 60 // The window which was active before the currently active one. |
| 61 aura::Window* last_active_; | 61 aura::Window* last_active_; |
| 62 | 62 |
| 63 ObserverList<aura::client::ActivationChangeObserver> observers_; | 63 base::ObserverList<aura::client::ActivationChangeObserver> observers_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(DefaultActivationClient); | 65 DISALLOW_COPY_AND_ASSIGN(DefaultActivationClient); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace wm | 68 } // namespace wm |
| 69 | 69 |
| 70 #endif // UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_ | 70 #endif // UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_ |
| OLD | NEW |