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

Side by Side Diff: chrome/browser/chromeos/background/desktop_background_observer.h

Issue 9703031: Retry landing "Enable users change desktop background image from settings page in Chromeos Aura bui… (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge to trunk 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_BACKGROUND_DESKTOP_BACKGROUND_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_BACKGROUND_DESKTOP_BACKGROUND_OBSERVER_H_
7 #pragma once
8
9 #include "content/public/browser/notification_observer.h"
10 #include "content/public/browser/notification_registrar.h"
11
12 namespace chromeos {
13
14 // Listens for background change events and passes them to the Aura shell's
15 // DesktopBackgroundController class.
16 class DesktopBackgroundObserver : public content::NotificationObserver{
17 public:
18 DesktopBackgroundObserver();
19 virtual ~DesktopBackgroundObserver();
20
21 private:
22 // Returns the index of user selected wallpaper from a default wallpaper list.
23 int GetUserWallpaperIndex();
24
25 // content::NotificationObserver implementation.
26 virtual void Observe(int type,
27 const content::NotificationSource& source,
28 const content::NotificationDetails& details) OVERRIDE;
29
30 content::NotificationRegistrar registrar_;
31
32 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundObserver);
33 };
34
35 } // namespace chromeos
36 #endif // CHROME_BROWSER_CHROMEOS_BACKGROUND_DESKTOP_BACKGROUND_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/background/desktop_background_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698