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

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: Created 4 years, 6 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..7dea935316ecdb2ed438473f1de56d37c77eb2a1 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::SetSelectorOpacity(float opacity) {
+ grid_list_[selected_grid_index_]->SetSelectorOpacity(opacity);
+}
+
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