| 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 #include "chrome/browser/chromeos/version_loader.h" | 10 #include "chrome/browser/chromeos/version_loader.h" |
| 11 #include "chrome/common/cancelable_task_tracker.h" | 11 #include "chrome/common/cancelable_task_tracker.h" |
| 12 | 12 |
| 13 namespace contacts { | 13 namespace contacts { |
| 14 class ContactManager; | 14 class ContactManager; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 class PowerSaveBlocker; | 18 class PowerSaveBlocker; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace chromeos { | 21 namespace chromeos { |
| 22 | 22 |
| 23 class BrightnessObserver; | 23 class BrightnessObserver; |
| 24 class DataPromoNotification; | 24 class DataPromoNotification; |
| 25 class DisplayConfigurationObserver; | 25 class DisplayConfigurationObserver; |
| 26 class ExtensionSystemEventObserver; |
| 26 class IdleActionWarningObserver; | 27 class IdleActionWarningObserver; |
| 27 class MagnificationManager; | 28 class MagnificationManager; |
| 28 class PeripheralBatteryObserver; | 29 class PeripheralBatteryObserver; |
| 29 class PowerButtonObserver; | 30 class PowerButtonObserver; |
| 30 class PowerPrefs; | 31 class PowerPrefs; |
| 31 class ResumeObserver; | |
| 32 class ScreenLockObserver; | |
| 33 class ScreensaverController; | 32 class ScreensaverController; |
| 34 class SessionManagerObserver; | 33 class SessionManagerObserver; |
| 35 class SwapMetrics; | 34 class SwapMetrics; |
| 36 | 35 |
| 37 namespace default_app_order { | 36 namespace default_app_order { |
| 38 class ExternalLoader; | 37 class ExternalLoader; |
| 39 } | 38 } |
| 40 | 39 |
| 41 namespace internal { | 40 namespace internal { |
| 42 class DBusServices; | 41 class DBusServices; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 63 virtual void PostMainMessageLoopRun() OVERRIDE; | 62 virtual void PostMainMessageLoopRun() OVERRIDE; |
| 64 virtual void PostDestroyThreads() OVERRIDE; | 63 virtual void PostDestroyThreads() OVERRIDE; |
| 65 | 64 |
| 66 virtual void SetupPlatformFieldTrials() OVERRIDE; | 65 virtual void SetupPlatformFieldTrials() OVERRIDE; |
| 67 | 66 |
| 68 private: | 67 private: |
| 69 scoped_ptr<contacts::ContactManager> contact_manager_; | 68 scoped_ptr<contacts::ContactManager> contact_manager_; |
| 70 scoped_ptr<BrightnessObserver> brightness_observer_; | 69 scoped_ptr<BrightnessObserver> brightness_observer_; |
| 71 scoped_ptr<DisplayConfigurationObserver> display_configuration_observer_; | 70 scoped_ptr<DisplayConfigurationObserver> display_configuration_observer_; |
| 72 scoped_ptr<default_app_order::ExternalLoader> app_order_loader_; | 71 scoped_ptr<default_app_order::ExternalLoader> app_order_loader_; |
| 73 scoped_ptr<ResumeObserver> resume_observer_; | 72 scoped_ptr<ExtensionSystemEventObserver> extension_system_event_observer_; |
| 74 scoped_ptr<ScreenLockObserver> screen_lock_observer_; | |
| 75 scoped_ptr<ScreensaverController> screensaver_controller_; | 73 scoped_ptr<ScreensaverController> screensaver_controller_; |
| 76 scoped_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; | 74 scoped_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; |
| 77 scoped_ptr<PowerPrefs> power_prefs_; | 75 scoped_ptr<PowerPrefs> power_prefs_; |
| 78 scoped_ptr<PowerButtonObserver> power_button_observer_; | 76 scoped_ptr<PowerButtonObserver> power_button_observer_; |
| 79 scoped_ptr<content::PowerSaveBlocker> retail_mode_power_save_blocker_; | 77 scoped_ptr<content::PowerSaveBlocker> retail_mode_power_save_blocker_; |
| 80 scoped_ptr<IdleActionWarningObserver> idle_action_warning_observer_; | 78 scoped_ptr<IdleActionWarningObserver> idle_action_warning_observer_; |
| 81 scoped_ptr<DataPromoNotification> data_promo_notification_; | 79 scoped_ptr<DataPromoNotification> data_promo_notification_; |
| 82 | 80 |
| 83 scoped_ptr<internal::DBusServices> dbus_services_; | 81 scoped_ptr<internal::DBusServices> dbus_services_; |
| 84 | 82 |
| 85 VersionLoader cros_version_loader_; | 83 VersionLoader cros_version_loader_; |
| 86 CancelableTaskTracker tracker_; | 84 CancelableTaskTracker tracker_; |
| 87 bool use_new_network_change_notifier_; | 85 bool use_new_network_change_notifier_; |
| 88 | 86 |
| 89 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 87 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
| 90 }; | 88 }; |
| 91 | 89 |
| 92 } // namespace chromeos | 90 } // namespace chromeos |
| 93 | 91 |
| 94 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 92 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| OLD | NEW |