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

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

Issue 11316305: Remove wallpaper thumbnail related c++ code. Thumbnail is now generated by javascript. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « no previous file | 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 6ec6b1080a3544b13d09823c78aa8d750499c96b..0c7f8cce140a8dffe4d034cd41d8b5a4f4344d56 100644
--- a/chrome/browser/chromeos/login/wallpaper_manager.h
+++ b/chrome/browser/chromeos/login/wallpaper_manager.h
@@ -91,9 +91,6 @@ class WallpaperManager: public system::TimezoneSettings::Observer,
FilePath GetWallpaperPathForUser(const std::string& username,
bool is_small);
- // Gets the thumbnail of custom wallpaper from cache.
- gfx::ImageSkia GetCustomWallpaperThumbnail(const std::string& email);
-
// Gets wallpaper information of logged in user.
bool GetLoggedInUserWallpaperInfo(WallpaperInfo* info);
@@ -186,10 +183,6 @@ class WallpaperManager: public system::TimezoneSettings::Observer,
// Caches |email|'s wallpaper to memory.
void CacheUserWallpaper(const std::string& email);
- // Generates a 128x80 thumbnail and caches it.
- void CacheThumbnail(const std::string& email,
- scoped_ptr<gfx::ImageSkia> wallpaper);
-
// Clears all obsolete wallpaper prefs from old version wallpaper pickers.
void ClearObsoleteWallpaperPrefs();
@@ -205,11 +198,6 @@ class WallpaperManager: public system::TimezoneSettings::Observer,
const WallpaperInfo& info,
bool update_wallpaper);
- // Generates a 128x80 thumbnail.
- void GenerateUserWallpaperThumbnail(const std::string& email,
- User::WallpaperType type,
- const gfx::ImageSkia& wallpaper);
-
// Gets |email|'s custom wallpaper at |wallpaper_path|. Falls back on original
// custom wallpaper. When |update_wallpaper| is true, sets wallpaper to the
// loaded wallpaper. Must run on FILE thread.
@@ -301,8 +289,6 @@ class WallpaperManager: public system::TimezoneSettings::Observer,
// Caches wallpapers of users. Accessed only on UI thread.
CustomWallpaperMap wallpaper_cache_;
- CustomWallpaperMap custom_wallpaper_thumbnail_cache_;
-
// The last selected user on user pod row.
std::string last_selected_user_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/wallpaper_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698