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