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

Unified Diff: ash/desktop_background/desktop_background_controller.h

Issue 10883062: Resize and save custom wallpaper to large and small size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reviews 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_controller.h
diff --git a/ash/desktop_background/desktop_background_controller.h b/ash/desktop_background/desktop_background_controller.h
index 3d2c919d41e95bbbc943ff29d933c80b05a262ae..3815694ab62ed9ff5e8c5bdea26278871adf5c5c 100644
--- a/ash/desktop_background/desktop_background_controller.h
+++ b/ash/desktop_background/desktop_background_controller.h
@@ -24,6 +24,15 @@ class RootWindow;
namespace ash {
+// The width and height of small/large resolution wallpaper. When screen size is
+// smaller than kSmallWallpaperMaxWidth and kSmallWallpaperMaxHeight, the small
Ivan Korotkov 2012/08/30 10:53:15 vars in |...|
bshe 2012/08/30 16:39:02 Done.
+// resolution wallpaper should be used. Otherwise, uses the large resolution
+// wallpaper.
+ASH_EXPORT extern const int kSmallWallpaperMaxWidth;
+ASH_EXPORT extern const int kSmallWallpaperMaxHeight;
+ASH_EXPORT extern const int kLargeWallpaperMaxWidth;
+ASH_EXPORT extern const int kLargeWallpaperMaxHeight;
+
class UserWallpaperDelegate {
public:
virtual ~UserWallpaperDelegate() {}
« no previous file with comments | « no previous file | ash/desktop_background/desktop_background_controller.cc » ('j') | chrome/browser/chromeos/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698