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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 DOMWindow* contentWindow() const; | 47 DOMWindow* contentWindow() const; |
48 Document* contentDocument() const; | 48 Document* contentDocument() const; |
49 | 49 |
50 virtual void DisconnectContentFrame(); | 50 virtual void DisconnectContentFrame(); |
51 | 51 |
52 // Most subclasses use LayoutPart (either LayoutEmbeddedObject or | 52 // Most subclasses use LayoutPart (either LayoutEmbeddedObject or |
53 // LayoutIFrame) except for HTMLObjectElement and HTMLEmbedElement which may | 53 // LayoutIFrame) except for HTMLObjectElement and HTMLEmbedElement which may |
54 // return any LayoutObject when using fallback content. | 54 // return any LayoutObject when using fallback content. |
55 LayoutPart* GetLayoutPart() const; | 55 LayoutPart* GetLayoutPart() const; |
56 | 56 |
| 57 // Whether to collapse the frame owner element in the embedder document. That |
| 58 // is, to remove it from the layout as if it did not exist. |
| 59 virtual void SetCollapsedByClient(bool) {} |
| 60 |
57 Document* getSVGDocument(ExceptionState&) const; | 61 Document* getSVGDocument(ExceptionState&) const; |
58 | 62 |
59 virtual bool LoadedNonEmptyDocument() const { return false; } | 63 virtual bool LoadedNonEmptyDocument() const { return false; } |
60 virtual void DidLoadNonEmptyDocument() {} | 64 virtual void DidLoadNonEmptyDocument() {} |
61 | 65 |
62 void SetWidget(FrameViewBase*); | 66 void SetWidget(FrameViewBase*); |
63 FrameViewBase* ReleaseWidget(); | 67 FrameViewBase* ReleaseWidget(); |
64 FrameViewBase* OwnedWidget() const; | 68 FrameViewBase* OwnedWidget() const; |
65 | 69 |
66 class UpdateSuspendScope { | 70 class UpdateSuspendScope { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 171 |
168 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, | 172 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, |
169 FrameOwner, | 173 FrameOwner, |
170 owner, | 174 owner, |
171 owner->IsLocal(), | 175 owner->IsLocal(), |
172 owner.IsLocal()); | 176 owner.IsLocal()); |
173 | 177 |
174 } // namespace blink | 178 } // namespace blink |
175 | 179 |
176 #endif // HTMLFrameOwnerElement_h | 180 #endif // HTMLFrameOwnerElement_h |
OLD | NEW |