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

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

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 8 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
« no previous file with comments | « content/renderer/input/input_handler_manager.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 namespace IPC { 64 namespace IPC {
65 class MessageFilter; 65 class MessageFilter;
66 } 66 }
67 67
68 namespace media { 68 namespace media {
69 class AudioHardwareConfig; 69 class AudioHardwareConfig;
70 class GpuVideoAcceleratorFactories; 70 class GpuVideoAcceleratorFactories;
71 } 71 }
72 72
73 namespace scheduler {
74 class RendererScheduler;
75 }
76
73 namespace v8 { 77 namespace v8 {
74 class Extension; 78 class Extension;
75 } 79 }
76 80
77 namespace content { 81 namespace content {
78 82
79 class AppCacheDispatcher; 83 class AppCacheDispatcher;
80 class AecDumpMessageFilter; 84 class AecDumpMessageFilter;
81 class AudioInputMessageFilter; 85 class AudioInputMessageFilter;
82 class AudioMessageFilter; 86 class AudioMessageFilter;
(...skipping 12 matching lines...) Expand all
95 class MediaStreamCenter; 99 class MediaStreamCenter;
96 class MemoryObserver; 100 class MemoryObserver;
97 class MidiMessageFilter; 101 class MidiMessageFilter;
98 class NetInfoDispatcher; 102 class NetInfoDispatcher;
99 class P2PSocketDispatcher; 103 class P2PSocketDispatcher;
100 class PeerConnectionDependencyFactory; 104 class PeerConnectionDependencyFactory;
101 class PeerConnectionTracker; 105 class PeerConnectionTracker;
102 class RenderProcessObserver; 106 class RenderProcessObserver;
103 class RendererBlinkPlatformImpl; 107 class RendererBlinkPlatformImpl;
104 class RendererDemuxerAndroid; 108 class RendererDemuxerAndroid;
105 class RendererScheduler;
106 class ResourceDispatchThrottler; 109 class ResourceDispatchThrottler;
107 class ResourceSchedulingFilter; 110 class ResourceSchedulingFilter;
108 class V8SamplingProfiler; 111 class V8SamplingProfiler;
109 class VideoCaptureImplManager; 112 class VideoCaptureImplManager;
110 class WebGraphicsContext3DCommandBufferImpl; 113 class WebGraphicsContext3DCommandBufferImpl;
111 class WebRTCIdentityService; 114 class WebRTCIdentityService;
112 115
113 #if defined(COMPILER_MSVC) 116 #if defined(COMPILER_MSVC)
114 // See explanation for other RenderViewHostImpl which is the same issue. 117 // See explanation for other RenderViewHostImpl which is the same issue.
115 #pragma warning(push) 118 #pragma warning(push)
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 bool IsZeroCopyEnabled() override; 193 bool IsZeroCopyEnabled() override;
191 bool IsOneCopyEnabled() override; 194 bool IsOneCopyEnabled() override;
192 bool IsElasticOverscrollEnabled() override; 195 bool IsElasticOverscrollEnabled() override;
193 bool UseSingleThreadScheduler() override; 196 bool UseSingleThreadScheduler() override;
194 uint32 GetImageTextureTarget() override; 197 uint32 GetImageTextureTarget() override;
195 scoped_refptr<base::SingleThreadTaskRunner> 198 scoped_refptr<base::SingleThreadTaskRunner>
196 GetCompositorMainThreadTaskRunner() override; 199 GetCompositorMainThreadTaskRunner() override;
197 scoped_refptr<base::SingleThreadTaskRunner> 200 scoped_refptr<base::SingleThreadTaskRunner>
198 GetCompositorImplThreadTaskRunner() override; 201 GetCompositorImplThreadTaskRunner() override;
199 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; 202 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
200 RendererScheduler* GetRendererScheduler() override; 203 scheduler::RendererScheduler* GetRendererScheduler() override;
201 cc::ContextProvider* GetSharedMainThreadContextProvider() override; 204 cc::ContextProvider* GetSharedMainThreadContextProvider() override;
202 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( 205 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource(
203 int routing_id) override; 206 int routing_id) override;
204 cc::TaskGraphRunner* GetTaskGraphRunner() override; 207 cc::TaskGraphRunner* GetTaskGraphRunner() override;
205 bool IsGatherPixelRefsEnabled() override; 208 bool IsGatherPixelRefsEnabled() override;
206 209
207 // Synchronously establish a channel to the GPU plugin if not previously 210 // Synchronously establish a channel to the GPU plugin if not previously
208 // established or if it has been lost (for example if the GPU plugin crashed). 211 // established or if it has been lost (for example if the GPU plugin crashed).
209 // If there is a pending asynchronous request, it will be completed by the 212 // If there is a pending asynchronous request, it will be completed by the
210 // time this routine returns. 213 // time this routine returns.
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 bool RendererIsHidden() const; 476 bool RendererIsHidden() const;
474 void OnRendererHidden(); 477 void OnRendererHidden();
475 void OnRendererVisible(); 478 void OnRendererVisible();
476 479
477 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); 480 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d();
478 481
479 // These objects live solely on the render thread. 482 // These objects live solely on the render thread.
480 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 483 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
481 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; 484 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_;
482 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; 485 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_;
483 scoped_ptr<RendererScheduler> renderer_scheduler_; 486 scoped_ptr<scheduler::RendererScheduler> renderer_scheduler_;
484 scoped_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; 487 scoped_ptr<RendererBlinkPlatformImpl> blink_platform_impl_;
485 scoped_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; 488 scoped_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_;
486 scoped_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; 489 scoped_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_;
487 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; 490 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_;
488 491
489 // Used on the render thread and deleted by WebKit at shutdown. 492 // Used on the render thread and deleted by WebKit at shutdown.
490 blink::WebMediaStreamCenter* media_stream_center_; 493 blink::WebMediaStreamCenter* media_stream_center_;
491 494
492 // Used on the renderer and IPC threads. 495 // Used on the renderer and IPC threads.
493 scoped_refptr<DBMessageFilter> db_message_filter_; 496 scoped_refptr<DBMessageFilter> db_message_filter_;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 654 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
652 }; 655 };
653 656
654 #if defined(COMPILER_MSVC) 657 #if defined(COMPILER_MSVC)
655 #pragma warning(pop) 658 #pragma warning(pop)
656 #endif 659 #endif
657 660
658 } // namespace content 661 } // namespace content
659 662
660 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 663 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/input/input_handler_manager.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698