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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 DOMWindow* contentWindow() const; | 49 DOMWindow* contentWindow() const; |
50 Document* contentDocument() const; | 50 Document* contentDocument() const; |
51 | 51 |
52 virtual void DisconnectContentFrame(); | 52 virtual void DisconnectContentFrame(); |
53 | 53 |
54 // Most subclasses use LayoutPart (either LayoutEmbeddedObject or | 54 // Most subclasses use LayoutPart (either LayoutEmbeddedObject or |
55 // LayoutIFrame) except for HTMLObjectElement and HTMLEmbedElement which may | 55 // LayoutIFrame) except for HTMLObjectElement and HTMLEmbedElement which may |
56 // return any LayoutObject when using fallback content. | 56 // return any LayoutObject when using fallback content. |
57 LayoutPart* GetLayoutPart() const; | 57 LayoutPart* GetLayoutPart() const; |
58 | 58 |
| 59 // Whether to collapse the frame owner element in the embedder document. That |
| 60 // is, to remove it from the layout as if it did not exist. |
| 61 virtual void SetCollapsed(bool) {} |
| 62 |
59 Document* getSVGDocument(ExceptionState&) const; | 63 Document* getSVGDocument(ExceptionState&) const; |
60 | 64 |
61 virtual bool LoadedNonEmptyDocument() const { return false; } | 65 virtual bool LoadedNonEmptyDocument() const { return false; } |
62 virtual void DidLoadNonEmptyDocument() {} | 66 virtual void DidLoadNonEmptyDocument() {} |
63 | 67 |
64 void SetWidget(FrameOrPlugin*); | 68 void SetWidget(FrameOrPlugin*); |
65 FrameOrPlugin* ReleaseWidget(); | 69 FrameOrPlugin* ReleaseWidget(); |
66 FrameOrPlugin* OwnedWidget() const { return widget_; } | 70 FrameOrPlugin* OwnedWidget() const { return widget_; } |
67 | 71 |
68 class UpdateSuspendScope { | 72 class UpdateSuspendScope { |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 192 |
189 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, | 193 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, |
190 FrameOwner, | 194 FrameOwner, |
191 owner, | 195 owner, |
192 owner->IsLocal(), | 196 owner->IsLocal(), |
193 owner.IsLocal()); | 197 owner.IsLocal()); |
194 | 198 |
195 } // namespace blink | 199 } // namespace blink |
196 | 200 |
197 #endif // HTMLFrameOwnerElement_h | 201 #endif // HTMLFrameOwnerElement_h |
OLD | NEW |