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

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: Address reveiw and auto select the current wallpaper thumbnail when select wallpaper overlay shows. 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..799f1e9bf5cb88b6bd9e36b066615941a3e41a11
--- /dev/null
+++ b/ash/desktop_background/desktop_background_resources.h
@@ -0,0 +1,26 @@
+// 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 {
+
+namespace internal {
+ extern const int kDefaultWallpaperResources[];
+ extern const int kDefaultWallpaperResourcesThumb[];
+ extern const int kDefaultWallpaperCount;
+ extern const int kPresetWallpaperIndex;
+}
+
+int GetPresetWallpaperIndex();
+int GetWallpaperCount();
+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