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

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

Issue 2802903003: Implementation of a full screen app list and re-alphabetized switches (Closed)
Patch Set: Addressed comments, added my tests to the filter, and refactored! Created 3 years, 8 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/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 1ca9e18149bbec2de5007e4ed65cefface2e084a..d82621be9f3a6d740d53277ee13bfedce35e77fb 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
@@ -64,8 +64,9 @@ void AppListPresenterDelegateMus::Init(app_list::AppListView* view,
// 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->InitAsBubble(nullptr /* parent */, current_apps_page);
- view->SetAnchorPoint(
+ view->Initialize(nullptr /* parent */, current_apps_page);
+
+ view->MaybeSetAnchorPoint(
GetCenterOfDisplay(display_id, GetMinimumBoundsHeightForAppList(view)));
// TODO(mfomitchev): Setup updating bounds on keyboard bounds change.

Powered by Google App Engine
This is Rietveld 408576698