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

Unified Diff: third_party/WebKit/public/platform/Platform.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 | « third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index 851d68f7a7a2fe8e3bf54af77b68a9ceb64fd6ac..1703be68b1f34e2408953a601ff131018099bc67 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -434,6 +434,10 @@ public:
// Returns an interface to the main thread. Can be null if blink was initialized on a thread without a message loop.
BLINK_PLATFORM_EXPORT WebThread* mainThread() const;
+ // Returns an interface to the compositor thread. This can be null if the
+ // renderer was created with threaded rendering desabled.
+ virtual WebThread* compositorThread() const { return 0; }
+
// Vibration -----------------------------------------------------------
// Starts a vibration for the given duration in milliseconds. If there is currently an active
« no previous file with comments | « third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698