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

Unified Diff: third_party/WebKit/Source/wtf/text/WTFString.h

Issue 2723053002: Use the correct case converter for |localName| and |tagName| (Closed)
Patch Set: Oops... Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/wtf/text/WTFString.h
diff --git a/third_party/WebKit/Source/wtf/text/WTFString.h b/third_party/WebKit/Source/wtf/text/WTFString.h
index 9ba534a65e70a80aa13467d2bd70bcf09d71ed16..dd517e4a369d0d03aa5a48315c5d83326481c403 100644
--- a/third_party/WebKit/Source/wtf/text/WTFString.h
+++ b/third_party/WebKit/Source/wtf/text/WTFString.h
@@ -293,6 +293,10 @@ class WTF_EXPORT String {
String lower(const AtomicString& localeIdentifier) const;
String upper(const AtomicString& localeIdentifier) const;
+ // Returns a uppercase version of the string.
+ // This function converts ASCII characters only.
+ String upperASCII() const;
+
String stripWhiteSpace() const;
String stripWhiteSpace(IsWhiteSpaceFunctionPtr) const;
String simplifyWhiteSpace(StripBehavior = StripExtraWhiteSpace) const;
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringImplTest.cpp ('k') | third_party/WebKit/Source/wtf/text/WTFString.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698