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

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

Issue 2840993002: Revert of Implementation of a full screen app list and re-alphabetized switches (Closed)
Patch Set: 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 d82621be9f3a6d740d53277ee13bfedce35e77fb..1ca9e18149bbec2de5007e4ed65cefface2e084a 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,9 +64,8 @@
// 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->MaybeSetAnchorPoint(
+ view->InitAsBubble(nullptr /* parent */, current_apps_page);
+ view->SetAnchorPoint(
GetCenterOfDisplay(display_id, GetMinimumBoundsHeightForAppList(view)));
// TODO(mfomitchev): Setup updating bounds on keyboard bounds change.
« no previous file with comments | « ash/app_list/app_list_presenter_delegate_unittest.cc ('k') | testing/buildbot/filters/ash_mus_unittests.filter » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698