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

Side by Side Diff: third_party/WebKit/Source/platform/wtf/text/AtomicString.h

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) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 bool EndsWith( 159 bool EndsWith(
160 const StringView& suffix, 160 const StringView& suffix,
161 TextCaseSensitivity case_sensitivity = kTextCaseSensitive) const { 161 TextCaseSensitivity case_sensitivity = kTextCaseSensitive) const {
162 return string_.EndsWith(suffix, case_sensitivity); 162 return string_.EndsWith(suffix, case_sensitivity);
163 } 163 }
164 bool EndsWith(UChar character) const { return string_.EndsWith(character); } 164 bool EndsWith(UChar character) const { return string_.EndsWith(character); }
165 165
166 // Returns a lowercase version of the string. This function might 166 // Returns a lowercase version of the string. This function might
167 // convert non-ASCII characters to ASCII characters. For example, 167 // convert non-ASCII characters to ASCII characters. For example,
168 // lower() for U+212A is 'k'. 168 // DeprecatedLower() for U+212A is 'k'.
169 // This function is rarely used to implement web platform features. 169 // This function is rarely used to implement web platform features.
170 AtomicString Lower() const; 170 // See crbug.com/627682.
171 // This function is deprecated. We should use LowerASCII(), or introduce
172 // LowerUnicode().
173 AtomicString DeprecatedLower() const;
171 174
172 // Returns a lowercase/uppercase version of the string. 175 // Returns a lowercase/uppercase version of the string.
173 // These functions convert ASCII characters only. 176 // These functions convert ASCII characters only.
174 AtomicString LowerASCII() const; 177 AtomicString LowerASCII() const;
175 AtomicString UpperASCII() const; 178 AtomicString UpperASCII() const;
176 179
177 int ToInt(bool* ok = 0) const { return string_.ToInt(ok); } 180 int ToInt(bool* ok = 0) const { return string_.ToInt(ok); }
178 double ToDouble(bool* ok = 0) const { return string_.ToDouble(ok); } 181 double ToDouble(bool* ok = 0) const { return string_.ToDouble(ok); }
179 float ToFloat(bool* ok = 0) const { return string_.ToFloat(ok); } 182 float ToFloat(bool* ok = 0) const { return string_.ToFloat(ok); }
180 183
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 using WTF::AtomicString; 308 using WTF::AtomicString;
306 using WTF::g_null_atom; 309 using WTF::g_null_atom;
307 using WTF::g_empty_atom; 310 using WTF::g_empty_atom;
308 using WTF::g_star_atom; 311 using WTF::g_star_atom;
309 using WTF::g_xml_atom; 312 using WTF::g_xml_atom;
310 using WTF::g_xmlns_atom; 313 using WTF::g_xmlns_atom;
311 using WTF::g_xlink_atom; 314 using WTF::g_xlink_atom;
312 315
313 #include "wtf/text/StringConcatenate.h" 316 #include "wtf/text/StringConcatenate.h"
314 #endif // AtomicString_h 317 #endif // AtomicString_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698