Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Side by Side Diff: Source/core/html/HTMLIFrameElement.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLHtmlElement.cpp ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLHtmlElement.cpp ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698