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

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

Issue 23456046: Implement unicode bidi P2 and P3 rules in BidiResolver (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
« no previous file with comments | « Source/core/rendering/RenderBlockLineLayout.cpp ('k') | Source/wtf/text/StringImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 reserved. 3 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Google Inc. All rights reserved. 4 * Copyright (C) 2009 Google Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return endsWith(prefix, matchLength - 1, caseSensitive); } 402 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return endsWith(prefix, matchLength - 1, caseSensitive); }
403 403
404 PassRefPtr<StringImpl> replace(UChar, UChar); 404 PassRefPtr<StringImpl> replace(UChar, UChar);
405 PassRefPtr<StringImpl> replace(UChar, StringImpl*); 405 PassRefPtr<StringImpl> replace(UChar, StringImpl*);
406 ALWAYS_INLINE PassRefPtr<StringImpl> replace(UChar pattern, const char* repl acement, unsigned replacementLength) { return replace(pattern, reinterpret_cast< const LChar*>(replacement), replacementLength); } 406 ALWAYS_INLINE PassRefPtr<StringImpl> replace(UChar pattern, const char* repl acement, unsigned replacementLength) { return replace(pattern, reinterpret_cast< const LChar*>(replacement), replacementLength); }
407 PassRefPtr<StringImpl> replace(UChar, const LChar*, unsigned replacementLeng th); 407 PassRefPtr<StringImpl> replace(UChar, const LChar*, unsigned replacementLeng th);
408 PassRefPtr<StringImpl> replace(UChar, const UChar*, unsigned replacementLeng th); 408 PassRefPtr<StringImpl> replace(UChar, const UChar*, unsigned replacementLeng th);
409 PassRefPtr<StringImpl> replace(StringImpl*, StringImpl*); 409 PassRefPtr<StringImpl> replace(StringImpl*, StringImpl*);
410 PassRefPtr<StringImpl> replace(unsigned index, unsigned len, StringImpl*); 410 PassRefPtr<StringImpl> replace(unsigned index, unsigned len, StringImpl*);
411 411
412 WTF::Unicode::Direction defaultWritingDirection(bool* hasStrongDirectionalit y = 0);
413
414 #if USE(CF) 412 #if USE(CF)
415 RetainPtr<CFStringRef> createCFString(); 413 RetainPtr<CFStringRef> createCFString();
416 #endif 414 #endif
417 #ifdef __OBJC__ 415 #ifdef __OBJC__
418 operator NSString*(); 416 operator NSString*();
419 #endif 417 #endif
420 418
421 #ifdef STRING_STATS 419 #ifdef STRING_STATS
422 ALWAYS_INLINE static StringStats& stringStats() { return m_stringStats; } 420 ALWAYS_INLINE static StringStats& stringStats() { return m_stringStats; }
423 #endif 421 #endif
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 } 736 }
739 737
740 using WTF::StringImpl; 738 using WTF::StringImpl;
741 using WTF::equal; 739 using WTF::equal;
742 using WTF::equalNonNull; 740 using WTF::equalNonNull;
743 using WTF::TextCaseSensitivity; 741 using WTF::TextCaseSensitivity;
744 using WTF::TextCaseSensitive; 742 using WTF::TextCaseSensitive;
745 using WTF::TextCaseInsensitive; 743 using WTF::TextCaseInsensitive;
746 744
747 #endif 745 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlockLineLayout.cpp ('k') | Source/wtf/text/StringImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698