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

Unified Diff: content/renderer/render_thread_impl.h

Issue 1449953002: compositor-worker: Refactor CompositorWorkerManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add documentation and ASSERTS for some subtleties. Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index ad108dcd50f2bd88b6b0850b3a13494dcfa24f03..f2292f5f34ffe4a3c4dd63290ddde481c8a71fb7 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -72,6 +72,7 @@ class GpuVideoAcceleratorFactories;
namespace scheduler {
class RendererScheduler;
+class WebThreadBase;
}
namespace v8 {
@@ -464,6 +465,8 @@ class CONTENT_EXPORT RenderThreadImpl
void Init();
+ void InitializeCompositorThread();
+
void OnCreateNewFrame(FrameMsg_NewFrame_Params params);
void OnCreateNewFrameProxy(int routing_id,
int render_view_routing_id,
@@ -588,7 +591,7 @@ class CONTENT_EXPORT RenderThreadImpl
scoped_ptr<base::Thread> file_thread_;
// May be null if overridden by ContentRendererClient.
- scoped_ptr<base::Thread> compositor_thread_;
+ scoped_ptr<scheduler::WebThreadBase> compositor_thread_;
// Utility class to provide GPU functionalities to media.
scoped_ptr<content::RendererGpuVideoAcceleratorFactories> gpu_factories_;
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698