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

Side by Side Diff: Source/platform/text/UnicodeRange.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/platform/text/UnicodeBidi.h ('k') | Source/platform/text/UnicodeRange.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) 2007 Apple Computer, Inc. 2 * Copyright (C) 2007 Apple Computer, Inc.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
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 Lesser General Public 7 * modify it under the terms of the GNU Lesser 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.1 of the License, or (at your option) any later version. 9 * version 2.1 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 20 matching lines...) Expand all
31 * If you do not delete the provisions above, a recipient may use your 31 * If you do not delete the provisions above, a recipient may use your
32 * version of this file under any of the LGPL, the MPL or the GPL. 32 * version of this file under any of the LGPL, the MPL or the GPL.
33 */ 33 */
34 34
35 #ifndef UnicodeRange_h 35 #ifndef UnicodeRange_h
36 #define UnicodeRange_h 36 #define UnicodeRange_h
37 37
38 #include "platform/PlatformExport.h" 38 #include "platform/PlatformExport.h"
39 #include "wtf/unicode/Unicode.h" 39 #include "wtf/unicode/Unicode.h"
40 40
41 namespace WebCore { 41 namespace blink {
42 42
43 // The following constants define unicode subranges 43 // The following constants define unicode subranges
44 // values below cRangeNum must be continuous so that we can map to 44 // values below cRangeNum must be continuous so that we can map to
45 // a lang group directly. 45 // a lang group directly.
46 // All ranges we care about should fit within 32 bits. 46 // All ranges we care about should fit within 32 bits.
47 47
48 // Frequently used range definitions 48 // Frequently used range definitions
49 const unsigned char cRangeCyrillic = 0; 49 const unsigned char cRangeCyrillic = 0;
50 const unsigned char cRangeGreek = 1; 50 const unsigned char cRangeGreek = 1;
51 const unsigned char cRangeTurkish = 2; 51 const unsigned char cRangeTurkish = 2;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const unsigned char cRangeTertiaryTable = 145; // leave room for 16 subtable indices (cRangeTableBase + 1 .. cRangeTableBase + 16) 110 const unsigned char cRangeTertiaryTable = 145; // leave room for 16 subtable indices (cRangeTableBase + 1 .. cRangeTableBase + 16)
111 111
112 112
113 113
114 PLATFORM_EXPORT unsigned findCharUnicodeRange(UChar32); 114 PLATFORM_EXPORT unsigned findCharUnicodeRange(UChar32);
115 PLATFORM_EXPORT const char* langGroupFromUnicodeRange(unsigned char unicodeRange ); 115 PLATFORM_EXPORT const char* langGroupFromUnicodeRange(unsigned char unicodeRange );
116 116
117 } 117 }
118 118
119 #endif // UnicodeRange_h 119 #endif // UnicodeRange_h
OLDNEW
« no previous file with comments | « Source/platform/text/UnicodeBidi.h ('k') | Source/platform/text/UnicodeRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698