| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Simon Hausmann (hausmann@kde.org) | 4 * (C) 2000 Simon Hausmann (hausmann@kde.org) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. |
| 7 * Copyright (C) 2009 Ericsson AB. All rights reserved. | 7 * Copyright (C) 2009 Ericsson AB. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 #include "core/rendering/RenderIFrame.h" | 33 #include "core/rendering/RenderIFrame.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 using namespace HTMLNames; | 37 using namespace HTMLNames; |
| 38 | 38 |
| 39 inline HTMLIFrameElement::HTMLIFrameElement(Document& document) | 39 inline HTMLIFrameElement::HTMLIFrameElement(Document& document) |
| 40 : HTMLFrameElementBase(iframeTag, document) | 40 : HTMLFrameElementBase(iframeTag, document) |
| 41 , m_didLoadNonEmptyDocument(false) | 41 , m_didLoadNonEmptyDocument(false) |
| 42 { | 42 { |
| 43 ScriptWrappable::init(this); | |
| 44 } | 43 } |
| 45 | 44 |
| 46 DEFINE_NODE_FACTORY(HTMLIFrameElement) | 45 DEFINE_NODE_FACTORY(HTMLIFrameElement) |
| 47 | 46 |
| 48 bool HTMLIFrameElement::isPresentationAttribute(const QualifiedName& name) const | 47 bool HTMLIFrameElement::isPresentationAttribute(const QualifiedName& name) const |
| 49 { | 48 { |
| 50 if (name == widthAttr || name == heightAttr || name == alignAttr || name ==
frameborderAttr) | 49 if (name == widthAttr || name == heightAttr || name == alignAttr || name ==
frameborderAttr) |
| 51 return true; | 50 return true; |
| 52 return HTMLFrameElementBase::isPresentationAttribute(name); | 51 return HTMLFrameElementBase::isPresentationAttribute(name); |
| 53 } | 52 } |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 if (insertionPoint->inDocument() && document().isHTMLDocument() && !insertio
nPoint->isInShadowTree()) | 138 if (insertionPoint->inDocument() && document().isHTMLDocument() && !insertio
nPoint->isInShadowTree()) |
| 140 toHTMLDocument(document()).removeExtraNamedItem(m_name); | 139 toHTMLDocument(document()).removeExtraNamedItem(m_name); |
| 141 } | 140 } |
| 142 | 141 |
| 143 bool HTMLIFrameElement::isInteractiveContent() const | 142 bool HTMLIFrameElement::isInteractiveContent() const |
| 144 { | 143 { |
| 145 return true; | 144 return true; |
| 146 } | 145 } |
| 147 | 146 |
| 148 } | 147 } |
| OLD | NEW |