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

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

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
« 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
===================================================================
--- chrome/browser/chromeos/login/wallpaper_manager.h (revision 232150)
+++ chrome/browser/chromeos/login/wallpaper_manager.h (working copy)
@@ -12,7 +12,6 @@
#include "base/memory/ref_counted_memory.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "base/observer_list.h"
#include "base/threading/sequenced_worker_pool.h"
#include "base/time/time.h"
#include "chrome/browser/chromeos/login/user.h"
@@ -81,12 +80,6 @@
DISALLOW_COPY_AND_ASSIGN(TestApi);
};
- class Observer {
- public:
- virtual ~Observer() {}
- virtual void OnWallpaperAnimationFinished(const std::string& email) = 0;
- };
-
static WallpaperManager* Get();
WallpaperManager();
@@ -195,12 +188,6 @@
// current display's resolution.
void UpdateWallpaper();
- // Adds given observer to the list.
- void AddObserver(Observer* observer);
-
- // Removes given observer from the list.
- void RemoveObserver(Observer* observer);
-
private:
friend class TestApi;
friend class WallpaperManagerBrowserTest;
@@ -319,9 +306,6 @@
bool update_wallpaper,
const base::FilePath& wallpaper_path);
- // Notify all registed observers.
- void NotifyAnimationFinished();
-
// The number of loaded wallpapers.
int loaded_wallpapers_;
@@ -358,8 +342,6 @@
content::NotificationRegistrar registrar_;
- ObserverList<Observer> observers_;
-
DISALLOW_COPY_AND_ASSIGN(WallpaperManager);
};
« 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