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

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

Issue 1366883002: [Reland] Post loading tasks on the appropriate WebFrameScheduler's queue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a clone method to WebTaskRunner which lets us solve the lifetime issue. Created 5 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 class MidiMessageFilter; 102 class MidiMessageFilter;
103 class NetInfoDispatcher; 103 class NetInfoDispatcher;
104 class P2PSocketDispatcher; 104 class P2PSocketDispatcher;
105 class PeerConnectionDependencyFactory; 105 class PeerConnectionDependencyFactory;
106 class PeerConnectionTracker; 106 class PeerConnectionTracker;
107 class RasterWorkerPool; 107 class RasterWorkerPool;
108 class RenderProcessObserver; 108 class RenderProcessObserver;
109 class RendererBlinkPlatformImpl; 109 class RendererBlinkPlatformImpl;
110 class RendererDemuxerAndroid; 110 class RendererDemuxerAndroid;
111 class ResourceDispatchThrottler; 111 class ResourceDispatchThrottler;
112 class ResourceSchedulingFilter;
113 class V8SamplingProfiler; 112 class V8SamplingProfiler;
114 class VideoCaptureImplManager; 113 class VideoCaptureImplManager;
115 class WebGraphicsContext3DCommandBufferImpl; 114 class WebGraphicsContext3DCommandBufferImpl;
116 class WebRTCIdentityService; 115 class WebRTCIdentityService;
117 116
118 #if defined(COMPILER_MSVC) 117 #if defined(COMPILER_MSVC)
119 // See explanation for other RenderViewHostImpl which is the same issue. 118 // See explanation for other RenderViewHostImpl which is the same issue.
120 #pragma warning(push) 119 #pragma warning(push)
121 #pragma warning(disable: 4250) 120 #pragma warning(disable: 4250)
122 #endif 121 #endif
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 605
607 #if defined(ENABLE_WEBRTC) 606 #if defined(ENABLE_WEBRTC)
608 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; 607 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_;
609 #endif 608 #endif
610 609
611 scoped_ptr<MemoryObserver> memory_observer_; 610 scoped_ptr<MemoryObserver> memory_observer_;
612 611
613 scoped_refptr<base::SingleThreadTaskRunner> 612 scoped_refptr<base::SingleThreadTaskRunner>
614 main_thread_compositor_task_runner_; 613 main_thread_compositor_task_runner_;
615 614
616 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_;
617
618 // Compositor settings. 615 // Compositor settings.
619 bool is_gpu_rasterization_enabled_; 616 bool is_gpu_rasterization_enabled_;
620 bool is_gpu_rasterization_forced_; 617 bool is_gpu_rasterization_forced_;
621 int gpu_rasterization_msaa_sample_count_; 618 int gpu_rasterization_msaa_sample_count_;
622 bool is_lcd_text_enabled_; 619 bool is_lcd_text_enabled_;
623 bool is_distance_field_text_enabled_; 620 bool is_distance_field_text_enabled_;
624 bool is_zero_copy_enabled_; 621 bool is_zero_copy_enabled_;
625 bool is_one_copy_enabled_; 622 bool is_one_copy_enabled_;
626 bool is_persistent_gpu_memory_buffer_enabled_; 623 bool is_persistent_gpu_memory_buffer_enabled_;
627 bool is_elastic_overscroll_enabled_; 624 bool is_elastic_overscroll_enabled_;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 660 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
664 }; 661 };
665 662
666 #if defined(COMPILER_MSVC) 663 #if defined(COMPILER_MSVC)
667 #pragma warning(pop) 664 #pragma warning(pop)
668 #endif 665 #endif
669 666
670 } // namespace content 667 } // namespace content
671 668
672 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 669 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698