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_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 14 matching lines...) Expand all Loading... |
25 #include "ui/gfx/native_widget_types.h" | 25 #include "ui/gfx/native_widget_types.h" |
26 | 26 |
27 class AppCacheDispatcher; | 27 class AppCacheDispatcher; |
28 class AudioInputMessageFilter; | 28 class AudioInputMessageFilter; |
29 class AudioMessageFilter; | 29 class AudioMessageFilter; |
30 class CompositorThread; | 30 class CompositorThread; |
31 class DBMessageFilter; | 31 class DBMessageFilter; |
32 class DevToolsAgentFilter; | 32 class DevToolsAgentFilter; |
33 struct DOMStorageMsg_Event_Params; | 33 struct DOMStorageMsg_Event_Params; |
34 class GpuChannelHost; | 34 class GpuChannelHost; |
35 class IndexedDBDispatcher; | |
36 class RendererWebKitPlatformSupportImpl; | 35 class RendererWebKitPlatformSupportImpl; |
37 class SkBitmap; | 36 class SkBitmap; |
38 class VideoCaptureImplManager; | 37 class VideoCaptureImplManager; |
39 struct ViewMsg_New_Params; | 38 struct ViewMsg_New_Params; |
40 class WebDatabaseObserverImpl; | 39 class WebDatabaseObserverImpl; |
41 | 40 |
42 namespace WebKit { | 41 namespace WebKit { |
43 class WebMediaStreamCenter; | 42 class WebMediaStreamCenter; |
44 class WebMediaStreamCenterClient; | 43 class WebMediaStreamCenterClient; |
45 class WebStorageEventDispatcher; | 44 class WebStorageEventDispatcher; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 212 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
214 void OnPurgePluginListCache(bool reload_pages); | 213 void OnPurgePluginListCache(bool reload_pages); |
215 void OnNetworkStateChanged(bool online); | 214 void OnNetworkStateChanged(bool online); |
216 void OnGetAccessibilityTree(); | 215 void OnGetAccessibilityTree(); |
217 void OnTempCrashWithData(const GURL& data); | 216 void OnTempCrashWithData(const GURL& data); |
218 | 217 |
219 void IdleHandlerInForegroundTab(); | 218 void IdleHandlerInForegroundTab(); |
220 | 219 |
221 // These objects live solely on the render thread. | 220 // These objects live solely on the render thread. |
222 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 221 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
223 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | |
224 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 222 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
225 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; | 223 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; |
226 | 224 |
227 // Used on the render thread and deleted by WebKit at shutdown. | 225 // Used on the render thread and deleted by WebKit at shutdown. |
228 content::MediaStreamCenter* media_stream_center_; | 226 content::MediaStreamCenter* media_stream_center_; |
229 | 227 |
230 // Used on the renderer and IPC threads. | 228 // Used on the renderer and IPC threads. |
231 scoped_refptr<DBMessageFilter> db_message_filter_; | 229 scoped_refptr<DBMessageFilter> db_message_filter_; |
232 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 230 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
233 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 231 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 272 |
275 bool compositor_initialized_; | 273 bool compositor_initialized_; |
276 scoped_ptr<CompositorThread> compositor_thread_; | 274 scoped_ptr<CompositorThread> compositor_thread_; |
277 | 275 |
278 ObserverList<content::RenderProcessObserver> observers_; | 276 ObserverList<content::RenderProcessObserver> observers_; |
279 | 277 |
280 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 278 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
281 }; | 279 }; |
282 | 280 |
283 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 281 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |