Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: ash/common/wm/overview/window_selector.h

Issue 2111643004: [ash-md] Adjusts animation of the selector after closing an overview item (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Adjusts animation of the selector after closing an overview item (more comments) Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/overview/window_selector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 // Called when |window| is about to get closed.
68 void WindowClosing(WindowSelectorItem* window);
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
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_
OLDNEW
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698