| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "chrome/browser/chrome_browser_main_linux.h" | 9 #include "chrome/browser/chrome_browser_main_linux.h" |
| 10 | 10 |
| 11 namespace chromeos { | 11 namespace chromeos { |
| 12 class BrightnessObserver; | 12 class BrightnessObserver; |
| 13 class DesktopBackgroundObserver; | |
| 14 class PowerButtonObserver; | 13 class PowerButtonObserver; |
| 15 class PowerStateOverride; | 14 class PowerStateOverride; |
| 16 class ResumeObserver; | 15 class ResumeObserver; |
| 17 class ScreenLockObserver; | 16 class ScreenLockObserver; |
| 18 class SessionManagerObserver; | 17 class SessionManagerObserver; |
| 19 class VideoPropertyWriter; | 18 class VideoPropertyWriter; |
| 20 } // namespace chromeos | 19 } // namespace chromeos |
| 21 | 20 |
| 22 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { | 21 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { |
| 23 public: | 22 public: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 37 virtual void PreBrowserStart() OVERRIDE; | 36 virtual void PreBrowserStart() OVERRIDE; |
| 38 virtual void PostBrowserStart() OVERRIDE; | 37 virtual void PostBrowserStart() OVERRIDE; |
| 39 | 38 |
| 40 virtual void PostMainMessageLoopRun() OVERRIDE; | 39 virtual void PostMainMessageLoopRun() OVERRIDE; |
| 41 | 40 |
| 42 private: | 41 private: |
| 43 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; | 42 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; |
| 44 scoped_ptr<chromeos::ResumeObserver> resume_observer_; | 43 scoped_ptr<chromeos::ResumeObserver> resume_observer_; |
| 45 scoped_ptr<chromeos::ScreenLockObserver> screen_lock_observer_; | 44 scoped_ptr<chromeos::ScreenLockObserver> screen_lock_observer_; |
| 46 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_; | 45 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_; |
| 47 scoped_ptr<chromeos::DesktopBackgroundObserver> desktop_background_observer_; | |
| 48 scoped_ptr<chromeos::PowerButtonObserver> power_button_observer_; | 46 scoped_ptr<chromeos::PowerButtonObserver> power_button_observer_; |
| 49 scoped_ptr<chromeos::PowerStateOverride> power_state_override_; | 47 scoped_ptr<chromeos::PowerStateOverride> power_state_override_; |
| 50 scoped_ptr<chromeos::VideoPropertyWriter> video_property_writer_; | 48 scoped_ptr<chromeos::VideoPropertyWriter> video_property_writer_; |
| 51 | 49 |
| 52 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 50 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
| 53 }; | 51 }; |
| 54 | 52 |
| 55 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 53 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| OLD | NEW |