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

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

Issue 365903006: Merge the fullscreen event queues (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: introduce enqueueChangeEvent/enqueueErrorEvent Created 6 years, 6 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/FullscreenElementStack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/FullscreenElementStack.h
diff --git a/Source/core/dom/FullscreenElementStack.h b/Source/core/dom/FullscreenElementStack.h
index 65f70ae4913fa330ecc9324de14e8873fe0cbd5e..ad7ac575d9c32fbfe7b52a8b2b01708c30586e22 100644
--- a/Source/core/dom/FullscreenElementStack.h
+++ b/Source/core/dom/FullscreenElementStack.h
@@ -105,8 +105,10 @@ private:
void clearFullscreenElementStack();
void popFullscreenElementStack();
void pushFullscreenElementStack(Element&);
- void addDocumentToFullScreenChangeEventQueue(Document&);
- void fullScreenChangeDelayTimerFired(Timer<FullscreenElementStack>*);
+
+ void enqueueChangeEvent(Document&);
+ void enqueueErrorEvent(Element&);
+ void eventQueueTimerFired(Timer<FullscreenElementStack>*);
void fullScreenElementRemoved();
@@ -114,9 +116,8 @@ private:
RefPtrWillBeMember<Element> m_fullScreenElement;
WillBeHeapVector<RefPtrWillBeMember<Element> > m_fullScreenElementStack;
RenderFullScreen* m_fullScreenRenderer;
- Timer<FullscreenElementStack> m_fullScreenChangeDelayTimer;
- WillBeHeapDeque<RefPtrWillBeMember<Node> > m_fullScreenChangeEventTargetQueue;
- WillBeHeapDeque<RefPtrWillBeMember<Node> > m_fullScreenErrorEventTargetQueue;
+ Timer<FullscreenElementStack> m_eventQueueTimer;
+ WillBeHeapDeque<RefPtrWillBeMember<Event> > m_eventQueue;
LayoutRect m_savedPlaceholderFrameRect;
RefPtr<RenderStyle> m_savedPlaceholderRenderStyle;
};
« no previous file with comments | « no previous file | Source/core/dom/FullscreenElementStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698