| 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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 explicit Fullscreen(Document&); | 128 explicit Fullscreen(Document&); |
| 129 | 129 |
| 130 Document* document(); | 130 Document* document(); |
| 131 | 131 |
| 132 void clearFullscreenElementStack(); | 132 void clearFullscreenElementStack(); |
| 133 void popFullscreenElementStack(); | 133 void popFullscreenElementStack(); |
| 134 void pushFullscreenElementStack(Element&, RequestType); | 134 void pushFullscreenElementStack(Element&, RequestType); |
| 135 | 135 |
| 136 void enqueueChangeEvent(Document&, RequestType); | 136 void enqueueChangeEvent(Document&, RequestType); |
| 137 void enqueueErrorEvent(Element&, RequestType); | 137 void enqueueErrorEvent(Element*, RequestType); |
| 138 void eventQueueTimerFired(TimerBase*); | 138 void eventQueueTimerFired(TimerBase*); |
| 139 | 139 |
| 140 HeapVector<std::pair<Member<Element>, RequestType>> m_fullscreenElementStack; | 140 HeapVector<std::pair<Member<Element>, RequestType>> m_fullscreenElementStack; |
| 141 Member<Element> m_currentFullScreenElement; | 141 Member<Element> m_currentFullScreenElement; |
| 142 LayoutFullScreen* m_fullScreenLayoutObject; | 142 LayoutFullScreen* m_fullScreenLayoutObject; |
| 143 Timer<Fullscreen> m_eventQueueTimer; | 143 Timer<Fullscreen> m_eventQueueTimer; |
| 144 HeapDeque<Member<Event>> m_eventQueue; | 144 HeapDeque<Member<Event>> m_eventQueue; |
| 145 LayoutRect m_savedPlaceholderFrameRect; | 145 LayoutRect m_savedPlaceholderFrameRect; |
| 146 RefPtr<ComputedStyle> m_savedPlaceholderComputedStyle; | 146 RefPtr<ComputedStyle> m_savedPlaceholderComputedStyle; |
| 147 | 147 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 165 | 165 |
| 166 inline bool Fullscreen::isCurrentFullScreenElement(const Element& element) { | 166 inline bool Fullscreen::isCurrentFullScreenElement(const Element& element) { |
| 167 if (Fullscreen* found = fromIfExists(element.document())) | 167 if (Fullscreen* found = fromIfExists(element.document())) |
| 168 return found->currentFullScreenElement() == &element; | 168 return found->currentFullScreenElement() == &element; |
| 169 return false; | 169 return false; |
| 170 } | 170 } |
| 171 | 171 |
| 172 } // namespace blink | 172 } // namespace blink |
| 173 | 173 |
| 174 #endif // Fullscreen_h | 174 #endif // Fullscreen_h |
| OLD | NEW |