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

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

Issue 2806263002: Rename blink::AtomicString::Lower() to DeprecatedLower(). (Closed)
Patch Set: Update a comment 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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) 7 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com)
8 * Copyright (C) 2011 Google Inc. All rights reserved. 8 * Copyright (C) 2011 Google Inc. All rights reserved.
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 referrer_policy_ = kReferrerPolicyDefault; 84 referrer_policy_ = kReferrerPolicyDefault;
85 if (!value.IsNull()) { 85 if (!value.IsNull()) {
86 SecurityPolicy::ReferrerPolicyFromString( 86 SecurityPolicy::ReferrerPolicyFromString(
87 value, kDoNotSupportReferrerPolicyLegacyKeywords, &referrer_policy_); 87 value, kDoNotSupportReferrerPolicyLegacyKeywords, &referrer_policy_);
88 UseCounter::Count(GetDocument(), 88 UseCounter::Count(GetDocument(),
89 UseCounter::kHTMLLinkElementReferrerPolicyAttribute); 89 UseCounter::kHTMLLinkElementReferrerPolicyAttribute);
90 } 90 }
91 } else if (name == sizesAttr) { 91 } else if (name == sizesAttr) {
92 sizes_->setValue(value); 92 sizes_->setValue(value);
93 } else if (name == mediaAttr) { 93 } else if (name == mediaAttr) {
94 media_ = value.Lower(); 94 media_ = value.DeprecatedLower();
95 Process(); 95 Process();
96 } else if (name == scopeAttr) { 96 } else if (name == scopeAttr) {
97 scope_ = value; 97 scope_ = value;
98 Process(); 98 Process();
99 } else if (name == disabledAttr) { 99 } else if (name == disabledAttr) {
100 UseCounter::Count(GetDocument(), UseCounter::kHTMLLinkElementDisabled); 100 UseCounter::Count(GetDocument(), UseCounter::kHTMLLinkElementDisabled);
101 if (LinkStyle* link = GetLinkStyle()) 101 if (LinkStyle* link = GetLinkStyle())
102 link->SetDisabledState(!value.IsNull()); 102 link->SetDisabledState(!value.IsNull());
103 } else { 103 } else {
104 if (name == titleAttr) { 104 if (name == titleAttr) {
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 LinkLoaderClient::Trace(visitor); 370 LinkLoaderClient::Trace(visitor);
371 DOMTokenListObserver::Trace(visitor); 371 DOMTokenListObserver::Trace(visitor);
372 } 372 }
373 373
374 DEFINE_TRACE_WRAPPERS(HTMLLinkElement) { 374 DEFINE_TRACE_WRAPPERS(HTMLLinkElement) {
375 visitor->TraceWrappers(rel_list_); 375 visitor->TraceWrappers(rel_list_);
376 HTMLElement::TraceWrappers(visitor); 376 HTMLElement::TraceWrappers(visitor);
377 } 377 }
378 378
379 } // namespace blink 379 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698