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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 void setFullScreenLayoutObject(LayoutFullScreen*); | 80 void setFullScreenLayoutObject(LayoutFullScreen*); |
81 LayoutFullScreen* fullScreenLayoutObject() const { return m_fullScreenLayout
Object; } | 81 LayoutFullScreen* fullScreenLayoutObject() const { return m_fullScreenLayout
Object; } |
82 void fullScreenLayoutObjectDestroyed(); | 82 void fullScreenLayoutObjectDestroyed(); |
83 | 83 |
84 void elementRemoved(Element&); | 84 void elementRemoved(Element&); |
85 | 85 |
86 // Mozilla API | 86 // Mozilla API |
87 Element* webkitCurrentFullScreenElement() const { return m_fullScreenElement
.get(); } | 87 Element* webkitCurrentFullScreenElement() const { return m_fullScreenElement
.get(); } |
88 | 88 |
89 void documentWasDetached() override; | 89 void documentWasDetached() override; |
90 #if !ENABLE(OILPAN) | |
91 void documentWasDisposed() override; | |
92 #endif | |
93 | 90 |
94 DECLARE_VIRTUAL_TRACE(); | 91 DECLARE_VIRTUAL_TRACE(); |
95 | 92 |
96 private: | 93 private: |
97 static Fullscreen* fromIfExistsSlow(Document&); | 94 static Fullscreen* fromIfExistsSlow(Document&); |
98 | 95 |
99 explicit Fullscreen(Document&); | 96 explicit Fullscreen(Document&); |
100 | 97 |
101 Document* document(); | 98 Document* document(); |
102 | 99 |
(...skipping 25 matching lines...) Expand all Loading... |
128 inline Fullscreen* Fullscreen::fromIfExists(Document& document) | 125 inline Fullscreen* Fullscreen::fromIfExists(Document& document) |
129 { | 126 { |
130 if (!document.hasFullscreenSupplement()) | 127 if (!document.hasFullscreenSupplement()) |
131 return 0; | 128 return 0; |
132 return fromIfExistsSlow(document); | 129 return fromIfExistsSlow(document); |
133 } | 130 } |
134 | 131 |
135 } // namespace blink | 132 } // namespace blink |
136 | 133 |
137 #endif // Fullscreen_h | 134 #endif // Fullscreen_h |
OLD | NEW |