| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 class MediaStreamManager; | 81 class MediaStreamManager; |
| 82 class ResourceDispatcherHostImpl; | 82 class ResourceDispatcherHostImpl; |
| 83 class SaveFileManager; | 83 class SaveFileManager; |
| 84 class ServiceManagerContext; | 84 class ServiceManagerContext; |
| 85 class SpeechRecognitionManagerImpl; | 85 class SpeechRecognitionManagerImpl; |
| 86 class StartupTaskRunner; | 86 class StartupTaskRunner; |
| 87 struct MainFunctionParams; | 87 struct MainFunctionParams; |
| 88 | 88 |
| 89 #if defined(OS_ANDROID) | 89 #if defined(OS_ANDROID) |
| 90 class ScreenOrientationDelegate; | 90 class ScreenOrientationDelegate; |
| 91 #elif defined(OS_WIN) | |
| 92 class ScreenOrientationDelegate; | |
| 93 #endif | 91 #endif |
| 94 | 92 |
| 95 #if defined(USE_X11) && !defined(OS_CHROMEOS) | 93 #if defined(USE_X11) && !defined(OS_CHROMEOS) |
| 96 namespace internal { | 94 namespace internal { |
| 97 class GpuDataManagerVisualProxy; | 95 class GpuDataManagerVisualProxy; |
| 98 } | 96 } |
| 99 #endif | 97 #endif |
| 100 | 98 |
| 101 // Implements the main browser loop stages called from BrowserMainRunner. | 99 // Implements the main browser loop stages called from BrowserMainRunner. |
| 102 // See comments in browser_main_parts.h for additional info. | 100 // See comments in browser_main_parts.h for additional info. |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 // Per-process listener for online state changes. | 230 // Per-process listener for online state changes. |
| 233 std::unique_ptr<BrowserOnlineStateObserver> online_state_observer_; | 231 std::unique_ptr<BrowserOnlineStateObserver> online_state_observer_; |
| 234 | 232 |
| 235 std::unique_ptr<base::trace_event::TraceEventSystemStatsMonitor> | 233 std::unique_ptr<base::trace_event::TraceEventSystemStatsMonitor> |
| 236 system_stats_monitor_; | 234 system_stats_monitor_; |
| 237 | 235 |
| 238 #if defined(USE_AURA) | 236 #if defined(USE_AURA) |
| 239 std::unique_ptr<aura::Env> env_; | 237 std::unique_ptr<aura::Env> env_; |
| 240 #endif | 238 #endif |
| 241 | 239 |
| 242 #if defined(OS_WIN) | |
| 243 std::unique_ptr<ScreenOrientationDelegate> screen_orientation_delegate_; | |
| 244 #endif | |
| 245 | |
| 246 #if defined(OS_ANDROID) | 240 #if defined(OS_ANDROID) |
| 247 // Android implementation of ScreenOrientationDelegate | 241 // Android implementation of ScreenOrientationDelegate |
| 248 std::unique_ptr<ScreenOrientationDelegate> screen_orientation_delegate_; | 242 std::unique_ptr<ScreenOrientationDelegate> screen_orientation_delegate_; |
| 249 #endif | 243 #endif |
| 250 | 244 |
| 251 std::unique_ptr<MemoryObserver> memory_observer_; | 245 std::unique_ptr<MemoryObserver> memory_observer_; |
| 252 | 246 |
| 253 // Members initialized in |InitStartupTracingForDuration()| ------------------ | 247 // Members initialized in |InitStartupTracingForDuration()| ------------------ |
| 254 base::FilePath startup_trace_file_; | 248 base::FilePath startup_trace_file_; |
| 255 | 249 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 scoped_refptr<SaveFileManager> save_file_manager_; | 317 scoped_refptr<SaveFileManager> save_file_manager_; |
| 324 | 318 |
| 325 // DO NOT add members here. Add them to the right categories above. | 319 // DO NOT add members here. Add them to the right categories above. |
| 326 | 320 |
| 327 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 321 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
| 328 }; | 322 }; |
| 329 | 323 |
| 330 } // namespace content | 324 } // namespace content |
| 331 | 325 |
| 332 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 326 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| OLD | NEW |