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

Unified Diff: third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.cpp

Issue 2894233002: [animation-worklet] invoke animate callback on mutation signal (Closed)
Patch Set: Created 3 years, 7 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/core/dom/AnimationWorkletProxyClient.cpp
diff --git a/third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.cpp b/third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..e5a2980ea19cde526e426d4e96e6ea31b583b548
--- /dev/null
+++ b/third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.cpp
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "core/dom/AnimationWorkletProxyClient.h"
+
+namespace blink {
+
+AnimationWorkletProxyClient* AnimationWorkletProxyClient::From(
+ WorkerClients* clients) {
+ return static_cast<AnimationWorkletProxyClient*>(
+ Supplement<WorkerClients>::From(clients, SupplementName()));
+}
+
+const char* AnimationWorkletProxyClient::SupplementName() {
+ return "AnimationWorkletProxyClient";
+}
+
+void ProvideAnimationWorkletProxyClientTo(WorkerClients* clients,
+ AnimationWorkletProxyClient* client) {
+ clients->ProvideSupplement(AnimationWorkletProxyClient::SupplementName(),
+ client);
+}
+
+} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.h ('k') | third_party/WebKit/Source/core/dom/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698