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

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

Issue 2723053002: Use the correct case converter for |localName| and |tagName| (Closed)
Patch Set: Oops... Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights 3 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
4 * reserved. 4 * reserved.
5 * Copyright (C) 2009 Google Inc. All rights reserved. 5 * Copyright (C) 2009 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 // FIXME: Like the strict functions above, these give false for "ok" when 374 // FIXME: Like the strict functions above, these give false for "ok" when
375 // there is trailing garbage. Like the non-strict functions above, these 375 // there is trailing garbage. Like the non-strict functions above, these
376 // return the value when there is trailing garbage. It would be better if 376 // return the value when there is trailing garbage. It would be better if
377 // these were more consistent with the above functions instead. 377 // these were more consistent with the above functions instead.
378 double toDouble(bool* ok = 0); 378 double toDouble(bool* ok = 0);
379 float toFloat(bool* ok = 0); 379 float toFloat(bool* ok = 0);
380 380
381 PassRefPtr<StringImpl> lower(); 381 PassRefPtr<StringImpl> lower();
382 PassRefPtr<StringImpl> lowerASCII(); 382 PassRefPtr<StringImpl> lowerASCII();
383 PassRefPtr<StringImpl> upper(); 383 PassRefPtr<StringImpl> upper();
384 PassRefPtr<StringImpl> upperASCII();
384 PassRefPtr<StringImpl> lower(const AtomicString& localeIdentifier); 385 PassRefPtr<StringImpl> lower(const AtomicString& localeIdentifier);
385 PassRefPtr<StringImpl> upper(const AtomicString& localeIdentifier); 386 PassRefPtr<StringImpl> upper(const AtomicString& localeIdentifier);
386 387
387 PassRefPtr<StringImpl> fill(UChar); 388 PassRefPtr<StringImpl> fill(UChar);
388 // FIXME: Do we need fill(char) or can we just do the right thing if UChar is 389 // FIXME: Do we need fill(char) or can we just do the right thing if UChar is
389 // ASCII? 390 // ASCII?
390 PassRefPtr<StringImpl> foldCase(); 391 PassRefPtr<StringImpl> foldCase();
391 392
392 PassRefPtr<StringImpl> truncate(unsigned length); 393 PassRefPtr<StringImpl> truncate(unsigned length);
393 394
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 using WTF::TextCaseASCIIInsensitive; 888 using WTF::TextCaseASCIIInsensitive;
888 using WTF::TextCaseUnicodeInsensitive; 889 using WTF::TextCaseUnicodeInsensitive;
889 using WTF::TextCaseSensitive; 890 using WTF::TextCaseSensitive;
890 using WTF::TextCaseSensitivity; 891 using WTF::TextCaseSensitivity;
891 using WTF::equal; 892 using WTF::equal;
892 using WTF::equalNonNull; 893 using WTF::equalNonNull;
893 using WTF::lengthOfNullTerminatedString; 894 using WTF::lengthOfNullTerminatedString;
894 using WTF::reverseFind; 895 using WTF::reverseFind;
895 896
896 #endif 897 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/text/AtomicString.cpp ('k') | third_party/WebKit/Source/wtf/text/StringImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698