Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 23 #include "ui/gfx/native_widget_types.h" | 23 #include "ui/gfx/native_widget_types.h" |
| 24 | 24 |
| 25 class AppCacheDispatcher; | 25 class AppCacheDispatcher; |
| 26 class AudioInputMessageFilter; | 26 class AudioInputMessageFilter; |
| 27 class AudioMessageFilter; | 27 class AudioMessageFilter; |
| 28 class CompositorThread; | 28 class CompositorThread; |
| 29 class DBMessageFilter; | 29 class DBMessageFilter; |
| 30 class DevToolsAgentFilter; | 30 class DevToolsAgentFilter; |
| 31 struct DOMStorageMsg_Event_Params; | 31 struct DOMStorageMsg_Event_Params; |
| 32 class GpuChannelHost; | 32 class GpuChannelHost; |
| 33 class IndexedDBDispatcher; | 33 class IndexedDBDispatcher; |
|
michaeln
2011/12/14 02:15:53
can this forward decl be removed now?
dgrogan
2011/12/15 02:47:44
Done.
| |
| 34 class RendererWebKitPlatformSupportImpl; | 34 class RendererWebKitPlatformSupportImpl; |
| 35 class SkBitmap; | 35 class SkBitmap; |
| 36 class VideoCaptureImplManager; | 36 class VideoCaptureImplManager; |
| 37 struct ViewMsg_New_Params; | 37 struct ViewMsg_New_Params; |
| 38 class WebDatabaseObserverImpl; | 38 class WebDatabaseObserverImpl; |
| 39 | 39 |
| 40 namespace WebKit { | 40 namespace WebKit { |
| 41 class WebStorageEventDispatcher; | 41 class WebStorageEventDispatcher; |
| 42 } | 42 } |
| 43 | 43 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 127 | 127 |
| 128 // Will be NULL if threaded compositing has not been enabled. | 128 // Will be NULL if threaded compositing has not been enabled. |
| 129 CompositorThread* compositor_thread() const { | 129 CompositorThread* compositor_thread() const { |
| 130 return compositor_thread_.get(); | 130 return compositor_thread_.get(); |
| 131 } | 131 } |
| 132 | 132 |
| 133 AppCacheDispatcher* appcache_dispatcher() const { | 133 AppCacheDispatcher* appcache_dispatcher() const { |
| 134 return appcache_dispatcher_.get(); | 134 return appcache_dispatcher_.get(); |
| 135 } | 135 } |
| 136 | 136 |
| 137 IndexedDBDispatcher* indexed_db_dispatcher() const { | |
| 138 return indexed_db_dispatcher_.get(); | |
| 139 } | |
| 140 | |
| 141 AudioInputMessageFilter* audio_input_message_filter() { | 137 AudioInputMessageFilter* audio_input_message_filter() { |
| 142 return audio_input_message_filter_.get(); | 138 return audio_input_message_filter_.get(); |
| 143 } | 139 } |
| 144 | 140 |
| 145 AudioMessageFilter* audio_message_filter() { | 141 AudioMessageFilter* audio_message_filter() { |
| 146 return audio_message_filter_.get(); | 142 return audio_message_filter_.get(); |
| 147 } | 143 } |
| 148 | 144 |
| 149 VideoCaptureImplManager* video_capture_impl_manager() const { | 145 VideoCaptureImplManager* video_capture_impl_manager() const { |
| 150 return vc_manager_.get(); | 146 return vc_manager_.get(); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 186 void OnPurgePluginListCache(bool reload_pages); | 182 void OnPurgePluginListCache(bool reload_pages); |
| 187 void OnNetworkStateChanged(bool online); | 183 void OnNetworkStateChanged(bool online); |
| 188 void OnGetAccessibilityTree(); | 184 void OnGetAccessibilityTree(); |
| 189 void OnTempCrashWithData(const GURL& data); | 185 void OnTempCrashWithData(const GURL& data); |
| 190 | 186 |
| 191 void IdleHandlerInForegroundTab(); | 187 void IdleHandlerInForegroundTab(); |
| 192 | 188 |
| 193 // These objects live solely on the render thread. | 189 // These objects live solely on the render thread. |
| 194 scoped_ptr<ScopedRunnableMethodFactory<RenderThreadImpl> > task_factory_; | 190 scoped_ptr<ScopedRunnableMethodFactory<RenderThreadImpl> > task_factory_; |
| 195 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 191 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 196 scoped_ptr<IndexedDBDispatcher> indexed_db_dispatcher_; | |
| 197 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 192 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
| 198 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; | 193 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; |
| 199 | 194 |
| 200 // Used on the renderer and IPC threads. | 195 // Used on the renderer and IPC threads. |
| 201 scoped_refptr<DBMessageFilter> db_message_filter_; | 196 scoped_refptr<DBMessageFilter> db_message_filter_; |
| 202 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 197 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
| 203 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 198 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 204 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 199 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
| 205 | 200 |
| 206 // Used on multiple threads. | 201 // Used on multiple threads. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 244 | 239 |
| 245 bool compositor_initialized_; | 240 bool compositor_initialized_; |
| 246 scoped_ptr<CompositorThread> compositor_thread_; | 241 scoped_ptr<CompositorThread> compositor_thread_; |
| 247 | 242 |
| 248 ObserverList<content::RenderProcessObserver> observers_; | 243 ObserverList<content::RenderProcessObserver> observers_; |
| 249 | 244 |
| 250 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 245 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 251 }; | 246 }; |
| 252 | 247 |
| 253 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 248 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |