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

Unified Diff: ash/root_window_controller.cc

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Migrated from wm_shelf to shelf 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 fcd78182680b2e5d2ac8befd1292adb3fe3308b9..95f7e26c8a92513c0eb8ad2f712fac904d36fdde 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -901,6 +901,13 @@ void RootWindowController::CreateContainers() {
always_on_top_container->SetBoundsInScreenBehaviorForChildren(
WmWindow::BoundsInScreenBehavior::USE_SCREEN_COORDINATES);
+ WmWindow* app_list_container =
+ CreateContainer(kShellWindowId_AppListContainer, "AppListContainer",
+ non_lock_screen_containers);
+ app_list_container->SetSnapsChildrenToPhysicalPixelBoundary();
+ app_list_container->SetBoundsInScreenBehaviorForChildren(
+ WmWindow::BoundsInScreenBehavior::USE_SCREEN_COORDINATES);
+
WmWindow* shelf_container =
CreateContainer(kShellWindowId_ShelfContainer, "ShelfContainer",
non_lock_screen_containers);
@@ -924,13 +931,6 @@ void RootWindowController::CreateContainers() {
WmWindow::BoundsInScreenBehavior::USE_SCREEN_COORDINATES);
shelf_bubble_container->SetLockedToRoot(true);
- WmWindow* app_list_container =
- CreateContainer(kShellWindowId_AppListContainer, "AppListContainer",
- non_lock_screen_containers);
- app_list_container->SetSnapsChildrenToPhysicalPixelBoundary();
- app_list_container->SetBoundsInScreenBehaviorForChildren(
- WmWindow::BoundsInScreenBehavior::USE_SCREEN_COORDINATES);
-
WmWindow* modal_container =
CreateContainer(kShellWindowId_SystemModalContainer,
"SystemModalContainer", non_lock_screen_containers);

Powered by Google App Engine
This is Rietveld 408576698