| OLD | NEW |
| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_output_surface_filter() const { |
| 208 return compositor_output_surface_filter_.get(); | 208 return compositor_output_surface_filter_.get(); |
| 209 } | 209 } |
| 210 | 210 |
| 211 IPC::ForwardingMessageFilter* begin_frame_source_filter() const { |
| 212 return begin_frame_source_filter_.get(); |
| 213 } |
| 214 |
| 211 InputHandlerManager* input_handler_manager() const { | 215 InputHandlerManager* input_handler_manager() const { |
| 212 return input_handler_manager_.get(); | 216 return input_handler_manager_.get(); |
| 213 } | 217 } |
| 214 | 218 |
| 215 // Will be NULL if threaded compositing has not been enabled. | 219 // Will be NULL if threaded compositing has not been enabled. |
| 216 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy() const { | 220 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy() const { |
| 217 return compositor_message_loop_proxy_; | 221 return compositor_message_loop_proxy_; |
| 218 } | 222 } |
| 219 | 223 |
| 220 bool is_gpu_rasterization_enabled() const { | 224 bool is_gpu_rasterization_enabled() const { |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 scoped_ptr<base::Thread> media_thread_; | 537 scoped_ptr<base::Thread> media_thread_; |
| 534 | 538 |
| 535 // Will point to appropriate MessageLoopProxy after initialization, | 539 // Will point to appropriate MessageLoopProxy after initialization, |
| 536 // regardless of whether |compositor_thread_| is overriden. | 540 // regardless of whether |compositor_thread_| is overriden. |
| 537 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; | 541 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; |
| 538 | 542 |
| 539 // May be null if unused by the |input_handler_manager_|. | 543 // May be null if unused by the |input_handler_manager_|. |
| 540 scoped_refptr<InputEventFilter> input_event_filter_; | 544 scoped_refptr<InputEventFilter> input_event_filter_; |
| 541 scoped_ptr<InputHandlerManager> input_handler_manager_; | 545 scoped_ptr<InputHandlerManager> input_handler_manager_; |
| 542 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; | 546 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; |
| 547 scoped_refptr<IPC::ForwardingMessageFilter> begin_frame_source_filter_; |
| 543 | 548 |
| 544 scoped_refptr<webkit::gpu::ContextProviderWebContext> | 549 scoped_refptr<webkit::gpu::ContextProviderWebContext> |
| 545 shared_main_thread_contexts_; | 550 shared_main_thread_contexts_; |
| 546 | 551 |
| 547 ObserverList<RenderProcessObserver> observers_; | 552 ObserverList<RenderProcessObserver> observers_; |
| 548 | 553 |
| 549 scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_; | 554 scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_; |
| 550 | 555 |
| 551 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 556 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
| 552 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 557 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 579 bool is_one_copy_enabled_; | 584 bool is_one_copy_enabled_; |
| 580 | 585 |
| 581 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 586 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
| 582 | 587 |
| 583 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 588 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 584 }; | 589 }; |
| 585 | 590 |
| 586 } // namespace content | 591 } // namespace content |
| 587 | 592 |
| 588 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 593 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |