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

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

Issue 396283004: Make the MediaQueryList listener an EventListener (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased 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
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index d53d3dbf246d877d9428c833585e3309679ed34b..a29b816ad93fbddb5eeb4ebd0e696bdb7bdc5f1c 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -915,6 +915,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; }

Powered by Google App Engine
This is Rietveld 408576698