| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 public: | 45 public: |
| 46 ~HTMLFrameOwnerElement() override; | 46 ~HTMLFrameOwnerElement() override; |
| 47 | 47 |
| 48 Frame* contentFrame() const { return m_contentFrame; } | 48 Frame* contentFrame() const { return m_contentFrame; } |
| 49 DOMWindow* contentWindow() const; | 49 DOMWindow* contentWindow() const; |
| 50 Document* contentDocument() const; | 50 Document* contentDocument() const; |
| 51 | 51 |
| 52 void disconnectContentFrame(); | 52 void disconnectContentFrame(); |
| 53 | 53 |
| 54 // Most subclasses use LayoutPart (either LayoutEmbeddedObject or LayoutIFrame
) | 54 // Most subclasses use LayoutPart (either LayoutEmbeddedObject or |
| 55 // except for HTMLObjectElement and HTMLEmbedElement which may return any | 55 // LayoutIFrame) except for HTMLObjectElement and HTMLEmbedElement which may |
| 56 // LayoutObject when using fallback content. | 56 // return any LayoutObject when using fallback content. |
| 57 LayoutPart* layoutPart() const; | 57 LayoutPart* layoutPart() const; |
| 58 | 58 |
| 59 Document* getSVGDocument(ExceptionState&) const; | 59 Document* getSVGDocument(ExceptionState&) const; |
| 60 | 60 |
| 61 virtual bool loadedNonEmptyDocument() const { return false; } | 61 virtual bool loadedNonEmptyDocument() const { return false; } |
| 62 virtual void didLoadNonEmptyDocument() {} | 62 virtual void didLoadNonEmptyDocument() {} |
| 63 | 63 |
| 64 void setWidget(Widget*); | 64 void setWidget(Widget*); |
| 65 Widget* releaseWidget(); | 65 Widget* releaseWidget(); |
| 66 Widget* ownedWidget() const; | 66 Widget* ownedWidget() const; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 155 |
| 156 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, | 156 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, |
| 157 FrameOwner, | 157 FrameOwner, |
| 158 owner, | 158 owner, |
| 159 owner->isLocal(), | 159 owner->isLocal(), |
| 160 owner.isLocal()); | 160 owner.isLocal()); |
| 161 | 161 |
| 162 } // namespace blink | 162 } // namespace blink |
| 163 | 163 |
| 164 #endif // HTMLFrameOwnerElement_h | 164 #endif // HTMLFrameOwnerElement_h |
| OLD | NEW |