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

Unified Diff: ash/root_window_controller.cc

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: 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 e45a86f1a8bee46e54f87c20bfd80cb9c0d40e7d..09996fc0dfe89d8cc587354e92b791cddbca98c7 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -904,6 +904,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);
@@ -927,13 +934,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