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

Unified Diff: ash/common/wm/overview/window_grid.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/common/wm/overview/window_grid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/overview/window_grid.h
diff --git a/ash/common/wm/overview/window_grid.h b/ash/common/wm/overview/window_grid.h
index 9a3202713b1ca00068b75b07b4e43f7736490e9c..04b8b9e150c393b8e445aca3354bd5625f32b183 100644
--- a/ash/common/wm/overview/window_grid.h
+++ b/ash/common/wm/overview/window_grid.h
@@ -91,6 +91,11 @@ class ASH_EXPORT WindowGrid : public WmWindowObserver {
// If |pattern| is empty, no item is dimmed.
void FilterItems(const base::string16& pattern);
+ // Called when |window| is about to get closed. If the |window| is currently
+ // selected the implementation fades out |selection_widget_| to transparent
+ // opacity, effectively hiding the selector widget.
+ void WindowClosing(WindowSelectorItem* window);
+
// Returns true if the grid has no more windows.
bool empty() const { return window_list_.empty(); }
« no previous file with comments | « no previous file | ash/common/wm/overview/window_grid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698