| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 // Perform cleanup that cannot be done in the destructor. | 55 // Perform cleanup that cannot be done in the destructor. |
| 56 void Shutdown(); | 56 void Shutdown(); |
| 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 |item's| window. |
| 65 void SelectWindow(WmWindow* window); | 65 void SelectWindow(WindowSelectorItem* item); |
| 66 | 66 |
| 67 // Called when |window| is about to get closed. | 67 // Called when |window| is about to get closed. |
| 68 void WindowClosing(WindowSelectorItem* window); | 68 void WindowClosing(WindowSelectorItem* window); |
| 69 | 69 |
| 70 WindowSelectorDelegate* delegate() { return delegate_; } | 70 WindowSelectorDelegate* delegate() { return delegate_; } |
| 71 | 71 |
| 72 bool restoring_minimized_windows() const { | 72 bool restoring_minimized_windows() const { |
| 73 return restoring_minimized_windows_; | 73 return restoring_minimized_windows_; |
| 74 } | 74 } |
| 75 | 75 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 int text_filter_bottom_; | 184 int text_filter_bottom_; |
| 185 | 185 |
| 186 bool is_shut_down_ = false; | 186 bool is_shut_down_ = false; |
| 187 | 187 |
| 188 DISALLOW_COPY_AND_ASSIGN(WindowSelector); | 188 DISALLOW_COPY_AND_ASSIGN(WindowSelector); |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 } // namespace ash | 191 } // namespace ash |
| 192 | 192 |
| 193 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ | 193 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ |
| OLD | NEW |