| 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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 13 #include "base/timer.h" | 13 #include "base/timer.h" |
| 14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 15 #include "content/common/child_process.h" | 15 #include "content/common/child_process.h" |
| 16 #include "content/common/child_thread.h" | 16 #include "content/common/child_thread.h" |
| 17 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| 18 #include "content/common/css_colors.h" | 18 #include "content/common/css_colors.h" |
| 19 #include "content/common/gpu/client/gpu_channel_host.h" | 19 #include "content/common/gpu/client/gpu_channel_host.h" |
| 20 #include "content/common/gpu/gpu_process_launch_causes.h" | 20 #include "content/common/gpu/gpu_process_launch_causes.h" |
| 21 #include "content/public/renderer/render_thread.h" | 21 #include "content/public/renderer/render_thread.h" |
| 22 #include "ipc/ipc_channel_proxy.h" | 22 #include "ipc/ipc_channel_proxy.h" |
| 23 #include "ui/gfx/native_widget_types.h" | 23 #include "ui/gfx/native_widget_types.h" |
| 24 | 24 |
| 25 class AppCacheDispatcher; | |
| 26 class DBMessageFilter; | 25 class DBMessageFilter; |
| 27 class GpuChannelHost; | |
| 28 class IndexedDBDispatcher; | |
| 29 class SkBitmap; | 26 class SkBitmap; |
| 30 class WebDatabaseObserverImpl; | 27 class WebDatabaseObserverImpl; |
| 31 class WebGraphicsContext3DCommandBufferImpl; | |
| 32 struct ViewMsg_New_Params; | 28 struct ViewMsg_New_Params; |
| 33 | 29 |
| 34 namespace WebKit { | 30 namespace WebKit { |
| 35 class WebMediaStreamCenter; | 31 class WebMediaStreamCenter; |
| 36 class WebMediaStreamCenterClient; | 32 class WebMediaStreamCenterClient; |
| 37 } | 33 } |
| 38 | 34 |
| 39 namespace base { | 35 namespace base { |
| 40 class MessageLoopProxy; | 36 class MessageLoopProxy; |
| 41 class Thread; | 37 class Thread; |
| 42 | 38 |
| 43 #if defined(OS_WIN) | 39 #if defined(OS_WIN) |
| 44 namespace win { | 40 namespace win { |
| 45 class ScopedCOMInitializer; | 41 class ScopedCOMInitializer; |
| 46 } | 42 } |
| 47 #endif | 43 #endif |
| 48 } | 44 } |
| 49 | 45 |
| 50 namespace IPC { | 46 namespace IPC { |
| 51 class ForwardingMessageFilter; | 47 class ForwardingMessageFilter; |
| 52 } | 48 } |
| 53 | 49 |
| 54 namespace v8 { | 50 namespace v8 { |
| 55 class Extension; | 51 class Extension; |
| 56 } | 52 } |
| 57 | 53 |
| 58 namespace content { | 54 namespace content { |
| 59 | 55 |
| 56 class AppCacheDispatcher; |
| 60 class AudioInputMessageFilter; | 57 class AudioInputMessageFilter; |
| 61 class AudioMessageFilter; | 58 class AudioMessageFilter; |
| 62 class AudioRendererMixerManager; | 59 class AudioRendererMixerManager; |
| 63 class CompositorThread; | 60 class CompositorThread; |
| 64 class DevToolsAgentFilter; | 61 class DevToolsAgentFilter; |
| 65 class DomStorageDispatcher; | 62 class DomStorageDispatcher; |
| 63 class GpuChannelHost; |
| 64 class IndexedDBDispatcher; |
| 66 class MediaStreamCenter; | 65 class MediaStreamCenter; |
| 67 class MediaStreamDependencyFactory; | 66 class MediaStreamDependencyFactory; |
| 68 class P2PSocketDispatcher; | 67 class P2PSocketDispatcher; |
| 69 class RendererWebKitPlatformSupportImpl; | 68 class RendererWebKitPlatformSupportImpl; |
| 70 class RenderProcessObserver; | 69 class RenderProcessObserver; |
| 71 class VideoCaptureImplManager; | 70 class VideoCaptureImplManager; |
| 71 class WebGraphicsContext3DCommandBufferImpl; |
| 72 | 72 |
| 73 namespace old { | 73 namespace old { |
| 74 class BrowserPluginChannelManager; | 74 class BrowserPluginChannelManager; |
| 75 class BrowserPluginRegistry; | 75 class BrowserPluginRegistry; |
| 76 } | 76 } |
| 77 | 77 |
| 78 // The RenderThreadImpl class represents a background thread where RenderView | 78 // The RenderThreadImpl class represents a background thread where RenderView |
| 79 // instances live. The RenderThread supports an API that is used by its | 79 // instances live. The RenderThread supports an API that is used by its |
| 80 // consumer to talk indirectly to the RenderViews and supporting objects. | 80 // consumer to talk indirectly to the RenderViews and supporting objects. |
| 81 // Likewise, it provides an API for the RenderViews to talk back to the main | 81 // Likewise, it provides an API for the RenderViews to talk back to the main |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 386 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
| 387 | 387 |
| 388 HistogramCustomizer histogram_customizer_; | 388 HistogramCustomizer histogram_customizer_; |
| 389 | 389 |
| 390 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 390 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 391 }; | 391 }; |
| 392 | 392 |
| 393 } // namespace content | 393 } // namespace content |
| 394 | 394 |
| 395 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 395 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |