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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h

Issue 1625473002: compositor-worker: blink->cc plumbing Base URL: https://chromium.googlesource.com/chromium/src.git@upstream-compositor-worker
Patch Set: Merge with landing of https://codereview.chromium.org/1599673002/ on master Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
index fb702fb505256dc3d1c4daaae154cd4bc6e0f006..bae092916875cdfd7ea890980d2dce68591d22a3 100644
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
@@ -5,6 +5,7 @@
#ifndef CompositorWorkerGlobalScope_h
#define CompositorWorkerGlobalScope_h
+#include "core/dom/CompositorProxyClient.h"
#include "core/dom/FrameRequestCallbackCollection.h"
#include "core/dom/MessagePort.h"
#include "core/workers/WorkerGlobalScope.h"
@@ -28,7 +29,7 @@ public:
int requestAnimationFrame(FrameRequestCallback*);
void cancelAnimationFrame(int id);
- void executeAnimationFrameCallbacks(double highResTimeNow);
+ bool executeAnimationFrameCallbacks(double highResTimeNow);
// ExecutionContext:
bool isCompositorWorkerGlobalScope() const override { return true; }
@@ -39,7 +40,9 @@ private:
CompositorWorkerGlobalScope(const KURL&, const String& userAgent, CompositorWorkerThread*, double timeOrigin, PassOwnPtr<SecurityOrigin::PrivilegeData>, PassOwnPtrWillBeRawPtr<WorkerClients>);
CompositorWorkerThread* thread() const;
+ bool m_executingAnimationFrameCallbacks;
FrameRequestCallbackCollection m_callbackCollection;
+ CompositorProxyClient* m_client;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698