Chromium Code Reviews| 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) 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 Loading... | |
| 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 0; | |
|
tkent
2014/03/19 01:00:44
nit: We may return WebCore::nullQName(), or we may
Inactive
2014/03/19 13:51:43
Done, returning nullQName() now, one less pointer,
| |
| 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 2315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3399 // Before doing so, we need to resolve issues in HTMLSelectElement::recalcLi stItems | 3404 // Before doing so, we need to resolve issues in HTMLSelectElement::recalcLi stItems |
| 3400 // and RenderMenuList::setText. See also https://bugs.webkit.org/show_bug.cg i?id=88405 | 3405 // and RenderMenuList::setText. See also https://bugs.webkit.org/show_bug.cg i?id=88405 |
| 3401 if (isHTMLOptionElement(*this) || isHTMLOptGroupElement(*this)) | 3406 if (isHTMLOptionElement(*this) || isHTMLOptGroupElement(*this)) |
| 3402 return false; | 3407 return false; |
| 3403 if (FullscreenElementStack::isActiveFullScreenElement(this)) | 3408 if (FullscreenElementStack::isActiveFullScreenElement(this)) |
| 3404 return false; | 3409 return false; |
| 3405 return true; | 3410 return true; |
| 3406 } | 3411 } |
| 3407 | 3412 |
| 3408 } // namespace WebCore | 3413 } // namespace WebCore |
| OLD | NEW |