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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2536643002: Introduce animation frame tasks (Closed)
Patch Set: Created 4 years, 1 month 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/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index b484d836cbf4c678e629b304bd3c5817627ff5d3..06eb4f80666fbbd96974389d495ac56116bb1f16 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -1084,6 +1084,7 @@ class CORE_EXPORT Document : public ContainerNode,
void enqueueResizeEvent();
void enqueueScrollEventForNode(Node*);
+ void enqueueAnimationFrameTask(std::unique_ptr<WTF::Closure>);
void enqueueAnimationFrameEvent(Event*);
// Only one event for a target/event type combination will be dispatched per
// frame.

Powered by Google App Engine
This is Rietveld 408576698