OLD | NEW |
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 96 |
97 virtual void trace(Visitor*) OVERRIDE; | 97 virtual void trace(Visitor*) OVERRIDE; |
98 | 98 |
99 private: | 99 private: |
100 static FullscreenElementStack* fromIfExistsSlow(Document&); | 100 static FullscreenElementStack* fromIfExistsSlow(Document&); |
101 | 101 |
102 explicit FullscreenElementStack(Document&); | 102 explicit FullscreenElementStack(Document&); |
103 | 103 |
104 Document* document(); | 104 Document* document(); |
105 | 105 |
| 106 static bool elementReady(Element&, RequestType); |
| 107 |
106 void clearFullscreenElementStack(); | 108 void clearFullscreenElementStack(); |
107 void popFullscreenElementStack(); | 109 void popFullscreenElementStack(); |
108 void pushFullscreenElementStack(Element&, RequestType); | 110 void pushFullscreenElementStack(Element&, RequestType); |
109 | 111 |
110 void enqueueChangeEvent(Document&, RequestType); | 112 void enqueueChangeEvent(Document&, RequestType); |
111 void enqueueErrorEvent(Element&, RequestType); | 113 void enqueueErrorEvent(Element&, RequestType); |
112 void eventQueueTimerFired(Timer<FullscreenElementStack>*); | 114 void eventQueueTimerFired(Timer<FullscreenElementStack>*); |
113 | 115 |
114 void fullScreenElementRemoved(); | 116 void fullScreenElementRemoved(); |
115 | 117 |
(...skipping 18 matching lines...) Expand all Loading... |
134 inline FullscreenElementStack* FullscreenElementStack::fromIfExists(Document& do
cument) | 136 inline FullscreenElementStack* FullscreenElementStack::fromIfExists(Document& do
cument) |
135 { | 137 { |
136 if (!document.hasFullscreenElementStack()) | 138 if (!document.hasFullscreenElementStack()) |
137 return 0; | 139 return 0; |
138 return fromIfExistsSlow(document); | 140 return fromIfExistsSlow(document); |
139 } | 141 } |
140 | 142 |
141 } // namespace blink | 143 } // namespace blink |
142 | 144 |
143 #endif // FullscreenElementStack_h | 145 #endif // FullscreenElementStack_h |
OLD | NEW |