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

Unified Diff: ash/app_list/app_list_presenter_delegate.cc

Issue 2802903003: Implementation of a full screen app list and re-alphabetized switches (Closed)
Patch Set: fixed some formatting/whitespace errors. 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
« no previous file with comments | « no previous file | ash/common/ash_switches.h » ('j') | ash/common/ash_switches.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/app_list/app_list_presenter_delegate.cc
diff --git a/ash/app_list/app_list_presenter_delegate.cc b/ash/app_list/app_list_presenter_delegate.cc
index cfc805f068293fcd87ad6401d4306f105fd56891..f4e321b69996df171a7a016666a3314d2a7e5b88 100644
--- a/ash/app_list/app_list_presenter_delegate.cc
+++ b/ash/app_list/app_list_presenter_delegate.cc
@@ -99,10 +99,11 @@ void AppListPresenterDelegate::Init(app_list::AppListView* view,
aura::Window* root_window = wm_root_window->aura_window();
aura::Window* container = GetRootWindowController(root_window)
->GetContainer(kShellWindowId_AppListContainer);
- view->InitAsBubble(container, current_apps_page);
- // The app list is centered over the display.
- view->SetAnchorPoint(GetCenterOfDisplayForWindow(
- wm_root_window, GetMinimumBoundsHeightForAppList(view)));
+ view->InitializeWindow(
vadimt 2017/04/10 19:40:10 Please talk to Now people (I'll provide contacts)
newcomer 2017/04/13 21:13:59 We are waiting to hear back from travis.
+ container, current_apps_page,
+ GetCenterOfDisplayForWindow(wm_root_window,
+ GetMinimumBoundsHeightForAppList(view)),
newcomer 2017/04/10 16:43:22 Moved view->SetAnchorPoint into the Initialize Win
+ ash::ScreenUtil::GetDisplayWorkAreaBoundsInParent(container));
keyboard::KeyboardController* keyboard_controller =
keyboard::KeyboardController::GetInstance();
« no previous file with comments | « no previous file | ash/common/ash_switches.h » ('j') | ash/common/ash_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698