| 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 ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ | 5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ |
| 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ | 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 void OnDisplayAdded(const gfx::Display& display) override; | 95 void OnDisplayAdded(const gfx::Display& display) override; |
| 96 void OnDisplayRemoved(const gfx::Display& display) override; | 96 void OnDisplayRemoved(const gfx::Display& display) override; |
| 97 void OnDisplayMetricsChanged(const gfx::Display& display, | 97 void OnDisplayMetricsChanged(const gfx::Display& display, |
| 98 uint32_t metrics) override; | 98 uint32_t metrics) override; |
| 99 | 99 |
| 100 // aura::WindowObserver: | 100 // aura::WindowObserver: |
| 101 void OnWindowAdded(aura::Window* new_window) override; | 101 void OnWindowAdded(aura::Window* new_window) override; |
| 102 void OnWindowDestroying(aura::Window* window) override; | 102 void OnWindowDestroying(aura::Window* window) override; |
| 103 | 103 |
| 104 // aura::client::ActivationChangeObserver: | 104 // aura::client::ActivationChangeObserver: |
| 105 void OnWindowActivated(aura::Window* gained_active, | 105 void OnWindowActivated( |
| 106 aura::Window* lost_active) override; | 106 aura::client::ActivationChangeObserver::ActivationReason reason, |
| 107 aura::Window* gained_active, |
| 108 aura::Window* lost_active) override; |
| 107 void OnAttemptToReactivateWindow(aura::Window* request_active, | 109 void OnAttemptToReactivateWindow(aura::Window* request_active, |
| 108 aura::Window* actual_active) override; | 110 aura::Window* actual_active) override; |
| 109 | 111 |
| 110 // views::TextfieldController: | 112 // views::TextfieldController: |
| 111 void ContentsChanged(views::Textfield* sender, | 113 void ContentsChanged(views::Textfield* sender, |
| 112 const base::string16& new_contents) override; | 114 const base::string16& new_contents) override; |
| 113 bool HandleKeyEvent(views::Textfield* sender, | 115 bool HandleKeyEvent(views::Textfield* sender, |
| 114 const ui::KeyEvent& key_event) override; | 116 const ui::KeyEvent& key_event) override; |
| 115 | 117 |
| 116 private: | 118 private: |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 // Tracks whether minimized windows are currently being restored for overview | 186 // Tracks whether minimized windows are currently being restored for overview |
| 185 // mode. | 187 // mode. |
| 186 bool restoring_minimized_windows_; | 188 bool restoring_minimized_windows_; |
| 187 | 189 |
| 188 DISALLOW_COPY_AND_ASSIGN(WindowSelector); | 190 DISALLOW_COPY_AND_ASSIGN(WindowSelector); |
| 189 }; | 191 }; |
| 190 | 192 |
| 191 } // namespace ash | 193 } // namespace ash |
| 192 | 194 |
| 193 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ | 195 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ |
| OLD | NEW |