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

Unified Diff: ash/common/wm/overview/window_grid.cc

Issue 2290473004: Rename ash desktop_background to wallpaper. (Closed)
Patch Set: Address comments. Created 4 years, 4 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 | « ash/common/shell_window_ids.h ('k') | ash/default_wallpaper_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/overview/window_grid.cc
diff --git a/ash/common/wm/overview/window_grid.cc b/ash/common/wm/overview/window_grid.cc
index bd4de0549b2f49611f0962d555f405457ac8f170..87d7e85a6be65d55afa2d666c007df63eaa33faf 100644
--- a/ash/common/wm/overview/window_grid.cc
+++ b/ash/common/wm/overview/window_grid.cc
@@ -352,12 +352,12 @@ views::Widget* CreateBackgroundWidget(WmWindow* root_window,
params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW;
params.accept_events = false;
widget->set_focus_on_creation(false);
- // Parenting in kShellWindowId_DesktopBackgroundContainer allows proper
- // layering of the shield and selection widgets. Since that container is
- // created with USE_LOCAL_COORDINATES BoundsInScreenBehavior local bounds in
- // |root_window_| need to be provided.
+ // Parenting in kShellWindowId_WallpaperContainer allows proper layering of
+ // the shield and selection widgets. Since that container is created with
+ // USE_LOCAL_COORDINATES BoundsInScreenBehavior local bounds in |root_window_|
+ // need to be provided.
root_window->GetRootWindowController()->ConfigureWidgetInitParamsForContainer(
- widget, kShellWindowId_DesktopBackgroundContainer, &params);
+ widget, kShellWindowId_WallpaperContainer, &params);
widget->Init(params);
WmWindow* widget_window = WmLookup::Get()->GetWindowForWidget(widget);
// Disable the "bounce in" animation when showing the window.
« no previous file with comments | « ash/common/shell_window_ids.h ('k') | ash/default_wallpaper_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698