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

Side by Side Diff: Source/core/html/HTMLObjectElement.h

Issue 202633009: Add Element::subResourceAttributeName() virtual function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use nullQName() Created 6 years, 9 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/HTMLModElement.cpp ('k') | Source/core/html/HTMLObjectElement.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 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 75 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
76 virtual void removedFrom(ContainerNode*) OVERRIDE; 76 virtual void removedFrom(ContainerNode*) OVERRIDE;
77 77
78 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; 78 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
79 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; 79 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE;
80 80
81 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; 81 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE;
82 82
83 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 83 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
84 virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE; 84 virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE;
85 virtual const QualifiedName& subResourceAttributeName() const OVERRIDE;
85 virtual const AtomicString imageSourceURL() const OVERRIDE; 86 virtual const AtomicString imageSourceURL() const OVERRIDE;
86 87
87 virtual RenderWidget* existingRenderWidget() const OVERRIDE; 88 virtual RenderWidget* existingRenderWidget() const OVERRIDE;
88 89
89 virtual void updateWidgetInternal() OVERRIDE; 90 virtual void updateWidgetInternal() OVERRIDE;
90 void updateDocNamedItem(); 91 void updateDocNamedItem();
91 92
92 void reattachFallbackContent(); 93 void reattachFallbackContent();
93 94
94 bool hasFallbackContent() const; 95 bool hasFallbackContent() const;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement &>(element); 135 const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement &>(element);
135 // We need to assert after the cast because FormAssociatedElement doesn't 136 // We need to assert after the cast because FormAssociatedElement doesn't
136 // have hasTagName. 137 // have hasTagName.
137 ASSERT_WITH_SECURITY_IMPLICATION(objectElement.hasTagName(HTMLNames::objectT ag)); 138 ASSERT_WITH_SECURITY_IMPLICATION(objectElement.hasTagName(HTMLNames::objectT ag));
138 return objectElement; 139 return objectElement;
139 } 140 }
140 141
141 } 142 }
142 143
143 #endif 144 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLModElement.cpp ('k') | Source/core/html/HTMLObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698