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

Side by Side Diff: Source/core/dom/Element.cpp

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/dom/Element.h ('k') | Source/core/html/HTMLBodyElement.h » ('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) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 1064
1065 if (AXObjectCache* cache = document().existingAXObjectCache()) 1065 if (AXObjectCache* cache = document().existingAXObjectCache())
1066 cache->handleAttributeChanged(name, this); 1066 cache->handleAttributeChanged(name, this);
1067 } 1067 }
1068 1068
1069 bool Element::hasLegalLinkAttribute(const QualifiedName&) const 1069 bool Element::hasLegalLinkAttribute(const QualifiedName&) const
1070 { 1070 {
1071 return false; 1071 return false;
1072 } 1072 }
1073 1073
1074 const QualifiedName& Element::subResourceAttributeName() const
1075 {
1076 return nullQName();
1077 }
1078
1074 inline void Element::attributeChangedFromParserOrByCloning(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason reason) 1079 inline void Element::attributeChangedFromParserOrByCloning(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason reason)
1075 { 1080 {
1076 if (name == isAttr) 1081 if (name == isAttr)
1077 CustomElementRegistrationContext::setTypeExtension(this, newValue); 1082 CustomElementRegistrationContext::setTypeExtension(this, newValue);
1078 attributeChanged(name, newValue, reason); 1083 attributeChanged(name, newValue, reason);
1079 } 1084 }
1080 1085
1081 template <typename CharacterType> 1086 template <typename CharacterType>
1082 static inline bool classStringHasClassName(const CharacterType* characters, unsi gned length) 1087 static inline bool classStringHasClassName(const CharacterType* characters, unsi gned length)
1083 { 1088 {
(...skipping 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after
3401 // Before doing so, we need to resolve issues in HTMLSelectElement::recalcLi stItems 3406 // Before doing so, we need to resolve issues in HTMLSelectElement::recalcLi stItems
3402 // and RenderMenuList::setText. See also https://bugs.webkit.org/show_bug.cg i?id=88405 3407 // and RenderMenuList::setText. See also https://bugs.webkit.org/show_bug.cg i?id=88405
3403 if (isHTMLOptionElement(*this) || isHTMLOptGroupElement(*this)) 3408 if (isHTMLOptionElement(*this) || isHTMLOptGroupElement(*this))
3404 return false; 3409 return false;
3405 if (FullscreenElementStack::isActiveFullScreenElement(this)) 3410 if (FullscreenElementStack::isActiveFullScreenElement(this))
3406 return false; 3411 return false;
3407 return true; 3412 return true;
3408 } 3413 }
3409 3414
3410 } // namespace WebCore 3415 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/html/HTMLBodyElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698