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

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

Issue 1408123005: Android Webview IPC-based sync compositing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win compile Created 5 years, 1 month 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 class RenderProcessObserver; 108 class RenderProcessObserver;
109 class RendererBlinkPlatformImpl; 109 class RendererBlinkPlatformImpl;
110 class RendererDemuxerAndroid; 110 class RendererDemuxerAndroid;
111 class RendererGpuVideoAcceleratorFactories; 111 class RendererGpuVideoAcceleratorFactories;
112 class ResourceDispatchThrottler; 112 class ResourceDispatchThrottler;
113 class V8SamplingProfiler; 113 class V8SamplingProfiler;
114 class VideoCaptureImplManager; 114 class VideoCaptureImplManager;
115 class WebGraphicsContext3DCommandBufferImpl; 115 class WebGraphicsContext3DCommandBufferImpl;
116 class WebRTCIdentityService; 116 class WebRTCIdentityService;
117 117
118 #if defined(OS_ANDROID)
119 class SynchronousCompositorFilter;
120 #endif
121
118 #if defined(COMPILER_MSVC) 122 #if defined(COMPILER_MSVC)
119 // See explanation for other RenderViewHostImpl which is the same issue. 123 // See explanation for other RenderViewHostImpl which is the same issue.
120 #pragma warning(push) 124 #pragma warning(push)
121 #pragma warning(disable: 4250) 125 #pragma warning(disable: 4250)
122 #endif 126 #endif
123 127
124 // The RenderThreadImpl class represents a background thread where RenderView 128 // The RenderThreadImpl class represents a background thread where RenderView
125 // instances live. The RenderThread supports an API that is used by its 129 // instances live. The RenderThread supports an API that is used by its
126 // consumer to talk indirectly to the RenderViews and supporting objects. 130 // consumer to talk indirectly to the RenderViews and supporting objects.
127 // Likewise, it provides an API for the RenderViews to talk back to the main 131 // Likewise, it provides an API for the RenderViews to talk back to the main
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 } 277 }
274 278
275 MidiMessageFilter* midi_message_filter() { 279 MidiMessageFilter* midi_message_filter() {
276 return midi_message_filter_.get(); 280 return midi_message_filter_.get();
277 } 281 }
278 282
279 #if defined(OS_ANDROID) 283 #if defined(OS_ANDROID)
280 RendererDemuxerAndroid* renderer_demuxer() { 284 RendererDemuxerAndroid* renderer_demuxer() {
281 return renderer_demuxer_.get(); 285 return renderer_demuxer_.get();
282 } 286 }
287
288 SynchronousCompositorFilter* sync_compositor_message_filter() {
289 return sync_compositor_message_filter_.get();
290 }
283 #endif 291 #endif
284 292
285 // Creates the embedder implementation of WebMediaStreamCenter. 293 // Creates the embedder implementation of WebMediaStreamCenter.
286 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. 294 // The resulting object is owned by WebKit and deleted by WebKit at tear-down.
287 blink::WebMediaStreamCenter* CreateMediaStreamCenter( 295 blink::WebMediaStreamCenter* CreateMediaStreamCenter(
288 blink::WebMediaStreamCenterClient* client); 296 blink::WebMediaStreamCenterClient* client);
289 297
290 BrowserPluginManager* browser_plugin_manager() const { 298 BrowserPluginManager* browser_plugin_manager() const {
291 return browser_plugin_manager_.get(); 299 return browser_plugin_manager_.get();
292 } 300 }
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; 603 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_;
596 604
597 // Pool of workers used for raster operations (e.g., tile rasterization). 605 // Pool of workers used for raster operations (e.g., tile rasterization).
598 scoped_refptr<RasterWorkerPool> raster_worker_pool_; 606 scoped_refptr<RasterWorkerPool> raster_worker_pool_;
599 607
600 base::CancelableCallback<void(const IPC::Message&)> main_input_callback_; 608 base::CancelableCallback<void(const IPC::Message&)> main_input_callback_;
601 scoped_refptr<IPC::MessageFilter> input_event_filter_; 609 scoped_refptr<IPC::MessageFilter> input_event_filter_;
602 scoped_ptr<InputHandlerManager> input_handler_manager_; 610 scoped_ptr<InputHandlerManager> input_handler_manager_;
603 scoped_refptr<CompositorForwardingMessageFilter> compositor_message_filter_; 611 scoped_refptr<CompositorForwardingMessageFilter> compositor_message_filter_;
604 612
613 #if defined(OS_ANDROID)
614 scoped_refptr<SynchronousCompositorFilter> sync_compositor_message_filter_;
615 #endif
616
605 scoped_refptr<BluetoothMessageFilter> bluetooth_message_filter_; 617 scoped_refptr<BluetoothMessageFilter> bluetooth_message_filter_;
606 618
607 scoped_refptr<cc_blink::ContextProviderWebContext> 619 scoped_refptr<cc_blink::ContextProviderWebContext>
608 shared_main_thread_contexts_; 620 shared_main_thread_contexts_;
609 621
610 base::ObserverList<RenderProcessObserver> observers_; 622 base::ObserverList<RenderProcessObserver> observers_;
611 623
612 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; 624 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_;
613 625
614 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 626 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 688 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
677 }; 689 };
678 690
679 #if defined(COMPILER_MSVC) 691 #if defined(COMPILER_MSVC)
680 #pragma warning(pop) 692 #pragma warning(pop)
681 #endif 693 #endif
682 694
683 } // namespace content 695 } // namespace content
684 696
685 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 697 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/input/input_handler_manager_client.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698