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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/Character.h

Issue 1742293002: Support src/build/linux/unbundle in CharacterDataGenerator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 4 years, 9 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 | « no previous file | third_party/WebKit/Source/platform/fonts/Character.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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // http://www.whatwg.org/specs/web-apps/current-work/multipage/common-mi crosyntaxes.html#space-character 130 // http://www.whatwg.org/specs/web-apps/current-work/multipage/common-mi crosyntaxes.html#space-character
131 // This function returns true for 0x000B also, so that this is backward compatible. 131 // This function returns true for 0x000B also, so that this is backward compatible.
132 // Otherwise, the test LayoutTests/canvas/philip/tests/2d.text.draw.spac e.collapse.space.html will fail 132 // Otherwise, the test LayoutTests/canvas/philip/tests/2d.text.draw.spac e.collapse.space.html will fail
133 return c == 0x0009 || (c >= 0x000A && c <= 0x000D); 133 return c == 0x0009 || (c >= 0x000A && c <= 0x000D);
134 } 134 }
135 135
136 static String normalizeSpaces(const LChar*, unsigned length); 136 static String normalizeSpaces(const LChar*, unsigned length);
137 static String normalizeSpaces(const UChar*, unsigned length); 137 static String normalizeSpaces(const UChar*, unsigned length);
138 138
139 static bool isCommonOrInheritedScript(UChar32); 139 static bool isCommonOrInheritedScript(UChar32);
140
141 private:
142 static bool hasProperty(UChar32, CharacterProperty);
143 }; 140 };
144 141
145 } // namespace blink 142 } // namespace blink
146 143
147 #endif 144 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/Character.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698