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

Unified Diff: chrome/browser/chromeos/background/desktop_background_observer.h

Issue 9764012: Restore to user selected wallpaper after browser crash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review and fix a segfault when starting chrome after saving data to local state. Created 8 years, 9 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/background/desktop_background_observer.h
diff --git a/chrome/browser/chromeos/background/desktop_background_observer.h b/chrome/browser/chromeos/background/desktop_background_observer.h
index 2fcca77203b3fc6774aa7dfff4678c703e1a94a1..0efe9d5aac6334cd3799b13fc2a23f1a217a616c 100644
--- a/chrome/browser/chromeos/background/desktop_background_observer.h
+++ b/chrome/browser/chromeos/background/desktop_background_observer.h
@@ -9,18 +9,22 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+namespace ash {
+class UserWallpaperDelegate;
+}
+
namespace chromeos {
+ash::UserWallpaperDelegate* CreateUserWallpaperDelegate();
+
// Listens for background change events and passes them to the Aura shell's
// DesktopBackgroundController class.
-class DesktopBackgroundObserver : public content::NotificationObserver{
+class DesktopBackgroundObserver : public content::NotificationObserver {
public:
DesktopBackgroundObserver();
virtual ~DesktopBackgroundObserver();
private:
- // Returns the index of user selected wallpaper from a default wallpaper list.
- int GetUserWallpaperIndex();
// content::NotificationObserver implementation.
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698