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

Unified Diff: chrome/browser/chromeos/login/wallpaper_manager.h

Issue 11415015: Remove use of index in wallpaper picker code and some refactor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser tests Created 8 years, 1 month 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 | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/wallpaper_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/wallpaper_manager.h
diff --git a/chrome/browser/chromeos/login/wallpaper_manager.h b/chrome/browser/chromeos/login/wallpaper_manager.h
index 5200f707925f53fb3e923b39b6d072059431c3f7..b21359df80c52570e3d60118d77e100262c4ee24 100644
--- a/chrome/browser/chromeos/login/wallpaper_manager.h
+++ b/chrome/browser/chromeos/login/wallpaper_manager.h
@@ -7,7 +7,7 @@
#include <string>
-#include "ash/desktop_background/desktop_background_resources.h"
+#include "ash/desktop_background/desktop_background_controller.h"
#include "base/file_path.h"
#include "base/memory/ref_counted_memory.h"
#include "base/memory/weak_ptr.h"
@@ -122,8 +122,8 @@ class WallpaperManager: public system::TimezoneSettings::Observer,
User::WallpaperType type,
const UserImage& wallpaper);
- // Sets wallpaper to default wallpaper at |index|.
- void SetDefaultWallpaper(int index);
+ // Sets wallpaper to default wallpaper.
+ void SetDefaultWallpaper();
// Sets one of the default wallpapers for the specified user and saves this
// settings in local state.
@@ -141,9 +141,6 @@ class WallpaperManager: public system::TimezoneSettings::Observer,
// Sets |email|'s wallpaper.
void SetUserWallpaper(const std::string& email);
- // Sets the default wallpaper for the sign-in screen.
- void SetSigninWallpaper();
-
// Sets wallpaper to |wallpaper|.
void SetWallpaperFromImageSkia(const gfx::ImageSkia& wallpaper,
ash::WallpaperLayout layout);
@@ -286,9 +283,6 @@ class WallpaperManager: public system::TimezoneSettings::Observer,
// The file path of current loaded/loading custom/online wallpaper.
FilePath current_wallpaper_path_;
- // The index of current loaded/loading default wallpaper.
- int current_default_wallpaper_index_;
-
// Loads user wallpaper from its file.
scoped_refptr<UserImageLoader> wallpaper_loader_;
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/wallpaper_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698