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

Side by Side Diff: Source/platform/ColorData.gperf

Issue 42313002: Move Color.*, DashArray and DrawLooper to Source/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing moved files Created 7 years, 1 month 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/svg/SVGColor.h ('k') | Source/platform/blink_platform.gyp » ('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 #include "core/platform/HashTools.h" 2 #include "config.h"
3 #include "platform/graphics/Color.h"
3 #include <string.h> 4 #include <string.h>
4 5
5 namespace WebCore { 6 namespace WebCore {
6 %} 7 %}
7 %struct-type 8 %struct-type
8 struct NamedColor; 9 struct NamedColor;
9 %omit-struct-type 10 %omit-struct-type
10 %language=C++ 11 %language=C++
11 %readonly-tables 12 %readonly-tables
12 %global-table 13 %global-table
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 transparent, 0x00000000 161 transparent, 0x00000000
161 turquoise, 0xff40e0d0 162 turquoise, 0xff40e0d0
162 violet, 0xffee82ee 163 violet, 0xffee82ee
163 violetred, 0xffd02090 164 violetred, 0xffd02090
164 wheat, 0xfff5deb3 165 wheat, 0xfff5deb3
165 white, 0xffffffff 166 white, 0xffffffff
166 whitesmoke, 0xfff5f5f5 167 whitesmoke, 0xfff5f5f5
167 yellow, 0xffffff00 168 yellow, 0xffffff00
168 yellowgreen, 0xff9acd32 169 yellowgreen, 0xff9acd32
169 %% 170 %%
170 const struct NamedColor* findColor(register const char* str, register unsigned i nt len) 171 const struct NamedColor* findColor(register const char* str, register unsigned l en)
171 { 172 {
172 return ColorDataHash::findColorImpl(str, len); 173 return ColorDataHash::findColorImpl(str, len);
173 } 174 }
174 175
175 } // namespace WebCore 176 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/svg/SVGColor.h ('k') | Source/platform/blink_platform.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698