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

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

Issue 1900423004: [compositorworker] Register compositor proxies with proxy client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment 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 767117edd37e7750ebb97832ab30f914d5746c9a..5c171063f7f60d426c8b49016194d1b031c7ee11 100644
--- a/third_party/WebKit/Source/web/CompositorProxyClientImpl.h
+++ b/third_party/WebKit/Source/web/CompositorProxyClientImpl.h
@@ -6,6 +6,7 @@
#define CompositorProxyClientImpl_h
#include "core/dom/CompositorProxyClient.h"
+#include "platform/heap/Handle.h"
#include "wtf/Noncopyable.h"
namespace blink {
@@ -33,6 +34,8 @@ public:
// CompositorProxyClient:
void setGlobalScope(WorkerGlobalScope*) override;
void requestAnimationFrame() override;
+ void registerCompositorProxy(CompositorProxy*) override;
+ void unregisterCompositorProxy(CompositorProxy*) override;
private:
bool executeAnimationFrameCallbacks(double monotonicTimeNow);
@@ -41,6 +44,8 @@ private:
Member<CompositorWorkerGlobalScope> m_globalScope;
bool m_requestedAnimationFrameCallbacks;
+
+ HeapHashSet<WeakMember<CompositorProxy>> m_proxies;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698