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

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

Issue 424983002: Stop using WebCore namespace in generated code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/webmidi/MIDIClientMock.cpp ('k') | Source/platform/audio/AudioArray.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 #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 WebCore { 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
11 %language=C++ 11 %language=C++
12 %readonly-tables 12 %readonly-tables
13 %global-table 13 %global-table
14 %compare-strncmp 14 %compare-strncmp
15 %define class-name ColorDataHash 15 %define class-name ColorDataHash
16 %define lookup-function-name findColorImpl 16 %define lookup-function-name findColorImpl
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 white, 0xffffffff 166 white, 0xffffffff
167 whitesmoke, 0xfff5f5f5 167 whitesmoke, 0xfff5f5f5
168 yellow, 0xffffff00 168 yellow, 0xffffff00
169 yellowgreen, 0xff9acd32 169 yellowgreen, 0xff9acd32
170 %% 170 %%
171 const struct NamedColor* findColor(register const char* str, register unsigned l en) 171 const struct NamedColor* findColor(register const char* str, register unsigned l en)
172 { 172 {
173 return ColorDataHash::findColorImpl(str, len); 173 return ColorDataHash::findColorImpl(str, len);
174 } 174 }
175 175
176 } // namespace WebCore 176 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/webmidi/MIDIClientMock.cpp ('k') | Source/platform/audio/AudioArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698