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

Unified Diff: ash/desktop_background/desktop_background_view.cc

Issue 2271373002: mash: Port mojo:ash_sysui's ContextMenuMus to mojo:ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: ash/desktop_background/desktop_background_view.cc
diff --git a/ash/desktop_background/desktop_background_view.cc b/ash/desktop_background/desktop_background_view.cc
index be85e5e6c455a2eee9371ae8a9dff93a4aca2cc5..0884b5e551145f980eed5a58068419dd77ea979b 100644
--- a/ash/desktop_background/desktop_background_view.cc
+++ b/ash/desktop_background/desktop_background_view.cc
@@ -7,12 +7,12 @@
#include "ash/aura/wm_window_aura.h"
#include "ash/common/display/display_info.h"
#include "ash/common/session/session_state_delegate.h"
+#include "ash/common/wallpaper/wallpaper_delegate.h"
#include "ash/common/wm/overview/window_selector_controller.h"
#include "ash/common/wm_lookup.h"
#include "ash/common/wm_shell.h"
#include "ash/desktop_background/desktop_background_controller.h"
#include "ash/desktop_background/desktop_background_widget_controller.h"
-#include "ash/desktop_background/user_wallpaper_delegate.h"
#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "ui/display/display.h"
@@ -191,8 +191,7 @@ views::Widget* CreateDesktopBackground(WmWindow* root_window,
aura::Window* aura_root_window = WmWindowAura::GetAuraWindow(root_window);
DesktopBackgroundController* controller =
Shell::GetInstance()->desktop_background_controller();
- UserWallpaperDelegate* wallpaper_delegate =
- Shell::GetInstance()->user_wallpaper_delegate();
+ WallpaperDelegate* wallpaper_delegate = WmShell::Get()->wallpaper_delegate();
views::Widget* desktop_widget = new views::Widget;
views::Widget::InitParams params(

Powered by Google App Engine
This is Rietveld 408576698