| 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 DisplayConfigurationObserver; | 24 class DisplayConfigurationObserver; |
| 25 class IdleActionWarningObserver; | 25 class IdleActionWarningObserver; |
| 26 class MagnificationManager; | 26 class MagnificationManager; |
| 27 class PeripheralBatteryObserver; | 27 class PeripheralBatteryObserver; |
| 28 class PowerButtonObserver; | 28 class PowerButtonObserver; |
| 29 class PowerPrefs; |
| 29 class ResumeObserver; | 30 class ResumeObserver; |
| 30 class ScreenLockObserver; | 31 class ScreenLockObserver; |
| 31 class ScreensaverController; | 32 class ScreensaverController; |
| 32 class SessionManagerObserver; | 33 class SessionManagerObserver; |
| 33 class StorageMonitorCros; | 34 class StorageMonitorCros; |
| 34 class SuspendObserver; | 35 class SuspendObserver; |
| 35 class SwapMetrics; | 36 class SwapMetrics; |
| 36 class UserActivityNotifier; | 37 class UserActivityNotifier; |
| 37 class VideoActivityNotifier; | 38 class VideoActivityNotifier; |
| 38 | 39 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 private: | 71 private: |
| 71 scoped_ptr<contacts::ContactManager> contact_manager_; | 72 scoped_ptr<contacts::ContactManager> contact_manager_; |
| 72 scoped_ptr<BrightnessObserver> brightness_observer_; | 73 scoped_ptr<BrightnessObserver> brightness_observer_; |
| 73 scoped_ptr<DisplayConfigurationObserver> display_configuration_observer_; | 74 scoped_ptr<DisplayConfigurationObserver> display_configuration_observer_; |
| 74 scoped_ptr<default_app_order::ExternalLoader> app_order_loader_; | 75 scoped_ptr<default_app_order::ExternalLoader> app_order_loader_; |
| 75 scoped_ptr<SuspendObserver> suspend_observer_; | 76 scoped_ptr<SuspendObserver> suspend_observer_; |
| 76 scoped_ptr<ResumeObserver> resume_observer_; | 77 scoped_ptr<ResumeObserver> resume_observer_; |
| 77 scoped_ptr<ScreenLockObserver> screen_lock_observer_; | 78 scoped_ptr<ScreenLockObserver> screen_lock_observer_; |
| 78 scoped_ptr<ScreensaverController> screensaver_controller_; | 79 scoped_ptr<ScreensaverController> screensaver_controller_; |
| 79 scoped_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; | 80 scoped_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; |
| 81 scoped_ptr<PowerPrefs> power_prefs_; |
| 80 scoped_ptr<PowerButtonObserver> power_button_observer_; | 82 scoped_ptr<PowerButtonObserver> power_button_observer_; |
| 81 scoped_ptr<content::PowerSaveBlocker> retail_mode_power_save_blocker_; | 83 scoped_ptr<content::PowerSaveBlocker> retail_mode_power_save_blocker_; |
| 82 scoped_ptr<UserActivityNotifier> user_activity_notifier_; | 84 scoped_ptr<UserActivityNotifier> user_activity_notifier_; |
| 83 scoped_ptr<VideoActivityNotifier> video_activity_notifier_; | 85 scoped_ptr<VideoActivityNotifier> video_activity_notifier_; |
| 84 scoped_ptr<StorageMonitorCros> storage_monitor_; | 86 scoped_ptr<StorageMonitorCros> storage_monitor_; |
| 85 scoped_ptr<IdleActionWarningObserver> idle_action_warning_observer_; | 87 scoped_ptr<IdleActionWarningObserver> idle_action_warning_observer_; |
| 86 scoped_ptr<SwapMetrics> swap_metrics_; | 88 scoped_ptr<SwapMetrics> swap_metrics_; |
| 87 | 89 |
| 88 scoped_ptr<internal::DBusServices> dbus_services_; | 90 scoped_ptr<internal::DBusServices> dbus_services_; |
| 89 | 91 |
| 90 VersionLoader cros_version_loader_; | 92 VersionLoader cros_version_loader_; |
| 91 CancelableTaskTracker tracker_; | 93 CancelableTaskTracker tracker_; |
| 92 bool use_new_network_change_notifier_; | 94 bool use_new_network_change_notifier_; |
| 93 | 95 |
| 94 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 96 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
| 95 }; | 97 }; |
| 96 | 98 |
| 97 } // namespace chromeos | 99 } // namespace chromeos |
| 98 | 100 |
| 99 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 101 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| OLD | NEW |