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

Unified Diff: ash/desktop_background/desktop_background_controller.h

Issue 10827368: ash: Avoid implicit conversion from ImageSkia into SkBitmap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | ash/desktop_background/desktop_background_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/desktop_background/desktop_background_controller.h
diff --git a/ash/desktop_background/desktop_background_controller.h b/ash/desktop_background/desktop_background_controller.h
index edcd803a2f28e923301e6f9e8ecced9e8feda304..048b8accb6dcb7ee87f73ca2a9a97005d4eaef9f 100644
--- a/ash/desktop_background/desktop_background_controller.h
+++ b/ash/desktop_background/desktop_background_controller.h
@@ -11,13 +11,13 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "third_party/skia/include/core/SkBitmap.h"
-#include "third_party/skia/include/core/SkColor.h"
#include "ui/aura/window.h"
#include "ui/aura/window_observer.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/image/image_skia.h"
+typedef unsigned int SkColor;
+
namespace aura {
class RootWindow;
}
@@ -69,9 +69,9 @@ class ASH_EXPORT DesktopBackgroundController : public aura::WindowObserver {
WallpaperLayout GetWallpaperLayout() const;
- // Provides current image on the background, or empty SkBitmap if there is
- // no image, e.g. background is solid color.
- SkBitmap GetCurrentWallpaperImage();
+ // Provides current image on the background, or empty gfx::ImageSkia if there
+ // is no image, e.g. background is solid color.
+ gfx::ImageSkia GetCurrentWallpaperImage();
// Initialize root window's background.
void OnRootWindowAdded(aura::RootWindow* root_window);
« no previous file with comments | « no previous file | ash/desktop_background/desktop_background_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698