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

Unified Diff: ui/app_list/views/app_list_main_view.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: fix mac compile Created 6 years, 1 month 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 | « ui/app_list/test/app_list_test_view_delegate.h ('k') | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_main_view.h
diff --git a/ui/app_list/views/app_list_main_view.h b/ui/app_list/views/app_list_main_view.h
index a87ae16f213f374064dc64f5e3a245b5d7d25c15..9f08b06bf2e95a7fd383e2d94eb7bddca29425d7 100644
--- a/ui/app_list/views/app_list_main_view.h
+++ b/ui/app_list/views/app_list_main_view.h
@@ -38,7 +38,6 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
public SearchBoxViewDelegate,
public SearchResultListViewDelegate {
public:
- // Takes ownership of |delegate|.
explicit AppListMainView(AppListViewDelegate* delegate);
~AppListMainView() override;
@@ -72,6 +71,7 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
return contents_switcher_view_;
}
AppListModel* model() { return model_; }
+ AppListViewDelegate* view_delegate() { return delegate_; }
// Returns true if the app list should be centered and in landscape mode.
bool ShouldCenterWindow() const;
« no previous file with comments | « ui/app_list/test/app_list_test_view_delegate.h ('k') | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698