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

Unified Diff: ash/common/wm/overview/window_selector.cc

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 (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
Index: ash/common/wm/overview/window_selector.cc
diff --git a/ash/common/wm/overview/window_selector.cc b/ash/common/wm/overview/window_selector.cc
index 02eaa3071347db626a20e7925db8606e6f7318da..d4ec09adaf2ddb930dc336d92a3369526711a1db 100644
--- a/ash/common/wm/overview/window_selector.cc
+++ b/ash/common/wm/overview/window_selector.cc
@@ -476,6 +476,10 @@ void WindowSelector::SelectWindow(WmWindow* window) {
window->GetWindowState()->Activate();
}
+void WindowSelector::HideCurrentSelector() {
+ grid_list_[selected_grid_index_]->HideSelector();
+}
+
bool WindowSelector::HandleKeyEvent(views::Textfield* sender,
const ui::KeyEvent& key_event) {
if (key_event.type() != ui::ET_KEY_PRESSED)

Powered by Google App Engine
This is Rietveld 408576698