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/wm/app_list_controller.cc

Issue 23526030: [ash] Update applist button status when applist is hiding by outside event of applist button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Makes change applist button status when applist visiblity is changed Created 7 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/app_list_controller.cc
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc
index b142288ab9b1d974df150677891d8ce67086808e..a8a90c5161c97190e94b768d73a29bedcad30af7 100644
--- a/ash/wm/app_list_controller.cc
+++ b/ash/wm/app_list_controller.cc
@@ -200,6 +200,8 @@ void AppListController::SetVisible(bool visible, aura::Window* window) {
Launcher::ForWindow(window)->GetDragAndDropHostForAppList());
}
}
+ // Update applist button status when app list visibility is changed.
+ Launcher::ForWindow(window)->GetAppListButtonView()->SchedulePaint();
}
bool AppListController::IsVisible() const {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698