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

Unified Diff: ash/desktop_background/desktop_background_resources.h

Issue 10829178: Revert 149915 - Use low resolution wallpapers for small screens (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
Index: ash/desktop_background/desktop_background_resources.h
===================================================================
--- ash/desktop_background/desktop_background_resources.h (revision 149939)
+++ ash/desktop_background/desktop_background_resources.h (working copy)
@@ -19,21 +19,10 @@
TILE,
};
-enum WallpaperResolution {
- LARGE,
- SMALL
-};
-
-// Encapsulates wallpaper infomation needed by desktop background view.
-struct ASH_EXPORT WallpaperViewInfo {
- int id;
- WallpaperLayout layout;
-};
-
struct ASH_EXPORT WallpaperInfo {
- WallpaperViewInfo large;
- WallpaperViewInfo small;
+ int id;
int thumb_id;
+ WallpaperLayout layout;
// TODO(bshe): author member should be encoded to UTF16. We need to use i18n
// string for this member after M19.
const char* author;
@@ -50,8 +39,6 @@
ASH_EXPORT int GetSolidColorIndex();
ASH_EXPORT int GetWallpaperCount();
ASH_EXPORT const WallpaperInfo& GetWallpaperInfo(int index);
-ASH_EXPORT const WallpaperViewInfo& GetWallpaperViewInfo(int index,
- WallpaperResolution resolution);
} // namespace ash
« no previous file with comments | « ash/desktop_background/desktop_background_controller.cc ('k') | ash/desktop_background/desktop_background_resources.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698