| 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 30 matching lines...) Expand all Loading... |
| 41 public FrameOwner { | 41 public FrameOwner { |
| 42 USING_GARBAGE_COLLECTED_MIXIN(HTMLFrameOwnerElement); | 42 USING_GARBAGE_COLLECTED_MIXIN(HTMLFrameOwnerElement); |
| 43 | 43 |
| 44 public: | 44 public: |
| 45 ~HTMLFrameOwnerElement() override; | 45 ~HTMLFrameOwnerElement() override; |
| 46 | 46 |
| 47 Frame* contentFrame() const { return m_contentFrame; } | 47 Frame* contentFrame() const { return m_contentFrame; } |
| 48 DOMWindow* contentWindow() const; | 48 DOMWindow* contentWindow() const; |
| 49 Document* contentDocument() const; | 49 Document* contentDocument() const; |
| 50 | 50 |
| 51 void disconnectContentFrame(); | 51 virtual void disconnectContentFrame(); |
| 52 | 52 |
| 53 // Most subclasses use LayoutPart (either LayoutEmbeddedObject or | 53 // Most subclasses use LayoutPart (either LayoutEmbeddedObject or |
| 54 // LayoutIFrame) except for HTMLObjectElement and HTMLEmbedElement which may | 54 // LayoutIFrame) except for HTMLObjectElement and HTMLEmbedElement which may |
| 55 // return any LayoutObject when using fallback content. | 55 // return any LayoutObject when using fallback content. |
| 56 LayoutPart* layoutPart() const; | 56 LayoutPart* layoutPart() const; |
| 57 | 57 |
| 58 Document* getSVGDocument(ExceptionState&) const; | 58 Document* getSVGDocument(ExceptionState&) const; |
| 59 | 59 |
| 60 virtual bool loadedNonEmptyDocument() const { return false; } | 60 virtual bool loadedNonEmptyDocument() const { return false; } |
| 61 virtual void didLoadNonEmptyDocument() {} | 61 virtual void didLoadNonEmptyDocument() {} |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 | 157 |
| 158 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, | 158 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, |
| 159 FrameOwner, | 159 FrameOwner, |
| 160 owner, | 160 owner, |
| 161 owner->isLocal(), | 161 owner->isLocal(), |
| 162 owner.isLocal()); | 162 owner.isLocal()); |
| 163 | 163 |
| 164 } // namespace blink | 164 } // namespace blink |
| 165 | 165 |
| 166 #endif // HTMLFrameOwnerElement_h | 166 #endif // HTMLFrameOwnerElement_h |
| OLD | NEW |