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

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

Issue 48903013: Merge 232142 "Revert 230138 "Delay wallpaper load by 2 * average..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1685/src/
Patch Set: Created 7 years, 2 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: chrome/browser/chromeos/login/wallpaper_manager.cc
===================================================================
--- chrome/browser/chromeos/login/wallpaper_manager.cc (revision 232150)
+++ chrome/browser/chromeos/login/wallpaper_manager.cc (working copy)
@@ -312,7 +312,6 @@
break;
}
case chrome::NOTIFICATION_WALLPAPER_ANIMATION_FINISHED: {
- NotifyAnimationFinished();
if (should_cache_wallpaper_) {
BrowserThread::PostDelayedTask(
BrowserThread::UI, FROM_HERE,
@@ -606,19 +605,6 @@
SetUserWallpaper(last_selected_user_);
}
-void WallpaperManager::AddObserver(WallpaperManager::Observer* observer) {
- observers_.AddObserver(observer);
-}
-
-void WallpaperManager::RemoveObserver(WallpaperManager::Observer* observer) {
- observers_.RemoveObserver(observer);
-}
-
-void WallpaperManager::NotifyAnimationFinished() {
- FOR_EACH_OBSERVER(
- Observer, observers_, OnWallpaperAnimationFinished(last_selected_user_));
-}
-
// WallpaperManager, private: --------------------------------------------------
void WallpaperManager::CacheUsersWallpapers() {
« no previous file with comments | « chrome/browser/chromeos/login/wallpaper_manager.h ('k') | chrome/browser/resources/chromeos/login/screen_account_picker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698