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

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

Issue 2141133002: [ash-md] Animates overview shield in and out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Completes shield opacity animation after overview closes (nits) 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 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_; }
71
70 bool restoring_minimized_windows() const { 72 bool restoring_minimized_windows() const {
71 return restoring_minimized_windows_; 73 return restoring_minimized_windows_;
72 } 74 }
73 75
74 int text_filter_bottom() { return text_filter_bottom_; } 76 int text_filter_bottom() { return text_filter_bottom_; }
75 77
76 // display::DisplayObserver: 78 // display::DisplayObserver:
77 void OnDisplayAdded(const display::Display& display) override; 79 void OnDisplayAdded(const display::Display& display) override;
78 void OnDisplayRemoved(const display::Display& display) override; 80 void OnDisplayRemoved(const display::Display& display) override;
79 void OnDisplayMetricsChanged(const display::Display& display, 81 void OnDisplayMetricsChanged(const display::Display& display,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // The distance between the top edge of the screen and the bottom edge of 180 // The distance between the top edge of the screen and the bottom edge of
179 // the text filtering textfield. 181 // the text filtering textfield.
180 int text_filter_bottom_; 182 int text_filter_bottom_;
181 183
182 DISALLOW_COPY_AND_ASSIGN(WindowSelector); 184 DISALLOW_COPY_AND_ASSIGN(WindowSelector);
183 }; 185 };
184 186
185 } // namespace ash 187 } // namespace ash
186 188
187 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ 189 #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