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

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

Issue 802473003: Fix references to ui/gfx headers in a*/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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" 7 #include "ash/ash_switches.h"
8 #include "ash/desktop_background/desktop_background_controller_observer.h" 8 #include "ash/desktop_background/desktop_background_controller_observer.h"
9 #include "ash/desktop_background/desktop_background_view.h" 9 #include "ash/desktop_background/desktop_background_view.h"
10 #include "ash/desktop_background/desktop_background_widget_controller.h" 10 #include "ash/desktop_background/desktop_background_widget_controller.h"
(...skipping 10 matching lines...) Expand all
21 #include "base/files/file_util.h" 21 #include "base/files/file_util.h"
22 #include "base/logging.h" 22 #include "base/logging.h"
23 #include "base/synchronization/cancellation_flag.h" 23 #include "base/synchronization/cancellation_flag.h"
24 #include "base/threading/worker_pool.h" 24 #include "base/threading/worker_pool.h"
25 #include "components/wallpaper/wallpaper_resizer.h" 25 #include "components/wallpaper/wallpaper_resizer.h"
26 #include "content/public/browser/browser_thread.h" 26 #include "content/public/browser/browser_thread.h"
27 #include "ui/aura/window.h" 27 #include "ui/aura/window.h"
28 #include "ui/aura/window_event_dispatcher.h" 28 #include "ui/aura/window_event_dispatcher.h"
29 #include "ui/compositor/layer.h" 29 #include "ui/compositor/layer.h"
30 #include "ui/gfx/codec/jpeg_codec.h" 30 #include "ui/gfx/codec/jpeg_codec.h"
31 #include "ui/gfx/geometry/rect.h"
31 #include "ui/gfx/image/image_skia.h" 32 #include "ui/gfx/image/image_skia.h"
32 #include "ui/gfx/rect.h"
33 #include "ui/views/widget/widget.h" 33 #include "ui/views/widget/widget.h"
34 34
35 using content::BrowserThread; 35 using content::BrowserThread;
36 using wallpaper::WallpaperResizer; 36 using wallpaper::WallpaperResizer;
37 using wallpaper::WallpaperLayout; 37 using wallpaper::WallpaperLayout;
38 using wallpaper::WALLPAPER_LAYOUT_CENTER; 38 using wallpaper::WALLPAPER_LAYOUT_CENTER;
39 using wallpaper::WALLPAPER_LAYOUT_CENTER_CROPPED; 39 using wallpaper::WALLPAPER_LAYOUT_CENTER_CROPPED;
40 using wallpaper::WALLPAPER_LAYOUT_STRETCH; 40 using wallpaper::WALLPAPER_LAYOUT_STRETCH;
41 using wallpaper::WALLPAPER_LAYOUT_TILE; 41 using wallpaper::WALLPAPER_LAYOUT_TILE;
42 42
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 : kShellWindowId_DesktopBackgroundContainer; 275 : kShellWindowId_DesktopBackgroundContainer;
276 } 276 }
277 277
278 void DesktopBackgroundController::UpdateWallpaper() { 278 void DesktopBackgroundController::UpdateWallpaper() {
279 current_wallpaper_.reset(NULL); 279 current_wallpaper_.reset(NULL);
280 ash::Shell::GetInstance()->user_wallpaper_delegate()-> 280 ash::Shell::GetInstance()->user_wallpaper_delegate()->
281 UpdateWallpaper(true /* clear cache */); 281 UpdateWallpaper(true /* clear cache */);
282 } 282 }
283 283
284 } // namespace ash 284 } // namespace ash
OLDNEW
« no previous file with comments | « ash/autoclick/autoclick_controller.cc ('k') | ash/desktop_background/desktop_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698