| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 void setFullScreenLayoutObject(LayoutFullScreen*); | 101 void setFullScreenLayoutObject(LayoutFullScreen*); |
| 102 LayoutFullScreen* fullScreenLayoutObject() const { | 102 LayoutFullScreen* fullScreenLayoutObject() const { |
| 103 return m_fullScreenLayoutObject; | 103 return m_fullScreenLayoutObject; |
| 104 } | 104 } |
| 105 void fullScreenLayoutObjectDestroyed(); | 105 void fullScreenLayoutObjectDestroyed(); |
| 106 | 106 |
| 107 void elementRemoved(Element&); | 107 void elementRemoved(Element&); |
| 108 | 108 |
| 109 // ContextLifecycleObserver: | 109 // ContextLifecycleObserver: |
| 110 void contextDestroyed() override; | 110 void contextDestroyed(ExecutionContext*) override; |
| 111 | 111 |
| 112 DECLARE_VIRTUAL_TRACE(); | 112 DECLARE_VIRTUAL_TRACE(); |
| 113 | 113 |
| 114 private: | 114 private: |
| 115 static Fullscreen* fromIfExistsSlow(Document&); | 115 static Fullscreen* fromIfExistsSlow(Document&); |
| 116 | 116 |
| 117 explicit Fullscreen(Document&); | 117 explicit Fullscreen(Document&); |
| 118 | 118 |
| 119 Document* document(); | 119 Document* document(); |
| 120 | 120 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 152 |
| 153 inline bool Fullscreen::isFullscreenElement(const Element& element) { | 153 inline bool Fullscreen::isFullscreenElement(const Element& element) { |
| 154 if (Fullscreen* found = fromIfExists(element.document())) | 154 if (Fullscreen* found = fromIfExists(element.document())) |
| 155 return found->fullscreenElement() == &element; | 155 return found->fullscreenElement() == &element; |
| 156 return false; | 156 return false; |
| 157 } | 157 } |
| 158 | 158 |
| 159 } // namespace blink | 159 } // namespace blink |
| 160 | 160 |
| 161 #endif // Fullscreen_h | 161 #endif // Fullscreen_h |
| OLD | NEW |