| 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 OutputObserver; | 13 class OutputObserver; |
| 14 class PowerButtonObserver; | 14 class PowerButtonObserver; |
| 15 class PowerStateOverride; | 15 class PowerStateOverride; |
| 16 class ResumeObserver; | 16 class ResumeObserver; |
| 17 class ScreenDimmingObserver; | 17 class ScreenDimmingObserver; |
| 18 class ScreenLockObserver; | 18 class ScreenLockObserver; |
| 19 class SessionManagerObserver; | 19 class SessionManagerObserver; |
| 20 class UserActivityNotifier; |
| 20 class VideoActivityNotifier; | 21 class VideoActivityNotifier; |
| 21 } // namespace chromeos | 22 } // namespace chromeos |
| 22 | 23 |
| 23 namespace policy { | 24 namespace policy { |
| 24 class NetworkConfigurationUpdater; | 25 class NetworkConfigurationUpdater; |
| 25 } // namespace policy | 26 } // namespace policy |
| 26 | 27 |
| 27 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { | 28 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { |
| 28 public: | 29 public: |
| 29 explicit ChromeBrowserMainPartsChromeos( | 30 explicit ChromeBrowserMainPartsChromeos( |
| (...skipping 19 matching lines...) Expand all Loading... |
| 49 void SetupLowMemoryHeadroomFieldTrial(); | 50 void SetupLowMemoryHeadroomFieldTrial(); |
| 50 | 51 |
| 51 private: | 52 private: |
| 52 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; | 53 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; |
| 53 scoped_ptr<chromeos::OutputObserver> output_observer_; | 54 scoped_ptr<chromeos::OutputObserver> output_observer_; |
| 54 scoped_ptr<chromeos::ResumeObserver> resume_observer_; | 55 scoped_ptr<chromeos::ResumeObserver> resume_observer_; |
| 55 scoped_ptr<chromeos::ScreenLockObserver> screen_lock_observer_; | 56 scoped_ptr<chromeos::ScreenLockObserver> screen_lock_observer_; |
| 56 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_; | 57 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_; |
| 57 scoped_ptr<chromeos::PowerButtonObserver> power_button_observer_; | 58 scoped_ptr<chromeos::PowerButtonObserver> power_button_observer_; |
| 58 scoped_ptr<chromeos::PowerStateOverride> power_state_override_; | 59 scoped_ptr<chromeos::PowerStateOverride> power_state_override_; |
| 60 scoped_ptr<chromeos::UserActivityNotifier> user_activity_notifier_; |
| 59 scoped_ptr<chromeos::VideoActivityNotifier> video_activity_notifier_; | 61 scoped_ptr<chromeos::VideoActivityNotifier> video_activity_notifier_; |
| 60 scoped_ptr<chromeos::ScreenDimmingObserver> screen_dimming_observer_; | 62 scoped_ptr<chromeos::ScreenDimmingObserver> screen_dimming_observer_; |
| 61 scoped_ptr<policy::NetworkConfigurationUpdater> network_config_updater_; | 63 scoped_ptr<policy::NetworkConfigurationUpdater> network_config_updater_; |
| 62 | 64 |
| 63 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 65 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
| 64 }; | 66 }; |
| 65 | 67 |
| 66 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 68 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| OLD | NEW |