Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_ | |
| 6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "ash/ash_export.h" | |
| 10 #include "base/basictypes.h" | |
| 11 #include "content/public/browser/notification_observer.h" | |
| 12 #include "content/public/browser/notification_registrar.h" | |
| 13 #include "ui/aura/root_window_observer.h" | |
| 14 #include "third_party/skia/include/core/SkBitmap.h" | |
| 15 | |
| 16 namespace ash { | |
| 17 | |
| 18 class ASH_EXPORT DesktopBackgroundController : | |
|
flackr
2012/03/06 17:16:49
Comment the class and all non-override functions.
bshe
2012/03/06 19:56:16
Done.
| |
| 19 public aura::RootWindowObserver, | |
|
flackr
2012/03/06 17:16:49
This doesn't override any functions from RootWindo
bshe
2012/03/06 19:56:16
Done.
| |
| 20 public content::NotificationObserver { | |
| 21 public: | |
| 22 DesktopBackgroundController(); | |
| 23 virtual ~DesktopBackgroundController(); | |
| 24 void OnDesktopBackgroundChange(int index); | |
| 25 private: | |
| 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(DesktopBackgroundController); | |
| 33 }; | |
| 34 | |
| 35 } // namespace ash | |
| 36 | |
| 37 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_ | |
| OLD | NEW |