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

Unified Diff: chrome/browser/ui/app_list/app_list_view_delegate.h

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: 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: chrome/browser/ui/app_list/app_list_view_delegate.h
diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.h b/chrome/browser/ui/app_list/app_list_view_delegate.h
index 1eb50ba929266252317277b68ec9eed3c40478db..acddc0579ef31c4c1c4ad54292bcbb6fb09d9c69 100644
--- a/chrome/browser/ui/app_list/app_list_view_delegate.h
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.h
@@ -104,6 +104,8 @@ class AppListViewDelegate : public app_list::AppListViewDelegate,
void RemoveObserver(app_list::AppListViewDelegateObserver* observer) override;
private:
+ class LauncherPageEventDispatcher;
+
// Updates the speech webview and start page for the current |profile_|.
void SetUpSearchUI();
@@ -178,6 +180,7 @@ class AppListViewDelegate : public app_list::AppListViewDelegate,
// Window contents of additional custom launcher pages.
ScopedVector<apps::CustomLauncherPageContents> custom_page_contents_;
+ scoped_ptr<LauncherPageEventDispatcher> launcher_page_event_dispatcher_;
// Registers for NOTIFICATION_APP_TERMINATING to unload custom launcher pages.
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698