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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 class MediaStreamCenter; | 91 class MediaStreamCenter; |
92 class MemoryObserver; | 92 class MemoryObserver; |
93 class PeerConnectionDependencyFactory; | 93 class PeerConnectionDependencyFactory; |
94 class MidiMessageFilter; | 94 class MidiMessageFilter; |
95 class NetInfoDispatcher; | 95 class NetInfoDispatcher; |
96 class P2PSocketDispatcher; | 96 class P2PSocketDispatcher; |
97 class PeerConnectionTracker; | 97 class PeerConnectionTracker; |
98 class RenderProcessObserver; | 98 class RenderProcessObserver; |
99 class RendererBlinkPlatformImpl; | 99 class RendererBlinkPlatformImpl; |
100 class RendererDemuxerAndroid; | 100 class RendererDemuxerAndroid; |
| 101 class ResourceSchedulingFilter; |
101 class VideoCaptureImplManager; | 102 class VideoCaptureImplManager; |
102 class WebGraphicsContext3DCommandBufferImpl; | 103 class WebGraphicsContext3DCommandBufferImpl; |
103 class WebRTCIdentityService; | 104 class WebRTCIdentityService; |
104 | 105 |
105 // The RenderThreadImpl class represents a background thread where RenderView | 106 // The RenderThreadImpl class represents a background thread where RenderView |
106 // instances live. The RenderThread supports an API that is used by its | 107 // instances live. The RenderThread supports an API that is used by its |
107 // consumer to talk indirectly to the RenderViews and supporting objects. | 108 // consumer to talk indirectly to the RenderViews and supporting objects. |
108 // Likewise, it provides an API for the RenderViews to talk back to the main | 109 // Likewise, it provides an API for the RenderViews to talk back to the main |
109 // process (i.e., their corresponding WebContentsImpl). | 110 // process (i.e., their corresponding WebContentsImpl). |
110 // | 111 // |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 | 553 |
553 #if defined(ENABLE_WEBRTC) | 554 #if defined(ENABLE_WEBRTC) |
554 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; | 555 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; |
555 #endif | 556 #endif |
556 | 557 |
557 scoped_ptr<MemoryObserver> memory_observer_; | 558 scoped_ptr<MemoryObserver> memory_observer_; |
558 | 559 |
559 scoped_refptr<base::SingleThreadTaskRunner> | 560 scoped_refptr<base::SingleThreadTaskRunner> |
560 main_thread_compositor_task_runner_; | 561 main_thread_compositor_task_runner_; |
561 | 562 |
| 563 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; |
| 564 |
562 // Compositor settings | 565 // Compositor settings |
563 bool is_gpu_rasterization_enabled_; | 566 bool is_gpu_rasterization_enabled_; |
564 bool is_gpu_rasterization_forced_; | 567 bool is_gpu_rasterization_forced_; |
565 bool is_impl_side_painting_enabled_; | 568 bool is_impl_side_painting_enabled_; |
566 bool is_lcd_text_enabled_; | 569 bool is_lcd_text_enabled_; |
567 bool is_distance_field_text_enabled_; | 570 bool is_distance_field_text_enabled_; |
568 bool is_zero_copy_enabled_; | 571 bool is_zero_copy_enabled_; |
569 bool is_one_copy_enabled_; | 572 bool is_one_copy_enabled_; |
570 | 573 |
571 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 574 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
572 | 575 |
573 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 576 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
574 }; | 577 }; |
575 | 578 |
576 } // namespace content | 579 } // namespace content |
577 | 580 |
578 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 581 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |