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

Side by Side Diff: Source/core/dom/Fullscreen.h

Issue 494743002: Make the fullscreen element ready check static (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2013 Google Inc. All rights reserved. 9 * Copyright (C) 2013 Google Inc. All rights reserved.
10 * 10 *
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 virtual void trace(Visitor*) OVERRIDE; 96 virtual void trace(Visitor*) OVERRIDE;
97 97
98 private: 98 private:
99 static Fullscreen* fromIfExistsSlow(Document&); 99 static Fullscreen* fromIfExistsSlow(Document&);
100 100
101 explicit Fullscreen(Document&); 101 explicit Fullscreen(Document&);
102 102
103 Document* document(); 103 Document* document();
104 104
105 static bool elementReady(Element&, RequestType);
106
107 void clearFullscreenElementStack(); 105 void clearFullscreenElementStack();
108 void popFullscreenElementStack(); 106 void popFullscreenElementStack();
109 void pushFullscreenElementStack(Element&, RequestType); 107 void pushFullscreenElementStack(Element&, RequestType);
110 108
111 void enqueueChangeEvent(Document&, RequestType); 109 void enqueueChangeEvent(Document&, RequestType);
112 void enqueueErrorEvent(Element&, RequestType); 110 void enqueueErrorEvent(Element&, RequestType);
113 void eventQueueTimerFired(Timer<Fullscreen>*); 111 void eventQueueTimerFired(Timer<Fullscreen>*);
114 112
115 bool m_areKeysEnabledInFullScreen; 113 bool m_areKeysEnabledInFullScreen;
116 RefPtrWillBeMember<Element> m_fullScreenElement; 114 RefPtrWillBeMember<Element> m_fullScreenElement;
(...skipping 25 matching lines...) Expand all
142 // Needed by the HeapVector<> element stack. 140 // Needed by the HeapVector<> element stack.
143 namespace WTF { 141 namespace WTF {
144 142
145 template<>struct IsPod<blink::Fullscreen::RequestType> { 143 template<>struct IsPod<blink::Fullscreen::RequestType> {
146 static const bool value = true; 144 static const bool value = true;
147 }; 145 };
148 146
149 } // namespace WTF 147 } // namespace WTF
150 148
151 #endif // Fullscreen_h 149 #endif // Fullscreen_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698