| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 } | 86 } |
| 87 | 87 |
| 88 namespace v8 { | 88 namespace v8 { |
| 89 class Extension; | 89 class Extension; |
| 90 } | 90 } |
| 91 | 91 |
| 92 namespace content { | 92 namespace content { |
| 93 | 93 |
| 94 class AppCacheDispatcher; | 94 class AppCacheDispatcher; |
| 95 class AecDumpMessageFilter; | 95 class AecDumpMessageFilter; |
| 96 class AudioOutputClient; |
| 96 class AudioInputMessageFilter; | 97 class AudioInputMessageFilter; |
| 97 class AudioMessageFilter; | 98 class AudioMessageFilter; |
| 98 class AudioRendererMixerManager; | 99 class AudioRendererMixerManager; |
| 99 class BlobMessageFilter; | 100 class BlobMessageFilter; |
| 100 class BluetoothMessageFilter; | 101 class BluetoothMessageFilter; |
| 101 class BrowserPluginManager; | 102 class BrowserPluginManager; |
| 102 class CacheStorageDispatcher; | 103 class CacheStorageDispatcher; |
| 103 class CompositorForwardingMessageFilter; | 104 class CompositorForwardingMessageFilter; |
| 104 class ContextProviderCommandBuffer; | 105 class ContextProviderCommandBuffer; |
| 105 class DBMessageFilter; | 106 class DBMessageFilter; |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 const ViewMsg_UpdateScrollbarTheme_Params& params); | 516 const ViewMsg_UpdateScrollbarTheme_Params& params); |
| 516 void OnSystemColorsChanged(int aqua_color_variant, | 517 void OnSystemColorsChanged(int aqua_color_variant, |
| 517 const std::string& highlight_text_color, | 518 const std::string& highlight_text_color, |
| 518 const std::string& highlight_color); | 519 const std::string& highlight_color); |
| 519 #endif | 520 #endif |
| 520 void OnCreateNewSharedWorker( | 521 void OnCreateNewSharedWorker( |
| 521 const WorkerProcessMsg_CreateWorker_Params& params); | 522 const WorkerProcessMsg_CreateWorker_Params& params); |
| 522 bool RendererIsHidden() const; | 523 bool RendererIsHidden() const; |
| 523 void OnRendererHidden(); | 524 void OnRendererHidden(); |
| 524 void OnRendererVisible(); | 525 void OnRendererVisible(); |
| 525 | |
| 526 void ReleaseFreeMemory(); | 526 void ReleaseFreeMemory(); |
| 527 | 527 |
| 528 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); | 528 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); |
| 529 | 529 |
| 530 // These objects live solely on the render thread. | 530 // These objects live solely on the render thread. |
| 531 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 531 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 532 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 532 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 533 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 533 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 534 scoped_ptr<scheduler::RendererScheduler> renderer_scheduler_; | 534 scoped_ptr<scheduler::RendererScheduler> renderer_scheduler_; |
| 535 scoped_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; | 535 scoped_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 561 // of all the peer connections created in the renderer. | 561 // of all the peer connections created in the renderer. |
| 562 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 562 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
| 563 | 563 |
| 564 // Dispatches all P2P sockets. | 564 // Dispatches all P2P sockets. |
| 565 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 565 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
| 566 #endif | 566 #endif |
| 567 | 567 |
| 568 // Used on the render thread. | 568 // Used on the render thread. |
| 569 scoped_ptr<VideoCaptureImplManager> vc_manager_; | 569 scoped_ptr<VideoCaptureImplManager> vc_manager_; |
| 570 | 570 |
| 571 AudioOutputClient* audio_output_client_; |
| 572 |
| 571 // Used for communicating registering AEC dump consumers with the browser and | 573 // Used for communicating registering AEC dump consumers with the browser and |
| 572 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is | 574 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is |
| 573 // diagnostic audio data for WebRTC stored locally when enabled by the user in | 575 // diagnostic audio data for WebRTC stored locally when enabled by the user in |
| 574 // chrome://webrtc-internals. | 576 // chrome://webrtc-internals. |
| 575 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; | 577 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; |
| 576 | 578 |
| 577 // The count of RenderWidgets running through this thread. | 579 // The count of RenderWidgets running through this thread. |
| 578 int widget_count_; | 580 int widget_count_; |
| 579 | 581 |
| 580 // The count of hidden RenderWidgets running through this thread. | 582 // The count of hidden RenderWidgets running through this thread. |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 719 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 718 }; | 720 }; |
| 719 | 721 |
| 720 #if defined(COMPILER_MSVC) | 722 #if defined(COMPILER_MSVC) |
| 721 #pragma warning(pop) | 723 #pragma warning(pop) |
| 722 #endif | 724 #endif |
| 723 | 725 |
| 724 } // namespace content | 726 } // namespace content |
| 725 | 727 |
| 726 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 728 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |