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

Side by Side Diff: ash/desktop_background/desktop_background_controller.cc

Issue 2074213002: mash: Move ash_switches.* to ash/common; cleanup DEPS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix broken relative include. Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/desktop_background/desktop_background_controller.h" 5 #include "ash/desktop_background/desktop_background_controller.h"
6 6
7 #include "ash/ash_switches.h"
8 #include "ash/aura/wm_window_aura.h" 7 #include "ash/aura/wm_window_aura.h"
8 #include "ash/common/ash_switches.h"
9 #include "ash/common/shell_window_ids.h" 9 #include "ash/common/shell_window_ids.h"
10 #include "ash/common/wm/root_window_layout_manager.h" 10 #include "ash/common/wm/root_window_layout_manager.h"
11 #include "ash/common/wm_shell.h" 11 #include "ash/common/wm_shell.h"
12 #include "ash/desktop_background/desktop_background_controller_observer.h" 12 #include "ash/desktop_background/desktop_background_controller_observer.h"
13 #include "ash/desktop_background/desktop_background_view.h" 13 #include "ash/desktop_background/desktop_background_view.h"
14 #include "ash/desktop_background/desktop_background_widget_controller.h" 14 #include "ash/desktop_background/desktop_background_widget_controller.h"
15 #include "ash/desktop_background/user_wallpaper_delegate.h" 15 #include "ash/desktop_background/user_wallpaper_delegate.h"
16 #include "ash/display/display_info.h" 16 #include "ash/display/display_info.h"
17 #include "ash/display/display_manager.h" 17 #include "ash/display/display_manager.h"
18 #include "ash/root_window_controller.h" 18 #include "ash/root_window_controller.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 : kShellWindowId_DesktopBackgroundContainer; 284 : kShellWindowId_DesktopBackgroundContainer;
285 } 285 }
286 286
287 void DesktopBackgroundController::UpdateWallpaper(bool clear_cache) { 287 void DesktopBackgroundController::UpdateWallpaper(bool clear_cache) {
288 current_wallpaper_.reset(NULL); 288 current_wallpaper_.reset(NULL);
289 ash::Shell::GetInstance()->user_wallpaper_delegate()->UpdateWallpaper( 289 ash::Shell::GetInstance()->user_wallpaper_delegate()->UpdateWallpaper(
290 clear_cache); 290 clear_cache);
291 } 291 }
292 292
293 } // namespace ash 293 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698