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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // Cancels window selection. | 61 // Cancels window selection. |
62 void CancelSelection(); | 62 void CancelSelection(); |
63 | 63 |
64 // ui::EventHandler: | 64 // ui::EventHandler: |
65 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; | 65 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
66 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 66 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
67 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; | 67 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; |
68 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; | 68 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; |
69 | 69 |
70 // gfx::DisplayObserver: | 70 // gfx::DisplayObserver: |
| 71 virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; |
71 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; | 72 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; |
72 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; | 73 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; |
73 virtual void OnDisplayMetricsChanged(const gfx::Display& display, | |
74 uint32_t metrics) OVERRIDE; | |
75 | 74 |
76 // aura::WindowObserver: | 75 // aura::WindowObserver: |
77 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; | 76 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; |
78 virtual void OnWindowBoundsChanged(aura::Window* window, | 77 virtual void OnWindowBoundsChanged(aura::Window* window, |
79 const gfx::Rect& old_bounds, | 78 const gfx::Rect& old_bounds, |
80 const gfx::Rect& new_bounds) OVERRIDE; | 79 const gfx::Rect& new_bounds) OVERRIDE; |
81 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 80 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
82 | 81 |
83 // aura::client::ActivationChangeObserver: | 82 // aura::client::ActivationChangeObserver: |
84 virtual void OnWindowActivated(aura::Window* gained_active, | 83 virtual void OnWindowActivated(aura::Window* gained_active, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 // Tracks windows which were hidden because they were not part of the | 141 // Tracks windows which were hidden because they were not part of the |
143 // overview. | 142 // overview. |
144 aura::WindowTracker hidden_windows_; | 143 aura::WindowTracker hidden_windows_; |
145 | 144 |
146 DISALLOW_COPY_AND_ASSIGN(WindowSelector); | 145 DISALLOW_COPY_AND_ASSIGN(WindowSelector); |
147 }; | 146 }; |
148 | 147 |
149 } // namespace ash | 148 } // namespace ash |
150 | 149 |
151 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ | 150 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ |
OLD | NEW |