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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 10829219: Browser Plugin: Move to old namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style fix. Created 8 years, 4 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
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_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 namespace base { 47 namespace base {
48 class MessageLoopProxy; 48 class MessageLoopProxy;
49 class Thread; 49 class Thread;
50 namespace win { 50 namespace win {
51 class ScopedCOMInitializer; 51 class ScopedCOMInitializer;
52 } 52 }
53 } 53 }
54 54
55 namespace content { 55 namespace content {
56 class AudioRendererMixerManager; 56 class AudioRendererMixerManager;
57 class MediaStreamCenter;
58 class RenderProcessObserver;
59
60 namespace old {
57 class BrowserPluginChannelManager; 61 class BrowserPluginChannelManager;
58 class BrowserPluginRegistry; 62 class BrowserPluginRegistry;
59 class MediaStreamCenter; 63 }
60 class RenderProcessObserver; 64
61 } 65 }
62 66
63 namespace v8 { 67 namespace v8 {
64 class Extension; 68 class Extension;
65 } 69 }
66 70
67 // The RenderThreadImpl class represents a background thread where RenderView 71 // The RenderThreadImpl class represents a background thread where RenderView
68 // instances live. The RenderThread supports an API that is used by its 72 // instances live. The RenderThread supports an API that is used by its
69 // consumer to talk indirectly to the RenderViews and supporting objects. 73 // consumer to talk indirectly to the RenderViews and supporting objects.
70 // Likewise, it provides an API for the RenderViews to talk back to the main 74 // Likewise, it provides an API for the RenderViews to talk back to the main
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // resource loads. However, there are exceptions when we need to customize 162 // resource loads. However, there are exceptions when we need to customize
159 // the behavior. 163 // the behavior.
160 void DoNotSuspendWebKitSharedTimer(); 164 void DoNotSuspendWebKitSharedTimer();
161 void DoNotNotifyWebKitOfModalLoop(); 165 void DoNotNotifyWebKitOfModalLoop();
162 166
163 // Will be NULL if threaded compositing has not been enabled. 167 // Will be NULL if threaded compositing has not been enabled.
164 CompositorThread* compositor_thread() const { 168 CompositorThread* compositor_thread() const {
165 return compositor_thread_.get(); 169 return compositor_thread_.get();
166 } 170 }
167 171
168 content::BrowserPluginRegistry* browser_plugin_registry() const { 172 content::old::BrowserPluginRegistry* browser_plugin_registry() const {
169 return browser_plugin_registry_.get(); 173 return browser_plugin_registry_.get();
170 } 174 }
171 175
172 content::BrowserPluginChannelManager* browser_plugin_channel_manager() const { 176 content::old::BrowserPluginChannelManager*
177 browser_plugin_channel_manager() const {
173 return browser_plugin_channel_manager_.get(); 178 return browser_plugin_channel_manager_.get();
174 } 179 }
175 180
176 AppCacheDispatcher* appcache_dispatcher() const { 181 AppCacheDispatcher* appcache_dispatcher() const {
177 return appcache_dispatcher_.get(); 182 return appcache_dispatcher_.get();
178 } 183 }
179 184
180 DomStorageDispatcher* dom_storage_dispatcher() const { 185 DomStorageDispatcher* dom_storage_dispatcher() const {
181 return dom_storage_dispatcher_.get(); 186 return dom_storage_dispatcher_.get();
182 } 187 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 void OnGetAccessibilityTree(); 243 void OnGetAccessibilityTree();
239 void OnTempCrashWithData(const GURL& data); 244 void OnTempCrashWithData(const GURL& data);
240 245
241 void IdleHandlerInForegroundTab(); 246 void IdleHandlerInForegroundTab();
242 247
243 // These objects live solely on the render thread. 248 // These objects live solely on the render thread.
244 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 249 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
245 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; 250 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_;
246 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; 251 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_;
247 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; 252 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_;
248 scoped_ptr<content::BrowserPluginChannelManager> 253 scoped_ptr<content::old::BrowserPluginChannelManager>
249 browser_plugin_channel_manager_; 254 browser_plugin_channel_manager_;
250 255
251 // Used on the render thread and deleted by WebKit at shutdown. 256 // Used on the render thread and deleted by WebKit at shutdown.
252 content::MediaStreamCenter* media_stream_center_; 257 content::MediaStreamCenter* media_stream_center_;
253 258
254 // Used on the renderer and IPC threads. 259 // Used on the renderer and IPC threads.
255 scoped_refptr<DBMessageFilter> db_message_filter_; 260 scoped_refptr<DBMessageFilter> db_message_filter_;
256 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; 261 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_;
257 scoped_refptr<AudioMessageFilter> audio_message_filter_; 262 scoped_refptr<AudioMessageFilter> audio_message_filter_;
258 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; 263 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_;
(...skipping 29 matching lines...) Expand all
288 scoped_refptr<GpuChannelHost> gpu_channel_; 293 scoped_refptr<GpuChannelHost> gpu_channel_;
289 294
290 // A lazily initiated thread on which file operations are run. 295 // A lazily initiated thread on which file operations are run.
291 scoped_ptr<base::Thread> file_thread_; 296 scoped_ptr<base::Thread> file_thread_;
292 297
293 // Map of registered v8 extensions. The key is the extension name. 298 // Map of registered v8 extensions. The key is the extension name.
294 std::set<std::string> v8_extensions_; 299 std::set<std::string> v8_extensions_;
295 300
296 bool compositor_initialized_; 301 bool compositor_initialized_;
297 scoped_ptr<CompositorThread> compositor_thread_; 302 scoped_ptr<CompositorThread> compositor_thread_;
298 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; 303 scoped_ptr<content::old::BrowserPluginRegistry> browser_plugin_registry_;
299 304
300 ObserverList<content::RenderProcessObserver> observers_; 305 ObserverList<content::RenderProcessObserver> observers_;
301 306
302 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; 307 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_;
303 308
304 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_; 309 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_;
305 310
306 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 311 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
307 }; 312 };
308 313
309 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 314 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698