| 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 CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |    5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 
|    6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |    6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 
|    7  |    7  | 
|    8 #include "base/basictypes.h" |    8 #include "base/basictypes.h" | 
|    9 #include "base/files/file_path.h" |    9 #include "base/files/file_path.h" | 
|   10 #include "base/memory/ref_counted.h" |   10 #include "base/memory/ref_counted.h" | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   47 class BrowserShutdownImpl; |   47 class BrowserShutdownImpl; | 
|   48 class BrowserThreadImpl; |   48 class BrowserThreadImpl; | 
|   49 class MediaStreamManager; |   49 class MediaStreamManager; | 
|   50 class ResourceDispatcherHostImpl; |   50 class ResourceDispatcherHostImpl; | 
|   51 class SpeechRecognitionManagerImpl; |   51 class SpeechRecognitionManagerImpl; | 
|   52 class StartupTaskRunner; |   52 class StartupTaskRunner; | 
|   53 class TimeZoneMonitor; |   53 class TimeZoneMonitor; | 
|   54 struct MainFunctionParams; |   54 struct MainFunctionParams; | 
|   55  |   55  | 
|   56 #if defined(OS_ANDROID) |   56 #if defined(OS_ANDROID) | 
 |   57 class BrowserSurfaceTextureManager; | 
|   57 class ScreenOrientationDelegate; |   58 class ScreenOrientationDelegate; | 
|   58 #elif defined(OS_LINUX) |   59 #elif defined(OS_LINUX) | 
|   59 class DeviceMonitorLinux; |   60 class DeviceMonitorLinux; | 
|   60 #elif defined(OS_MACOSX) |   61 #elif defined(OS_MACOSX) | 
|   61 class DeviceMonitorMac; |   62 class DeviceMonitorMac; | 
|   62 #elif defined(OS_WIN) |   63 #elif defined(OS_WIN) | 
|   63 class SystemMessageWindowWin; |   64 class SystemMessageWindowWin; | 
|   64 #endif |   65 #endif | 
|   65  |   66  | 
|   66 // Implements the main browser loop stages called from BrowserMainRunner. |   67 // Implements the main browser loop stages called from BrowserMainRunner. | 
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  170   // Per-process listener for online state changes. |  171   // Per-process listener for online state changes. | 
|  171   scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |  172   scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; | 
|  172 #if defined(OS_WIN) |  173 #if defined(OS_WIN) | 
|  173   scoped_ptr<SystemMessageWindowWin> system_message_window_; |  174   scoped_ptr<SystemMessageWindowWin> system_message_window_; | 
|  174 #elif defined(USE_UDEV) |  175 #elif defined(USE_UDEV) | 
|  175   scoped_ptr<DeviceMonitorLinux> device_monitor_linux_; |  176   scoped_ptr<DeviceMonitorLinux> device_monitor_linux_; | 
|  176 #elif defined(OS_MACOSX) && !defined(OS_IOS) |  177 #elif defined(OS_MACOSX) && !defined(OS_IOS) | 
|  177   scoped_ptr<DeviceMonitorMac> device_monitor_mac_; |  178   scoped_ptr<DeviceMonitorMac> device_monitor_mac_; | 
|  178 #endif |  179 #endif | 
|  179 #if defined(OS_ANDROID) |  180 #if defined(OS_ANDROID) | 
 |  181   scoped_ptr<BrowserSurfaceTextureManager> browser_surface_texture_manager_; | 
|  180   // Android implementation of ScreenOrientationDelegate |  182   // Android implementation of ScreenOrientationDelegate | 
|  181   scoped_ptr<ScreenOrientationDelegate> screen_orientation_delegate_; |  183   scoped_ptr<ScreenOrientationDelegate> screen_orientation_delegate_; | 
|  182 #endif |  184 #endif | 
|  183 #if defined(OS_CHROMEOS) |  185 #if defined(OS_CHROMEOS) | 
|  184   scoped_ptr<base::MemoryPressureMonitorChromeOS> memory_pressure_monitor_; |  186   scoped_ptr<base::MemoryPressureMonitorChromeOS> memory_pressure_monitor_; | 
|  185 #elif defined(OS_MACOSX) && !defined(OS_IOS) |  187 #elif defined(OS_MACOSX) && !defined(OS_IOS) | 
|  186   scoped_ptr<base::MemoryPressureMonitorMac> memory_pressure_monitor_; |  188   scoped_ptr<base::MemoryPressureMonitorMac> memory_pressure_monitor_; | 
|  187 #endif |  189 #endif | 
|  188   // The startup task runner is created by CreateStartupTasks() |  190   // The startup task runner is created by CreateStartupTasks() | 
|  189   scoped_ptr<StartupTaskRunner> startup_task_runner_; |  191   scoped_ptr<StartupTaskRunner> startup_task_runner_; | 
| (...skipping 29 matching lines...) Expand all  Loading... | 
|  219  |  221  | 
|  220   // This timer initiates trace file saving. |  222   // This timer initiates trace file saving. | 
|  221   base::OneShotTimer<BrowserMainLoop> startup_trace_timer_; |  223   base::OneShotTimer<BrowserMainLoop> startup_trace_timer_; | 
|  222  |  224  | 
|  223   DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |  225   DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 
|  224 }; |  226 }; | 
|  225  |  227  | 
|  226 }  // namespace content |  228 }  // namespace content | 
|  227  |  229  | 
|  228 #endif  // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |  230 #endif  // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 
| OLD | NEW |