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

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

Issue 432773002: Add the named color `rebeccapurple` (#639) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 6 years, 4 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 | « Source/devtools/front_end/common/Color.js ('k') | no next file » | 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 "config.h" 2 #include "config.h"
3 #include "platform/graphics/Color.h" 3 #include "platform/graphics/Color.h"
4 #include <string.h> 4 #include <string.h>
5 5
6 namespace blink { 6 namespace blink {
7 %} 7 %}
8 %struct-type 8 %struct-type
9 struct NamedColor; 9 struct NamedColor;
10 %omit-struct-type 10 %omit-struct-type
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 palegreen, 0xff98fb98 130 palegreen, 0xff98fb98
131 paleturquoise, 0xffafeeee 131 paleturquoise, 0xffafeeee
132 palevioletred, 0xffdb7093 132 palevioletred, 0xffdb7093
133 papayawhip, 0xffffefd5 133 papayawhip, 0xffffefd5
134 peachpuff, 0xffffdab9 134 peachpuff, 0xffffdab9
135 peru, 0xffcd853f 135 peru, 0xffcd853f
136 pink, 0xffffc0cb 136 pink, 0xffffc0cb
137 plum, 0xffdda0dd 137 plum, 0xffdda0dd
138 powderblue, 0xffb0e0e6 138 powderblue, 0xffb0e0e6
139 purple, 0xff800080 139 purple, 0xff800080
140 rebeccapurple, 0xff663399
140 red, 0xffff0000 141 red, 0xffff0000
141 rosybrown, 0xffbc8f8f 142 rosybrown, 0xffbc8f8f
142 royalblue, 0xff4169e1 143 royalblue, 0xff4169e1
143 saddlebrown, 0xff8b4513 144 saddlebrown, 0xff8b4513
144 salmon, 0xfffa8072 145 salmon, 0xfffa8072
145 sandybrown, 0xfff4a460 146 sandybrown, 0xfff4a460
146 seagreen, 0xff2e8b57 147 seagreen, 0xff2e8b57
147 seashell, 0xfffff5ee 148 seashell, 0xfffff5ee
148 sienna, 0xffa0522d 149 sienna, 0xffa0522d
149 silver, 0xffc0c0c0 150 silver, 0xffc0c0c0
(...skipping 17 matching lines...) Expand all
167 whitesmoke, 0xfff5f5f5 168 whitesmoke, 0xfff5f5f5
168 yellow, 0xffffff00 169 yellow, 0xffffff00
169 yellowgreen, 0xff9acd32 170 yellowgreen, 0xff9acd32
170 %% 171 %%
171 const struct NamedColor* findColor(register const char* str, register unsigned l en) 172 const struct NamedColor* findColor(register const char* str, register unsigned l en)
172 { 173 {
173 return ColorDataHash::findColorImpl(str, len); 174 return ColorDataHash::findColorImpl(str, len);
174 } 175 }
175 176
176 } // namespace blink 177 } // namespace blink
OLDNEW
« no previous file with comments | « Source/devtools/front_end/common/Color.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698