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

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

Issue 2552913003: Revert of Replacing 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;
114 class CompositorForwardingMessageFilter; 113 class CompositorForwardingMessageFilter;
115 class ContextProviderCommandBuffer; 114 class ContextProviderCommandBuffer;
116 class DBMessageFilter; 115 class DBMessageFilter;
117 class DevToolsAgentFilter; 116 class DevToolsAgentFilter;
118 class DomStorageDispatcher; 117 class DomStorageDispatcher;
119 class EmbeddedWorkerDispatcher; 118 class EmbeddedWorkerDispatcher;
120 class FrameSwapMessageQueue; 119 class FrameSwapMessageQueue;
121 class IndexedDBDispatcher; 120 class IndexedDBDispatcher;
122 class InputHandlerManager; 121 class InputHandlerManager;
123 class MemoryObserver; 122 class MemoryObserver;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. 345 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled.
347 P2PSocketDispatcher* p2p_socket_dispatcher() { 346 P2PSocketDispatcher* p2p_socket_dispatcher() {
348 return p2p_socket_dispatcher_.get(); 347 return p2p_socket_dispatcher_.get();
349 } 348 }
350 #endif 349 #endif
351 350
352 VideoCaptureImplManager* video_capture_impl_manager() const { 351 VideoCaptureImplManager* video_capture_impl_manager() const {
353 return vc_manager_.get(); 352 return vc_manager_.get();
354 } 353 }
355 354
356 ChildSharedBitmapManager* shared_bitmap_manager() const {
357 DCHECK(shared_bitmap_manager_);
358 return shared_bitmap_manager_.get();
359 }
360
361 mojom::RenderFrameMessageFilter* render_frame_message_filter(); 355 mojom::RenderFrameMessageFilter* render_frame_message_filter();
362 mojom::RenderMessageFilter* render_message_filter(); 356 mojom::RenderMessageFilter* render_message_filter();
363 const scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>& 357 const scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>&
364 thread_safe_render_message_filter(); 358 thread_safe_render_message_filter();
365 359
366 // Get the GPU channel. Returns NULL if the channel is not established or 360 // Get the GPU channel. Returns NULL if the channel is not established or
367 // has been lost. 361 // has been lost.
368 gpu::GpuChannelHost* GetGpuChannel(); 362 gpu::GpuChannelHost* GetGpuChannel();
369 363
370 // Returns a SingleThreadTaskRunner instance corresponding to the message loop 364 // Returns a SingleThreadTaskRunner instance corresponding to the message loop
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 // diagnostic audio data for WebRTC stored locally when enabled by the user in 602 // diagnostic audio data for WebRTC stored locally when enabled by the user in
609 // chrome://webrtc-internals. 603 // chrome://webrtc-internals.
610 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; 604 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_;
611 #endif 605 #endif
612 606
613 // Used on the render thread. 607 // Used on the render thread.
614 std::unique_ptr<VideoCaptureImplManager> vc_manager_; 608 std::unique_ptr<VideoCaptureImplManager> vc_manager_;
615 std::unique_ptr<ThreadSafeAssociatedInterfacePtrProvider> 609 std::unique_ptr<ThreadSafeAssociatedInterfacePtrProvider>
616 thread_safe_associated_interface_ptr_provider_; 610 thread_safe_associated_interface_ptr_provider_;
617 611
618 std::unique_ptr<ChildSharedBitmapManager> shared_bitmap_manager_;
619
620 // The count of RenderWidgets running through this thread. 612 // The count of RenderWidgets running through this thread.
621 int widget_count_; 613 int widget_count_;
622 614
623 // The count of hidden RenderWidgets running through this thread. 615 // The count of hidden RenderWidgets running through this thread.
624 int hidden_widget_count_; 616 int hidden_widget_count_;
625 617
626 // The current value of the idle notification timer delay. 618 // The current value of the idle notification timer delay.
627 int64_t idle_notification_delay_in_ms_; 619 int64_t idle_notification_delay_in_ms_;
628 620
629 // The number of idle handler calls that skip sending idle notifications. 621 // The number of idle handler calls that skip sending idle notifications.
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 760 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
769 }; 761 };
770 762
771 #if defined(COMPILER_MSVC) 763 #if defined(COMPILER_MSVC)
772 #pragma warning(pop) 764 #pragma warning(pop)
773 #endif 765 #endif
774 766
775 } // namespace content 767 } // namespace content
776 768
777 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 769 #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