| 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 24 matching lines...) Expand all Loading... |
| 35 class Frame; | 35 class Frame; |
| 36 class RenderPart; | 36 class RenderPart; |
| 37 class Widget; | 37 class Widget; |
| 38 | 38 |
| 39 class HTMLFrameOwnerElement : public HTMLElement, public FrameOwner { | 39 class HTMLFrameOwnerElement : public HTMLElement, public FrameOwner { |
| 40 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLFrameOwnerElement); | 40 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLFrameOwnerElement); |
| 41 public: | 41 public: |
| 42 virtual ~HTMLFrameOwnerElement(); | 42 virtual ~HTMLFrameOwnerElement(); |
| 43 | 43 |
| 44 Frame* contentFrame() const { return m_contentFrame; } | 44 Frame* contentFrame() const { return m_contentFrame; } |
| 45 LocalDOMWindow* contentWindow() const; | 45 DOMWindow* contentWindow() const; |
| 46 Document* contentDocument() const; | 46 Document* contentDocument() const; |
| 47 | 47 |
| 48 void setContentFrame(Frame&); | 48 void setContentFrame(Frame&); |
| 49 void clearContentFrame(); | 49 void clearContentFrame(); |
| 50 | 50 |
| 51 virtual void disconnectContentFrame(); | 51 virtual void disconnectContentFrame(); |
| 52 | 52 |
| 53 // Most subclasses use RenderPart (either RenderEmbeddedObject or RenderIFra
me) | 53 // Most subclasses use RenderPart (either RenderEmbeddedObject or RenderIFra
me) |
| 54 // except for HTMLObjectElement and HTMLEmbedElement which may return any | 54 // except for HTMLObjectElement and HTMLEmbedElement which may return any |
| 55 // RenderObject when using fallback content. | 55 // RenderObject when using fallback content. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disabledSubtreeRo
ots(); | 130 static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disabledSubtreeRo
ots(); |
| 131 | 131 |
| 132 RawPtrWillBeMember<Node> m_root; | 132 RawPtrWillBeMember<Node> m_root; |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow
ner.isLocal()); | 135 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow
ner.isLocal()); |
| 136 | 136 |
| 137 } // namespace blink | 137 } // namespace blink |
| 138 | 138 |
| 139 #endif // HTMLFrameOwnerElement_h | 139 #endif // HTMLFrameOwnerElement_h |
| OLD | NEW |