Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Side by Side Diff: content/browser/browser_main_loop.h

Issue 193763002: Listen to WM_TIMECHANGE messages in RenderViewHostImpl on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: process host loop Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 27 matching lines...) Expand all
38 namespace content { 38 namespace content {
39 class AudioMirroringManager; 39 class AudioMirroringManager;
40 class BrowserMainParts; 40 class BrowserMainParts;
41 class BrowserOnlineStateObserver; 41 class BrowserOnlineStateObserver;
42 class BrowserShutdownImpl; 42 class BrowserShutdownImpl;
43 class BrowserThreadImpl; 43 class BrowserThreadImpl;
44 class MediaStreamManager; 44 class MediaStreamManager;
45 class ResourceDispatcherHostImpl; 45 class ResourceDispatcherHostImpl;
46 class SpeechRecognitionManagerImpl; 46 class SpeechRecognitionManagerImpl;
47 class StartupTaskRunner; 47 class StartupTaskRunner;
48 class SystemMessageWindowWin;
49 struct MainFunctionParams; 48 struct MainFunctionParams;
50 49
51 #if defined(OS_LINUX) 50 #if defined(OS_LINUX)
52 class DeviceMonitorLinux; 51 class DeviceMonitorLinux;
53 #elif defined(OS_MACOSX) 52 #elif defined(OS_MACOSX)
54 class DeviceMonitorMac; 53 class DeviceMonitorMac;
54 #elif defined(OS_WIN)
55 class SystemMessageWindowWin;
56 class TimeZoneMonitorWin;
55 #endif 57 #endif
56 58
57 // Implements the main browser loop stages called from BrowserMainRunner. 59 // Implements the main browser loop stages called from BrowserMainRunner.
58 // See comments in browser_main_parts.h for additional info. 60 // See comments in browser_main_parts.h for additional info.
59 class CONTENT_EXPORT BrowserMainLoop { 61 class CONTENT_EXPORT BrowserMainLoop {
60 public: 62 public:
61 // Returns the current instance. This is used to get access to the getters 63 // Returns the current instance. This is used to get access to the getters
62 // that return objects which are owned by this class. 64 // that return objects which are owned by this class.
63 static BrowserMainLoop* GetInstance(); 65 static BrowserMainLoop* GetInstance();
64 66
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // user_input_monitor_ has to outlive audio_manager_, so declared first. 148 // user_input_monitor_ has to outlive audio_manager_, so declared first.
147 scoped_ptr<media::UserInputMonitor> user_input_monitor_; 149 scoped_ptr<media::UserInputMonitor> user_input_monitor_;
148 scoped_ptr<media::AudioManager> audio_manager_; 150 scoped_ptr<media::AudioManager> audio_manager_;
149 scoped_ptr<media::MidiManager> midi_manager_; 151 scoped_ptr<media::MidiManager> midi_manager_;
150 scoped_ptr<AudioMirroringManager> audio_mirroring_manager_; 152 scoped_ptr<AudioMirroringManager> audio_mirroring_manager_;
151 scoped_ptr<MediaStreamManager> media_stream_manager_; 153 scoped_ptr<MediaStreamManager> media_stream_manager_;
152 // Per-process listener for online state changes. 154 // Per-process listener for online state changes.
153 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; 155 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_;
154 #if defined(OS_WIN) 156 #if defined(OS_WIN)
155 scoped_ptr<SystemMessageWindowWin> system_message_window_; 157 scoped_ptr<SystemMessageWindowWin> system_message_window_;
158 scoped_ptr<TimeZoneMonitorWin> time_zone_monitor_win_;
156 #elif defined(USE_UDEV) 159 #elif defined(USE_UDEV)
157 scoped_ptr<DeviceMonitorLinux> device_monitor_linux_; 160 scoped_ptr<DeviceMonitorLinux> device_monitor_linux_;
158 #elif defined(OS_MACOSX) && !defined(OS_IOS) 161 #elif defined(OS_MACOSX) && !defined(OS_IOS)
159 scoped_ptr<DeviceMonitorMac> device_monitor_mac_; 162 scoped_ptr<DeviceMonitorMac> device_monitor_mac_;
160 #endif 163 #endif
161 // The startup task runner is created by CreateStartupTasks() 164 // The startup task runner is created by CreateStartupTasks()
162 scoped_ptr<StartupTaskRunner> startup_task_runner_; 165 scoped_ptr<StartupTaskRunner> startup_task_runner_;
163 166
164 // Destroy parts_ before main_message_loop_ (required) and before other 167 // Destroy parts_ before main_message_loop_ (required) and before other
165 // classes constructed in content (but after main_thread_). 168 // classes constructed in content (but after main_thread_).
(...skipping 20 matching lines...) Expand all
186 scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_; 189 scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_;
187 190
188 bool is_tracing_startup_; 191 bool is_tracing_startup_;
189 192
190 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 193 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
191 }; 194 };
192 195
193 } // namespace content 196 } // namespace content
194 197
195 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 198 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698