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

Unified Diff: third_party/WebKit/Source/web/CompositorProxyClientImpl.h

Issue 2041193005: [compositorworker] compositor proxy mutation updates underlying layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-upstream-registration
Patch Set: raise if not initialized Created 4 years, 6 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/web/CompositorProxyClientImpl.h
diff --git a/third_party/WebKit/Source/web/CompositorProxyClientImpl.h b/third_party/WebKit/Source/web/CompositorProxyClientImpl.h
index 5c171063f7f60d426c8b49016194d1b031c7ee11..715a263ef5b6c299c48c3fd6a42cb40ff2a16fec 100644
--- a/third_party/WebKit/Source/web/CompositorProxyClientImpl.h
+++ b/third_party/WebKit/Source/web/CompositorProxyClientImpl.h
@@ -11,6 +11,7 @@
namespace blink {
+class CompositorMutableStateProvider;
class CompositorMutatorImpl;
class CompositorWorkerGlobalScope;
class WorkerGlobalScope;
@@ -29,7 +30,7 @@ public:
// Runs the animation frame callback for the frame starting at the given time.
// Returns true if another animation frame was requested (i.e. should be reinvoked next frame).
- bool mutate(double monotonicTimeNow);
+ bool mutate(double monotonicTimeNow, CompositorMutableStateProvider*);
// CompositorProxyClient:
void setGlobalScope(WorkerGlobalScope*) override;
@@ -39,6 +40,7 @@ public:
private:
bool executeAnimationFrameCallbacks(double monotonicTimeNow);
+ void updateMutableStateForCompositorProxies(CompositorMutableStateProvider*);
Member<CompositorMutatorImpl> m_mutator;

Powered by Google App Engine
This is Rietveld 408576698