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

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

Issue 619843002: cc: Make separate interface for BeginFrame ipc from OutputSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 RendererBlinkPlatformImpl* blink_platform_impl() const { 197 RendererBlinkPlatformImpl* blink_platform_impl() const {
198 DCHECK(blink_platform_impl_); 198 DCHECK(blink_platform_impl_);
199 return blink_platform_impl_.get(); 199 return blink_platform_impl_.get();
200 } 200 }
201 201
202 scoped_refptr<base::SingleThreadTaskRunner> 202 scoped_refptr<base::SingleThreadTaskRunner>
203 main_thread_compositor_task_runner() const { 203 main_thread_compositor_task_runner() const {
204 return main_thread_compositor_task_runner_; 204 return main_thread_compositor_task_runner_;
205 } 205 }
206 206
207 IPC::ForwardingMessageFilter* compositor_output_surface_filter() const { 207 IPC::ForwardingMessageFilter* compositor_message_filter() const {
208 return compositor_output_surface_filter_.get(); 208 return compositor_message_filter_.get();
209 } 209 }
210 210
211 InputHandlerManager* input_handler_manager() const { 211 InputHandlerManager* input_handler_manager() const {
212 return input_handler_manager_.get(); 212 return input_handler_manager_.get();
213 } 213 }
214 214
215 // Will be NULL if threaded compositing has not been enabled. 215 // Will be NULL if threaded compositing has not been enabled.
216 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy() const { 216 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy() const {
217 return compositor_message_loop_proxy_; 217 return compositor_message_loop_proxy_;
218 } 218 }
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 // Thread for running multimedia operations (e.g., video decoding). 527 // Thread for running multimedia operations (e.g., video decoding).
528 scoped_ptr<base::Thread> media_thread_; 528 scoped_ptr<base::Thread> media_thread_;
529 529
530 // Will point to appropriate MessageLoopProxy after initialization, 530 // Will point to appropriate MessageLoopProxy after initialization,
531 // regardless of whether |compositor_thread_| is overriden. 531 // regardless of whether |compositor_thread_| is overriden.
532 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; 532 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_;
533 533
534 // May be null if unused by the |input_handler_manager_|. 534 // May be null if unused by the |input_handler_manager_|.
535 scoped_refptr<InputEventFilter> input_event_filter_; 535 scoped_refptr<InputEventFilter> input_event_filter_;
536 scoped_ptr<InputHandlerManager> input_handler_manager_; 536 scoped_ptr<InputHandlerManager> input_handler_manager_;
537 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; 537 scoped_refptr<IPC::ForwardingMessageFilter> compositor_message_filter_;
538 538
539 scoped_refptr<webkit::gpu::ContextProviderWebContext> 539 scoped_refptr<webkit::gpu::ContextProviderWebContext>
540 shared_main_thread_contexts_; 540 shared_main_thread_contexts_;
541 541
542 ObserverList<RenderProcessObserver> observers_; 542 ObserverList<RenderProcessObserver> observers_;
543 543
544 scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_; 544 scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_;
545 545
546 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 546 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
547 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; 547 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_;
(...skipping 21 matching lines...) Expand all
569 bool is_one_copy_enabled_; 569 bool is_one_copy_enabled_;
570 570
571 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; 571 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_;
572 572
573 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 573 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
574 }; 574 };
575 575
576 } // namespace content 576 } // namespace content
577 577
578 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 578 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698