| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 explicit Fullscreen(Document&); | 106 explicit Fullscreen(Document&); |
| 107 | 107 |
| 108 Document* document(); | 108 Document* document(); |
| 109 | 109 |
| 110 void clearFullscreenElementStack(); | 110 void clearFullscreenElementStack(); |
| 111 void popFullscreenElementStack(); | 111 void popFullscreenElementStack(); |
| 112 void pushFullscreenElementStack(Element&, RequestType); | 112 void pushFullscreenElementStack(Element&, RequestType); |
| 113 | 113 |
| 114 void enqueueChangeEvent(Document&, RequestType); | 114 void enqueueChangeEvent(Document&, RequestType); |
| 115 void enqueueErrorEvent(Element&, RequestType); | 115 void enqueueErrorEvent(Element&, RequestType); |
| 116 void eventQueueTimerFired(Timer<Fullscreen>*); | 116 void eventQueueTimerFired(TimerBase*); |
| 117 | 117 |
| 118 Member<Element> m_fullScreenElement; | 118 Member<Element> m_fullScreenElement; |
| 119 HeapVector<std::pair<Member<Element>, RequestType>> m_fullScreenElementStack
; | 119 HeapVector<std::pair<Member<Element>, RequestType>> m_fullScreenElementStack
; |
| 120 LayoutFullScreen* m_fullScreenLayoutObject; | 120 LayoutFullScreen* m_fullScreenLayoutObject; |
| 121 Timer<Fullscreen> m_eventQueueTimer; | 121 Timer<Fullscreen> m_eventQueueTimer; |
| 122 HeapDeque<Member<Event>> m_eventQueue; | 122 HeapDeque<Member<Event>> m_eventQueue; |
| 123 LayoutRect m_savedPlaceholderFrameRect; | 123 LayoutRect m_savedPlaceholderFrameRect; |
| 124 RefPtr<ComputedStyle> m_savedPlaceholderComputedStyle; | 124 RefPtr<ComputedStyle> m_savedPlaceholderComputedStyle; |
| 125 | 125 |
| 126 // TODO(alexmos, dcheng): Currently, this assumes that if fullscreen was | 126 // TODO(alexmos, dcheng): Currently, this assumes that if fullscreen was |
| (...skipping 19 matching lines...) Expand all Loading... |
| 146 inline Fullscreen* Fullscreen::fromIfExists(Document& document) | 146 inline Fullscreen* Fullscreen::fromIfExists(Document& document) |
| 147 { | 147 { |
| 148 if (!document.hasFullscreenSupplement()) | 148 if (!document.hasFullscreenSupplement()) |
| 149 return 0; | 149 return 0; |
| 150 return fromIfExistsSlow(document); | 150 return fromIfExistsSlow(document); |
| 151 } | 151 } |
| 152 | 152 |
| 153 } // namespace blink | 153 } // namespace blink |
| 154 | 154 |
| 155 #endif // Fullscreen_h | 155 #endif // Fullscreen_h |
| OLD | NEW |