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

Unified Diff: ash/desktop_background/desktop_background_resources.h

Issue 9580023: Enable user change background image in settings page in Aura build. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Save user choosed index to local state Created 8 years, 9 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_resources.h
diff --git a/ash/desktop_background/desktop_background_resources.h b/ash/desktop_background/desktop_background_resources.h
new file mode 100644
index 0000000000000000000000000000000000000000..1df52e08c4757bc6890619bd65f8a30e3e90b14d
--- /dev/null
+++ b/ash/desktop_background/desktop_background_resources.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_RESOURCES_H_
+#define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_RESOURCES_H_
+
+class SkBitmap;
+
+namespace ash {
+
+// This probably needs to put to another place. But I am not sure where is the
+// best place. It's basically util function which used both by ash and by
+// webui handler.
+extern const int kDefaultWallpaperResources[];
+extern const int kDefaultWallpaperResourcesThumb[];
+extern const int kDefaultWallpaperCount;
+
+const SkBitmap& GetDefaultWallpaper(int index);
+const SkBitmap& GetDefaultWallpaperThumbnail(int index);
+
+} // namespace ash
+
+#endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_RESOURCES_H_

Powered by Google App Engine
This is Rietveld 408576698