| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 } | 81 } |
| 82 | 82 |
| 83 namespace v8 { | 83 namespace v8 { |
| 84 class Extension; | 84 class Extension; |
| 85 } | 85 } |
| 86 | 86 |
| 87 namespace content { | 87 namespace content { |
| 88 | 88 |
| 89 class AppCacheDispatcher; | 89 class AppCacheDispatcher; |
| 90 class AecDumpMessageFilter; | 90 class AecDumpMessageFilter; |
| 91 class AudioOutputClient; |
| 91 class AudioInputMessageFilter; | 92 class AudioInputMessageFilter; |
| 92 class AudioMessageFilter; | 93 class AudioMessageFilter; |
| 93 class AudioRendererMixerManager; | 94 class AudioRendererMixerManager; |
| 94 class BluetoothMessageFilter; | 95 class BluetoothMessageFilter; |
| 95 class BrowserPluginManager; | 96 class BrowserPluginManager; |
| 96 class CacheStorageDispatcher; | 97 class CacheStorageDispatcher; |
| 97 class CompositorForwardingMessageFilter; | 98 class CompositorForwardingMessageFilter; |
| 98 class ContextProviderCommandBuffer; | 99 class ContextProviderCommandBuffer; |
| 99 class DBMessageFilter; | 100 class DBMessageFilter; |
| 100 class DevToolsAgentFilter; | 101 class DevToolsAgentFilter; |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 const ViewMsg_UpdateScrollbarTheme_Params& params); | 510 const ViewMsg_UpdateScrollbarTheme_Params& params); |
| 510 void OnSystemColorsChanged(int aqua_color_variant, | 511 void OnSystemColorsChanged(int aqua_color_variant, |
| 511 const std::string& highlight_text_color, | 512 const std::string& highlight_text_color, |
| 512 const std::string& highlight_color); | 513 const std::string& highlight_color); |
| 513 #endif | 514 #endif |
| 514 void OnCreateNewSharedWorker( | 515 void OnCreateNewSharedWorker( |
| 515 const WorkerProcessMsg_CreateWorker_Params& params); | 516 const WorkerProcessMsg_CreateWorker_Params& params); |
| 516 bool RendererIsHidden() const; | 517 bool RendererIsHidden() const; |
| 517 void OnRendererHidden(); | 518 void OnRendererHidden(); |
| 518 void OnRendererVisible(); | 519 void OnRendererVisible(); |
| 519 | |
| 520 void ReleaseFreeMemory(); | 520 void ReleaseFreeMemory(); |
| 521 | 521 |
| 522 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); | 522 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); |
| 523 | 523 |
| 524 // These objects live solely on the render thread. | 524 // These objects live solely on the render thread. |
| 525 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 525 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 526 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 526 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 527 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 527 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 528 scoped_ptr<scheduler::RendererScheduler> renderer_scheduler_; | 528 scoped_ptr<scheduler::RendererScheduler> renderer_scheduler_; |
| 529 scoped_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; | 529 scoped_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 554 // of all the peer connections created in the renderer. | 554 // of all the peer connections created in the renderer. |
| 555 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 555 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
| 556 | 556 |
| 557 // Dispatches all P2P sockets. | 557 // Dispatches all P2P sockets. |
| 558 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 558 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
| 559 #endif | 559 #endif |
| 560 | 560 |
| 561 // Used on the render thread. | 561 // Used on the render thread. |
| 562 scoped_ptr<VideoCaptureImplManager> vc_manager_; | 562 scoped_ptr<VideoCaptureImplManager> vc_manager_; |
| 563 | 563 |
| 564 AudioOutputClient* audio_output_client_; |
| 565 |
| 564 // Used for communicating registering AEC dump consumers with the browser and | 566 // Used for communicating registering AEC dump consumers with the browser and |
| 565 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is | 567 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is |
| 566 // diagnostic audio data for WebRTC stored locally when enabled by the user in | 568 // diagnostic audio data for WebRTC stored locally when enabled by the user in |
| 567 // chrome://webrtc-internals. | 569 // chrome://webrtc-internals. |
| 568 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; | 570 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; |
| 569 | 571 |
| 570 // The count of RenderWidgets running through this thread. | 572 // The count of RenderWidgets running through this thread. |
| 571 int widget_count_; | 573 int widget_count_; |
| 572 | 574 |
| 573 // The count of hidden RenderWidgets running through this thread. | 575 // The count of hidden RenderWidgets running through this thread. |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 712 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 711 }; | 713 }; |
| 712 | 714 |
| 713 #if defined(COMPILER_MSVC) | 715 #if defined(COMPILER_MSVC) |
| 714 #pragma warning(pop) | 716 #pragma warning(pop) |
| 715 #endif | 717 #endif |
| 716 | 718 |
| 717 } // namespace content | 719 } // namespace content |
| 718 | 720 |
| 719 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 721 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |