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

Unified Diff: ash/wm/app_list_controller.cc

Issue 21592003: app_list: Show apps grid after installing from cws result. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/wm/app_list_controller.cc
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc
index 45a6bcf2fa30d3847bdeba1555f109029e7590f1..8c462bc5eb713e83937816566c220468c38a4f5a 100644
--- a/ash/wm/app_list_controller.cc
+++ b/ash/wm/app_list_controller.cc
@@ -4,6 +4,8 @@
#include "ash/wm/app_list_controller.h"
+#include <algorithm>
+
benwells 2013/08/01 22:53:12 Nit: Why the new include? Is it for iwyu for exist
xiyuan 2013/08/01 23:18:28 Yep, it's for the std::min/max in existing code. R
#include "ash/ash_switches.h"
#include "ash/launcher/launcher.h"
#include "ash/root_window_controller.h"
@@ -209,6 +211,11 @@ void AppListController::SetDragAndDropHostOfCurrentAppList(
view_->SetDragAndDropHostOfCurrentAppList(drag_and_drop_host);
}
+void AppListController::ShowAppsGrid() {
+ if (view_ && is_visible_)
+ view_->ShowAppsGrid();
+}
+
////////////////////////////////////////////////////////////////////////////////
// AppListController, private:

Powered by Google App Engine
This is Rietveld 408576698