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

Side by Side Diff: sky/engine/platform/text/UnicodeRange.h

Issue 736373003: Fix sky include guards to match Chromium style (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Reran script after fixing missing break Created 6 years 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 | « sky/engine/platform/text/UnicodeBidi.h ('k') | sky/engine/platform/text/UnicodeUtilities.h » ('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 14 matching lines...) Expand all
25 * applicable instead of those above. If you wish to allow use of your 25 * applicable instead of those above. If you wish to allow use of your
26 * version of this file only under the terms of one of those two 26 * version of this file only under the terms of one of those two
27 * licenses (the MPL or the GPL) and not to allow others to use your 27 * licenses (the MPL or the GPL) and not to allow others to use your
28 * version of this file under the LGPL, indicate your decision by 28 * version of this file under the LGPL, indicate your decision by
29 * deletingthe provisions above and replace them with the notice and 29 * deletingthe provisions above and replace them with the notice and
30 * other provisions required by the MPL or the GPL, as the case may be. 30 * other provisions required by the MPL or the GPL, as the case may be.
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 SKY_ENGINE_PLATFORM_TEXT_UNICODERANGE_H_
36 #define UnicodeRange_h 36 #define SKY_ENGINE_PLATFORM_TEXT_UNICODERANGE_H_
37 37
38 #include "sky/engine/platform/PlatformExport.h" 38 #include "sky/engine/platform/PlatformExport.h"
39 #include "sky/engine/wtf/unicode/Unicode.h" 39 #include "sky/engine/wtf/unicode/Unicode.h"
40 40
41 namespace blink { 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.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const unsigned char cRangeTableBase = 128; // values over 127 are reserved f or internal use only 109 const unsigned char cRangeTableBase = 128; // values over 127 are reserved f or internal use only
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 // SKY_ENGINE_PLATFORM_TEXT_UNICODERANGE_H_
OLDNEW
« no previous file with comments | « sky/engine/platform/text/UnicodeBidi.h ('k') | sky/engine/platform/text/UnicodeUtilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698