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_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ | 5 #ifndef ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ |
6 #define ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ | 6 #define ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 // Cancels window selection. | 58 // Cancels window selection. |
59 void CancelSelection(); | 59 void CancelSelection(); |
60 | 60 |
61 // Called when the last window selector item from a grid is deleted. | 61 // Called when the last window selector item from a grid is deleted. |
62 void OnGridEmpty(WindowGrid* grid); | 62 void OnGridEmpty(WindowGrid* grid); |
63 | 63 |
64 // Activates |window|. | 64 // Activates |window|. |
65 void SelectWindow(WmWindow* window); | 65 void SelectWindow(WmWindow* window); |
66 | 66 |
| 67 // Animates selector widget of the currently selected grid to be transparent. |
| 68 void HideCurrentSelector(); |
| 69 |
67 bool restoring_minimized_windows() const { | 70 bool restoring_minimized_windows() const { |
68 return restoring_minimized_windows_; | 71 return restoring_minimized_windows_; |
69 } | 72 } |
70 | 73 |
71 int text_filter_bottom() { return text_filter_bottom_; } | 74 int text_filter_bottom() { return text_filter_bottom_; } |
72 | 75 |
73 // display::DisplayObserver: | 76 // display::DisplayObserver: |
74 void OnDisplayAdded(const display::Display& display) override; | 77 void OnDisplayAdded(const display::Display& display) override; |
75 void OnDisplayRemoved(const display::Display& display) override; | 78 void OnDisplayRemoved(const display::Display& display) override; |
76 void OnDisplayMetricsChanged(const display::Display& display, | 79 void OnDisplayMetricsChanged(const display::Display& display, |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 // The distance between the top edge of the screen and the bottom edge of | 178 // The distance between the top edge of the screen and the bottom edge of |
176 // the text filtering textfield. | 179 // the text filtering textfield. |
177 int text_filter_bottom_; | 180 int text_filter_bottom_; |
178 | 181 |
179 DISALLOW_COPY_AND_ASSIGN(WindowSelector); | 182 DISALLOW_COPY_AND_ASSIGN(WindowSelector); |
180 }; | 183 }; |
181 | 184 |
182 } // namespace ash | 185 } // namespace ash |
183 | 186 |
184 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ | 187 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ |
OLD | NEW |