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

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

Issue 1624383002: Match <area shape> ASCII case-insensitively (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 inline bool operator!=(const Vector<UChar>& a, const AtomicString& b) { return ! (a == b); } 206 inline bool operator!=(const Vector<UChar>& a, const AtomicString& b) { return ! (a == b); }
207 207
208 inline bool equalIgnoringCase(const AtomicString& a, const AtomicString& b) { re turn equalIgnoringCase(a.impl(), b.impl()); } 208 inline bool equalIgnoringCase(const AtomicString& a, const AtomicString& b) { re turn equalIgnoringCase(a.impl(), b.impl()); }
209 inline bool equalIgnoringCase(const AtomicString& a, const LChar* b) { return eq ualIgnoringCase(a.impl(), b); } 209 inline bool equalIgnoringCase(const AtomicString& a, const LChar* b) { return eq ualIgnoringCase(a.impl(), b); }
210 inline bool equalIgnoringCase(const AtomicString& a, const char* b) { return equ alIgnoringCase(a.impl(), reinterpret_cast<const LChar*>(b)); } 210 inline bool equalIgnoringCase(const AtomicString& a, const char* b) { return equ alIgnoringCase(a.impl(), reinterpret_cast<const LChar*>(b)); }
211 inline bool equalIgnoringCase(const AtomicString& a, const String& b) { return e qualIgnoringCase(a.impl(), b.impl()); } 211 inline bool equalIgnoringCase(const AtomicString& a, const String& b) { return e qualIgnoringCase(a.impl(), b.impl()); }
212 inline bool equalIgnoringCase(const LChar* a, const AtomicString& b) { return eq ualIgnoringCase(a, b.impl()); } 212 inline bool equalIgnoringCase(const LChar* a, const AtomicString& b) { return eq ualIgnoringCase(a, b.impl()); }
213 inline bool equalIgnoringCase(const char* a, const AtomicString& b) { return equ alIgnoringCase(reinterpret_cast<const LChar*>(a), b.impl()); } 213 inline bool equalIgnoringCase(const char* a, const AtomicString& b) { return equ alIgnoringCase(reinterpret_cast<const LChar*>(a), b.impl()); }
214 inline bool equalIgnoringCase(const String& a, const AtomicString& b) { return e qualIgnoringCase(a.impl(), b.impl()); } 214 inline bool equalIgnoringCase(const String& a, const AtomicString& b) { return e qualIgnoringCase(a.impl(), b.impl()); }
215 215
216 inline bool equalIgnoringASCIICase(const AtomicString& a, const AtomicString& b) { return equalIgnoringASCIICase(a.impl(), b.impl()); }
217 inline bool equalIgnoringASCIICase(const AtomicString& a, const char* b) { retur n equalIgnoringASCIICase(a.impl(), reinterpret_cast<const LChar*>(b)); }
218
216 // Define external global variables for the commonly used atomic strings. 219 // Define external global variables for the commonly used atomic strings.
217 // These are only usable from the main thread. 220 // These are only usable from the main thread.
218 WTF_EXPORT extern const AtomicString& nullAtom; 221 WTF_EXPORT extern const AtomicString& nullAtom;
219 WTF_EXPORT extern const AtomicString& emptyAtom; 222 WTF_EXPORT extern const AtomicString& emptyAtom;
220 WTF_EXPORT extern const AtomicString& starAtom; 223 WTF_EXPORT extern const AtomicString& starAtom;
221 WTF_EXPORT extern const AtomicString& xmlAtom; 224 WTF_EXPORT extern const AtomicString& xmlAtom;
222 WTF_EXPORT extern const AtomicString& xmlnsAtom; 225 WTF_EXPORT extern const AtomicString& xmlnsAtom;
223 WTF_EXPORT extern const AtomicString& xlinkAtom; 226 WTF_EXPORT extern const AtomicString& xlinkAtom;
224 227
225 inline AtomicString AtomicString::fromUTF8(const char* characters, size_t length ) 228 inline AtomicString AtomicString::fromUTF8(const char* characters, size_t length )
(...skipping 30 matching lines...) Expand all
256 using WTF::AtomicString; 259 using WTF::AtomicString;
257 using WTF::nullAtom; 260 using WTF::nullAtom;
258 using WTF::emptyAtom; 261 using WTF::emptyAtom;
259 using WTF::starAtom; 262 using WTF::starAtom;
260 using WTF::xmlAtom; 263 using WTF::xmlAtom;
261 using WTF::xmlnsAtom; 264 using WTF::xmlnsAtom;
262 using WTF::xlinkAtom; 265 using WTF::xlinkAtom;
263 266
264 #include "wtf/text/StringConcatenate.h" 267 #include "wtf/text/StringConcatenate.h"
265 #endif // AtomicString_h 268 #endif // AtomicString_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAreaElement.cpp ('k') | third_party/WebKit/Source/wtf/text/StringImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698