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

Side by Side Diff: Source/WTF/wtf/text/WTFString.h

Issue 13687007: Remove PLATFORM(BLACKBERRY) support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * (C) 1999 Lars Knoll (knoll@kde.org) 2 * (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 24 matching lines...) Expand all
35 #if PLATFORM(QT) 35 #if PLATFORM(QT)
36 QT_BEGIN_NAMESPACE 36 QT_BEGIN_NAMESPACE
37 class QString; 37 class QString;
38 QT_END_NAMESPACE 38 QT_END_NAMESPACE
39 #endif 39 #endif
40 40
41 #if PLATFORM(WX) 41 #if PLATFORM(WX)
42 class wxString; 42 class wxString;
43 #endif 43 #endif
44 44
45 #if PLATFORM(BLACKBERRY)
46 namespace BlackBerry {
47 namespace Platform {
48 class String;
49 }
50 }
51 #endif
52
53 namespace WTF { 45 namespace WTF {
54 46
55 class CString; 47 class CString;
56 class MemoryObjectInfo; 48 class MemoryObjectInfo;
57 struct StringHash; 49 struct StringHash;
58 50
59 // Declarations of string operations 51 // Declarations of string operations
60 52
61 WTF_EXPORT_STRING_API int charactersToIntStrict(const LChar*, size_t, bool* ok = 0, int base = 10); 53 WTF_EXPORT_STRING_API int charactersToIntStrict(const LChar*, size_t, bool* ok = 0, int base = 10);
62 WTF_EXPORT_STRING_API int charactersToIntStrict(const UChar*, size_t, bool* ok = 0, int base = 10); 54 WTF_EXPORT_STRING_API int charactersToIntStrict(const UChar*, size_t, bool* ok = 0, int base = 10);
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 WTF_EXPORT_STRING_API String(const QString&); 422 WTF_EXPORT_STRING_API String(const QString&);
431 WTF_EXPORT_STRING_API String(const QStringRef&); 423 WTF_EXPORT_STRING_API String(const QStringRef&);
432 WTF_EXPORT_STRING_API operator QString() const; 424 WTF_EXPORT_STRING_API operator QString() const;
433 #endif 425 #endif
434 426
435 #if PLATFORM(WX) 427 #if PLATFORM(WX)
436 WTF_EXPORT_PRIVATE String(const wxString&); 428 WTF_EXPORT_PRIVATE String(const wxString&);
437 WTF_EXPORT_PRIVATE operator wxString() const; 429 WTF_EXPORT_PRIVATE operator wxString() const;
438 #endif 430 #endif
439 431
440 #if PLATFORM(BLACKBERRY)
441 String(const BlackBerry::Platform::String&);
442 operator BlackBerry::Platform::String() const;
443 #endif
444
445 WTF_EXPORT_STRING_API static String make8BitFrom16BitSource(const UChar*, si ze_t); 432 WTF_EXPORT_STRING_API static String make8BitFrom16BitSource(const UChar*, si ze_t);
446 template<size_t inlineCapacity> 433 template<size_t inlineCapacity>
447 static String make8BitFrom16BitSource(const Vector<UChar, inlineCapacity>& b uffer) 434 static String make8BitFrom16BitSource(const Vector<UChar, inlineCapacity>& b uffer)
448 { 435 {
449 return make8BitFrom16BitSource(buffer.data(), buffer.size()); 436 return make8BitFrom16BitSource(buffer.data(), buffer.size());
450 } 437 }
451 438
452 WTF_EXPORT_STRING_API static String make16BitFrom8BitSource(const LChar*, si ze_t); 439 WTF_EXPORT_STRING_API static String make16BitFrom8BitSource(const LChar*, si ze_t);
453 440
454 // String::fromUTF8 will return a null string if 441 // String::fromUTF8 will return a null string if
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 using WTF::equal; 698 using WTF::equal;
712 using WTF::equalIgnoringCase; 699 using WTF::equalIgnoringCase;
713 using WTF::find; 700 using WTF::find;
714 using WTF::isAllSpecialCharacters; 701 using WTF::isAllSpecialCharacters;
715 using WTF::isSpaceOrNewline; 702 using WTF::isSpaceOrNewline;
716 using WTF::reverseFind; 703 using WTF::reverseFind;
717 using WTF::ASCIILiteral; 704 using WTF::ASCIILiteral;
718 705
719 #include <wtf/text/AtomicString.h> 706 #include <wtf/text/AtomicString.h>
720 #endif 707 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698