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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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
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 Stefan Schimanski (1Stein@gmx.de) 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de)
5 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2011 Apple Inc. All rights 5 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2011 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 if (name == hiddenAttr) 74 if (name == hiddenAttr)
75 return true; 75 return true;
76 return HTMLPlugInElement::IsPresentationAttribute(name); 76 return HTMLPlugInElement::IsPresentationAttribute(name);
77 } 77 }
78 78
79 void HTMLEmbedElement::CollectStyleForPresentationAttribute( 79 void HTMLEmbedElement::CollectStyleForPresentationAttribute(
80 const QualifiedName& name, 80 const QualifiedName& name,
81 const AtomicString& value, 81 const AtomicString& value,
82 MutableStylePropertySet* style) { 82 MutableStylePropertySet* style) {
83 if (name == hiddenAttr) { 83 if (name == hiddenAttr) {
84 if (EqualIgnoringCase(value, "yes") || EqualIgnoringCase(value, "true")) { 84 if (DeprecatedEqualIgnoringCase(value, "yes") ||
85 DeprecatedEqualIgnoringCase(value, "true")) {
85 AddPropertyToPresentationAttributeStyle( 86 AddPropertyToPresentationAttributeStyle(
86 style, CSSPropertyWidth, 0, CSSPrimitiveValue::UnitType::kPixels); 87 style, CSSPropertyWidth, 0, CSSPrimitiveValue::UnitType::kPixels);
87 AddPropertyToPresentationAttributeStyle( 88 AddPropertyToPresentationAttributeStyle(
88 style, CSSPropertyHeight, 0, CSSPrimitiveValue::UnitType::kPixels); 89 style, CSSPropertyHeight, 0, CSSPrimitiveValue::UnitType::kPixels);
89 } 90 }
90 } else { 91 } else {
91 HTMLPlugInElement::CollectStyleForPresentationAttribute(name, value, style); 92 HTMLPlugInElement::CollectStyleForPresentationAttribute(name, value, style);
92 } 93 }
93 } 94 }
94 95
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 for (HTMLObjectElement* object = 225 for (HTMLObjectElement* object =
225 Traversal<HTMLObjectElement>::FirstAncestor(*this); 226 Traversal<HTMLObjectElement>::FirstAncestor(*this);
226 object; object = Traversal<HTMLObjectElement>::FirstAncestor(*object)) { 227 object; object = Traversal<HTMLObjectElement>::FirstAncestor(*object)) {
227 if (object->IsExposed()) 228 if (object->IsExposed())
228 return false; 229 return false;
229 } 230 }
230 return true; 231 return true;
231 } 232 }
232 233
233 } // namespace blink 234 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698