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

Unified Diff: ash/root_window_controller.cc

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Rebased to fix merge conflicts and addressed comments. Created 3 years, 7 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: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index f99da864a762656e81e0586a7e9525f73cb12066..06b6073550aa25c3cda3a870e324ccda62bbacc9 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -908,6 +908,12 @@ void RootWindowController::CreateContainers() {
wm::SetSnapsChildrenToPhysicalPixelBoundary(always_on_top_container);
always_on_top_container->SetProperty(kUsesScreenCoordinatesKey, true);
+ aura::Window* app_list_container =
+ CreateContainer(kShellWindowId_AppListContainer, "AppListContainer",
sky 2017/05/31 15:04:17 shell_window_ids is meant to contain the relative
newcomer 2017/06/01 01:42:54 Done.
+ non_lock_screen_containers);
+ wm::SetSnapsChildrenToPhysicalPixelBoundary(app_list_container);
+ app_list_container->SetProperty(kUsesScreenCoordinatesKey, true);
+
aura::Window* shelf_container =
CreateContainer(kShellWindowId_ShelfContainer, "ShelfContainer",
non_lock_screen_containers);
@@ -928,12 +934,6 @@ void RootWindowController::CreateContainers() {
shelf_bubble_container->SetProperty(kUsesScreenCoordinatesKey, true);
shelf_bubble_container->SetProperty(kLockedToRootKey, true);
- aura::Window* app_list_container =
- CreateContainer(kShellWindowId_AppListContainer, "AppListContainer",
- non_lock_screen_containers);
- wm::SetSnapsChildrenToPhysicalPixelBoundary(app_list_container);
- app_list_container->SetProperty(kUsesScreenCoordinatesKey, true);
-
aura::Window* modal_container =
CreateContainer(kShellWindowId_SystemModalContainer,
"SystemModalContainer", non_lock_screen_containers);

Powered by Google App Engine
This is Rietveld 408576698