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

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, 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 RendererBlinkPlatformImpl* blink_platform_impl() const { 196 RendererBlinkPlatformImpl* blink_platform_impl() const {
197 DCHECK(blink_platform_impl_); 197 DCHECK(blink_platform_impl_);
198 return blink_platform_impl_.get(); 198 return blink_platform_impl_.get();
199 } 199 }
200 200
201 scoped_refptr<base::SingleThreadTaskRunner> 201 scoped_refptr<base::SingleThreadTaskRunner>
202 main_thread_compositor_task_runner() const { 202 main_thread_compositor_task_runner() const {
203 return main_thread_compositor_task_runner_; 203 return main_thread_compositor_task_runner_;
204 } 204 }
205 205
206 IPC::ForwardingMessageFilter* compositor_output_surface_filter() const { 206 IPC::ForwardingMessageFilter* compositor_message_filter() const {
207 return compositor_output_surface_filter_.get(); 207 return compositor_message_filter_.get();
208 } 208 }
209 209
210 InputHandlerManager* input_handler_manager() const { 210 InputHandlerManager* input_handler_manager() const {
211 return input_handler_manager_.get(); 211 return input_handler_manager_.get();
212 } 212 }
213 213
214 // Will be NULL if threaded compositing has not been enabled. 214 // Will be NULL if threaded compositing has not been enabled.
215 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy() const { 215 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy() const {
216 return compositor_message_loop_proxy_; 216 return compositor_message_loop_proxy_;
217 } 217 }
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 // Thread for running multimedia operations (e.g., video decoding). 525 // Thread for running multimedia operations (e.g., video decoding).
526 scoped_ptr<base::Thread> media_thread_; 526 scoped_ptr<base::Thread> media_thread_;
527 527
528 // Will point to appropriate MessageLoopProxy after initialization, 528 // Will point to appropriate MessageLoopProxy after initialization,
529 // regardless of whether |compositor_thread_| is overriden. 529 // regardless of whether |compositor_thread_| is overriden.
530 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; 530 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_;
531 531
532 // May be null if unused by the |input_handler_manager_|. 532 // May be null if unused by the |input_handler_manager_|.
533 scoped_refptr<InputEventFilter> input_event_filter_; 533 scoped_refptr<InputEventFilter> input_event_filter_;
534 scoped_ptr<InputHandlerManager> input_handler_manager_; 534 scoped_ptr<InputHandlerManager> input_handler_manager_;
535 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; 535 scoped_refptr<IPC::ForwardingMessageFilter> compositor_message_filter_;
536 536
537 scoped_refptr<webkit::gpu::ContextProviderWebContext> 537 scoped_refptr<webkit::gpu::ContextProviderWebContext>
538 shared_main_thread_contexts_; 538 shared_main_thread_contexts_;
539 539
540 ObserverList<RenderProcessObserver> observers_; 540 ObserverList<RenderProcessObserver> observers_;
541 541
542 scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_; 542 scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_;
543 543
544 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 544 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
545 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; 545 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_;
(...skipping 21 matching lines...) Expand all
567 bool is_one_copy_enabled_; 567 bool is_one_copy_enabled_;
568 568
569 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; 569 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_;
570 570
571 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 571 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
572 }; 572 };
573 573
574 } // namespace content 574 } // namespace content
575 575
576 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 576 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698