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

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

Issue 82843003: Fire overflowchanged events at raf timing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a test Created 7 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
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptedAnimationController.h
diff --git a/Source/core/dom/ScriptedAnimationController.h b/Source/core/dom/ScriptedAnimationController.h
index 1d32c5a9270d34843520621e3a2fa2c3062fa337..7c83094406d09625486bb0e4c71247f141482873 100644
--- a/Source/core/dom/ScriptedAnimationController.h
+++ b/Source/core/dom/ScriptedAnimationController.h
@@ -54,7 +54,8 @@ public:
void cancelCallback(CallbackId);
void serviceScriptedAnimations(double monotonicTimeNow);
- void scheduleEvent(PassRefPtr<Event>);
+ void enqueueEvent(PassRefPtr<Event>);
+ void enqueuePerFrameEvent(PassRefPtr<Event>);
void suspend();
void resume();
@@ -74,7 +75,7 @@ private:
CallbackId m_nextCallbackId;
int m_suspendCount;
Vector<RefPtr<Event> > m_eventQueue;
- ListHashSet<std::pair<const EventTarget*, const StringImpl*> > m_scheduledEventTargets;
+ ListHashSet<std::pair<const EventTarget*, const StringImpl*> > m_perFrameEvents;
};
}
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698