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

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

Issue 1841143002: Add enum class |WebEditingCommandType| for EditorCommand (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introducing |codePointCompareIgnoringASCIICase()| Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/wtf/text/StringImpl.h
diff --git a/third_party/WebKit/Source/wtf/text/StringImpl.h b/third_party/WebKit/Source/wtf/text/StringImpl.h
index 90b8c9b7146c1e24b531ad34b4add213f62c3b5f..161fa19be061c9ad496f7190c45a2f565eda7fc0 100644
--- a/third_party/WebKit/Source/wtf/text/StringImpl.h
+++ b/third_party/WebKit/Source/wtf/text/StringImpl.h
@@ -516,6 +516,8 @@ inline bool equalIgnoringASCIICase(const CharacterTypeA* a, const CharacterTypeB
WTF_EXPORT bool equalIgnoringASCIICase(const StringImpl*, const StringImpl*);
WTF_EXPORT bool equalIgnoringASCIICase(const StringImpl*, const LChar*);
+WTF_EXPORT int codePointCompareIgnoringASCIICase(const StringImpl*, const LChar*);
+
template<typename CharacterType>
inline size_t find(const CharacterType* characters, unsigned length, CharacterType matchCharacter, unsigned index = 0)
{

Powered by Google App Engine
This is Rietveld 408576698