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

Unified Diff: ash/wm/app_list_controller.cc

Issue 683703002: Notify launcher page with onTransitionChanged event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@launcher_page_api_show_state_notify
Patch Set: nullptr like it's 1999 Created 6 years, 2 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 382ad107a4803778194cd666e7823a2136f2b0ad..a3973c9f71526172401aaeb317c5a552337348de 100644
--- a/ash/wm/app_list_controller.cc
+++ b/ash/wm/app_list_controller.cc
@@ -15,6 +15,7 @@
#include "base/command_line.h"
#include "ui/app_list/app_list_constants.h"
#include "ui/app_list/app_list_switches.h"
+#include "ui/app_list/app_list_view_delegate.h"
#include "ui/app_list/pagination_model.h"
#include "ui/app_list/views/app_list_view.h"
#include "ui/aura/client/focus_client.h"
@@ -302,6 +303,8 @@ void AppListController::SetView(app_list::AppListView* view) {
view_->GetAppsPaginationModel()->AddObserver(this);
view_->ShowWhenReady();
+
+ Shell::GetInstance()->delegate()->GetAppListViewDelegate()->ViewInitialized();
}
void AppListController::ResetView() {
« no previous file with comments | « no previous file | athena/home/app_list_view_delegate.h » ('j') | chrome/browser/apps/custom_launcher_page_browsertest_views.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698