| 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/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/chrome_browser_main_linux.h" | 10 #include "chrome/browser/chrome_browser_main_linux.h" |
| 11 | 11 |
| 12 namespace chromeos { | 12 namespace chromeos { |
| 13 class BrightnessObserver; | 13 class BrightnessObserver; |
| 14 class MediaDeviceNotifications; | 14 class MediaDeviceNotifications; |
| 15 class OutputObserver; | 15 class OutputObserver; |
| 16 class PowerButtonObserver; | 16 class PowerButtonObserver; |
| 17 class PowerStateOverride; | 17 class PowerStateOverride; |
| 18 class ResumeObserver; | 18 class ResumeObserver; |
| 19 class ScreenDimmingObserver; | 19 class ScreenDimmingObserver; |
| 20 class ScreenLockObserver; | 20 class ScreenLockObserver; |
| 21 class SessionManagerObserver; | 21 class SessionManagerObserver; |
| 22 class UserActivityNotifier; | 22 class UserActivityNotifier; |
| 23 class VideoActivityNotifier; | 23 class VideoActivityNotifier; |
| 24 } // namespace chromeos | 24 } // namespace chromeos |
| 25 | 25 |
| 26 namespace contacts { | 26 namespace contacts { |
| 27 class ContactManager; | 27 class ContactManager; |
| 28 } // namespace contacts | 28 } // namespace contacts |
| 29 | 29 |
| 30 namespace policy { | |
| 31 class NetworkConfigurationUpdater; | |
| 32 } // namespace policy | |
| 33 | |
| 34 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { | 30 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { |
| 35 public: | 31 public: |
| 36 explicit ChromeBrowserMainPartsChromeos( | 32 explicit ChromeBrowserMainPartsChromeos( |
| 37 const content::MainFunctionParams& parameters); | 33 const content::MainFunctionParams& parameters); |
| 38 virtual ~ChromeBrowserMainPartsChromeos(); | 34 virtual ~ChromeBrowserMainPartsChromeos(); |
| 39 | 35 |
| 40 // ChromeBrowserMainParts overrides. | 36 // ChromeBrowserMainParts overrides. |
| 41 virtual void PreEarlyInitialization() OVERRIDE; | 37 virtual void PreEarlyInitialization() OVERRIDE; |
| 42 virtual void PreMainMessageLoopStart() OVERRIDE; | 38 virtual void PreMainMessageLoopStart() OVERRIDE; |
| 43 virtual void PostMainMessageLoopStart() OVERRIDE; | 39 virtual void PostMainMessageLoopStart() OVERRIDE; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 60 scoped_ptr<contacts::ContactManager> contact_manager_; | 56 scoped_ptr<contacts::ContactManager> contact_manager_; |
| 61 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; | 57 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; |
| 62 scoped_ptr<chromeos::OutputObserver> output_observer_; | 58 scoped_ptr<chromeos::OutputObserver> output_observer_; |
| 63 scoped_ptr<chromeos::ResumeObserver> resume_observer_; | 59 scoped_ptr<chromeos::ResumeObserver> resume_observer_; |
| 64 scoped_ptr<chromeos::ScreenLockObserver> screen_lock_observer_; | 60 scoped_ptr<chromeos::ScreenLockObserver> screen_lock_observer_; |
| 65 scoped_ptr<chromeos::PowerButtonObserver> power_button_observer_; | 61 scoped_ptr<chromeos::PowerButtonObserver> power_button_observer_; |
| 66 scoped_ptr<chromeos::PowerStateOverride> power_state_override_; | 62 scoped_ptr<chromeos::PowerStateOverride> power_state_override_; |
| 67 scoped_ptr<chromeos::UserActivityNotifier> user_activity_notifier_; | 63 scoped_ptr<chromeos::UserActivityNotifier> user_activity_notifier_; |
| 68 scoped_ptr<chromeos::VideoActivityNotifier> video_activity_notifier_; | 64 scoped_ptr<chromeos::VideoActivityNotifier> video_activity_notifier_; |
| 69 scoped_ptr<chromeos::ScreenDimmingObserver> screen_dimming_observer_; | 65 scoped_ptr<chromeos::ScreenDimmingObserver> screen_dimming_observer_; |
| 70 scoped_ptr<policy::NetworkConfigurationUpdater> network_config_updater_; | |
| 71 scoped_refptr<chromeos::MediaDeviceNotifications> media_device_notifications_; | 66 scoped_refptr<chromeos::MediaDeviceNotifications> media_device_notifications_; |
| 72 | 67 |
| 73 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 68 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
| 74 }; | 69 }; |
| 75 | 70 |
| 76 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 71 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| OLD | NEW |