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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |