Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2549213005: Reland of placing allocate bitmap IPC messages with a new Mojo interface. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 class AppCacheDispatcher; 104 class AppCacheDispatcher;
105 class AecDumpMessageFilter; 105 class AecDumpMessageFilter;
106 class AudioInputMessageFilter; 106 class AudioInputMessageFilter;
107 class AudioMessageFilter; 107 class AudioMessageFilter;
108 class AudioRendererMixerManager; 108 class AudioRendererMixerManager;
109 class BlobMessageFilter; 109 class BlobMessageFilter;
110 class BrowserPluginManager; 110 class BrowserPluginManager;
111 class CacheStorageDispatcher; 111 class CacheStorageDispatcher;
112 class ChildGpuMemoryBufferManager; 112 class ChildGpuMemoryBufferManager;
113 class ChildSharedBitmapManager;
113 class CompositorForwardingMessageFilter; 114 class CompositorForwardingMessageFilter;
114 class ContextProviderCommandBuffer; 115 class ContextProviderCommandBuffer;
115 class DBMessageFilter; 116 class DBMessageFilter;
116 class DevToolsAgentFilter; 117 class DevToolsAgentFilter;
117 class DomStorageDispatcher; 118 class DomStorageDispatcher;
118 class EmbeddedWorkerDispatcher; 119 class EmbeddedWorkerDispatcher;
119 class FrameSwapMessageQueue; 120 class FrameSwapMessageQueue;
120 class IndexedDBDispatcher; 121 class IndexedDBDispatcher;
121 class InputHandlerManager; 122 class InputHandlerManager;
122 class MemoryObserver; 123 class MemoryObserver;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. 346 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled.
346 P2PSocketDispatcher* p2p_socket_dispatcher() { 347 P2PSocketDispatcher* p2p_socket_dispatcher() {
347 return p2p_socket_dispatcher_.get(); 348 return p2p_socket_dispatcher_.get();
348 } 349 }
349 #endif 350 #endif
350 351
351 VideoCaptureImplManager* video_capture_impl_manager() const { 352 VideoCaptureImplManager* video_capture_impl_manager() const {
352 return vc_manager_.get(); 353 return vc_manager_.get();
353 } 354 }
354 355
356 ChildSharedBitmapManager* shared_bitmap_manager() const {
357 DCHECK(shared_bitmap_manager_);
358 return shared_bitmap_manager_.get();
359 }
360
355 mojom::RenderFrameMessageFilter* render_frame_message_filter(); 361 mojom::RenderFrameMessageFilter* render_frame_message_filter();
356 mojom::RenderMessageFilter* render_message_filter(); 362 mojom::RenderMessageFilter* render_message_filter();
357 const scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>& 363 const scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>&
358 thread_safe_render_message_filter(); 364 thread_safe_render_message_filter();
359 365
360 // Get the GPU channel. Returns NULL if the channel is not established or 366 // Get the GPU channel. Returns NULL if the channel is not established or
361 // has been lost. 367 // has been lost.
362 gpu::GpuChannelHost* GetGpuChannel(); 368 gpu::GpuChannelHost* GetGpuChannel();
363 369
364 // Returns a SingleThreadTaskRunner instance corresponding to the message loop 370 // Returns a SingleThreadTaskRunner instance corresponding to the message loop
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 // diagnostic audio data for WebRTC stored locally when enabled by the user in 608 // diagnostic audio data for WebRTC stored locally when enabled by the user in
603 // chrome://webrtc-internals. 609 // chrome://webrtc-internals.
604 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; 610 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_;
605 #endif 611 #endif
606 612
607 // Used on the render thread. 613 // Used on the render thread.
608 std::unique_ptr<VideoCaptureImplManager> vc_manager_; 614 std::unique_ptr<VideoCaptureImplManager> vc_manager_;
609 std::unique_ptr<ThreadSafeAssociatedInterfacePtrProvider> 615 std::unique_ptr<ThreadSafeAssociatedInterfacePtrProvider>
610 thread_safe_associated_interface_ptr_provider_; 616 thread_safe_associated_interface_ptr_provider_;
611 617
618 std::unique_ptr<ChildSharedBitmapManager> shared_bitmap_manager_;
619
612 // The count of RenderWidgets running through this thread. 620 // The count of RenderWidgets running through this thread.
613 int widget_count_; 621 int widget_count_;
614 622
615 // The count of hidden RenderWidgets running through this thread. 623 // The count of hidden RenderWidgets running through this thread.
616 int hidden_widget_count_; 624 int hidden_widget_count_;
617 625
618 // The current value of the idle notification timer delay. 626 // The current value of the idle notification timer delay.
619 int64_t idle_notification_delay_in_ms_; 627 int64_t idle_notification_delay_in_ms_;
620 628
621 // The number of idle handler calls that skip sending idle notifications. 629 // The number of idle handler calls that skip sending idle notifications.
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 768 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
761 }; 769 };
762 770
763 #if defined(COMPILER_MSVC) 771 #if defined(COMPILER_MSVC)
764 #pragma warning(pop) 772 #pragma warning(pop)
765 #endif 773 #endif
766 774
767 } // namespace content 775 } // namespace content
768 776
769 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 777 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_compositor_host.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698