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

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

Issue 400043002: Add a way to schedule generic per-frame events through Document. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 601792e84557023048ea8e986e1d36f1fa1bbb7b..f4c36f063b968de32c6a6a9e464aea4800fe3a56 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -911,6 +911,8 @@ public:
void enqueueResizeEvent();
void enqueueScrollEventForNode(Node*);
void enqueueAnimationFrameEvent(PassRefPtrWillBeRawPtr<Event>);
+ // Only one event for a target/event type combination will be dispatched per frame.
+ void enqueueUniqueAnimationFrameEvent(PassRefPtrWillBeRawPtr<Event>);
void enqueueMediaQueryChangeListeners(WillBeHeapVector<RefPtrWillBeMember<MediaQueryListListener> >&);
bool hasFullscreenElementStack() const { return m_hasFullscreenElementStack; }
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698