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

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

Issue 2765053002: Avoid exposing cc::Layer tree to CompositorProxy (Closed)
Patch Set: Rebase onto blink reformat Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/CompositorMutatorImpl.h
diff --git a/third_party/WebKit/Source/web/CompositorMutatorImpl.h b/third_party/WebKit/Source/web/CompositorMutatorImpl.h
index ffa70007255efadc0c9c64f2b064173355341f25..486e9d67dfa4c6f9ab8026eceb3e4554a80c315b 100644
--- a/third_party/WebKit/Source/web/CompositorMutatorImpl.h
+++ b/third_party/WebKit/Source/web/CompositorMutatorImpl.h
@@ -16,6 +16,7 @@ namespace blink {
class CompositorAnimator;
class CompositorMutatorClient;
+class CompositorProxy;
// Fans out requests from the compositor to all of the registered
// CompositorAnimators which can then mutate layers through their respective
@@ -39,6 +40,9 @@ class CompositorMutatorImpl final : public CompositorMutator {
void RegisterCompositorAnimator(CompositorAnimator*);
void UnregisterCompositorAnimator(CompositorAnimator*);
+ void RegisterCompositorProxy(const CompositorProxy*);
+ void UnregisterCompositorProxy(const CompositorProxy*);
+
void SetNeedsMutate();
void SetClient(CompositorMutatorClient* client) { client_ = client; }

Powered by Google App Engine
This is Rietveld 408576698