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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_presenter_delegate_mus.cc

Issue 2939693004: Added HALF, FULLSCREEN_ALL_APPS, and FULLSCREEN_SEARCH. (Closed)
Patch Set: rebased post revert. Created 3 years, 6 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 | « ash/app_list/app_list_presenter_delegate_unittest.cc ('k') | ui/app_list/demo/app_list_demo_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/app_list/app_list_presenter_delegate_mus.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_presenter_delegate_mus.cc b/chrome/browser/ui/ash/app_list/app_list_presenter_delegate_mus.cc
index d82621be9f3a6d740d53277ee13bfedce35e77fb..5edc28ce48d3c93e5346ffeedde42294cb14f9cd 100644
--- a/chrome/browser/ui/ash/app_list/app_list_presenter_delegate_mus.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_presenter_delegate_mus.cc
@@ -57,14 +57,15 @@ void AppListPresenterDelegateMus::Init(app_list::AppListView* view,
int64_t display_id,
int current_apps_page) {
view_ = view;
-
+ // TODO(newcomer): replace Initialize parameters with proper mus
+ // implementation as per crbug.com/726838
// Note: This would place the app list into the USER_WINDOWS container, unlike
// in classic ash, where it has it's own container.
// TODO(mfomitchev): We are currently passing NULL for |parent|. It seems like
// the only thing this is used for is choosing the right scale factor in
// AppListMainView::PreloadIcons(), so we take care of that - perhaps by
// passing the display_id or the scale factor directly
- view->Initialize(nullptr /* parent */, current_apps_page);
+ view->Initialize(nullptr /* parent */, current_apps_page, false, false);
view->MaybeSetAnchorPoint(
GetCenterOfDisplay(display_id, GetMinimumBoundsHeightForAppList(view)));
« no previous file with comments | « ash/app_list/app_list_presenter_delegate_unittest.cc ('k') | ui/app_list/demo/app_list_demo_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698