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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSTokenizer.h

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: Rebasing the fixes... Created 3 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSSTokenizer_h 5 #ifndef CSSTokenizer_h
6 #define CSSTokenizer_h 6 #define CSSTokenizer_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/css/parser/CSSParserToken.h" 9 #include "core/css/parser/CSSParserToken.h"
10 #include "core/css/parser/CSSTokenizerInputStream.h" 10 #include "core/css/parser/CSSTokenizerInputStream.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 CSSParserToken leftBrace(UChar); 75 CSSParserToken leftBrace(UChar);
76 CSSParserToken rightBrace(UChar); 76 CSSParserToken rightBrace(UChar);
77 CSSParserToken plusOrFullStop(UChar); 77 CSSParserToken plusOrFullStop(UChar);
78 CSSParserToken comma(UChar); 78 CSSParserToken comma(UChar);
79 CSSParserToken hyphenMinus(UChar); 79 CSSParserToken hyphenMinus(UChar);
80 CSSParserToken asterisk(UChar); 80 CSSParserToken asterisk(UChar);
81 CSSParserToken lessThan(UChar); 81 CSSParserToken lessThan(UChar);
82 CSSParserToken solidus(UChar); 82 CSSParserToken solidus(UChar);
83 CSSParserToken colon(UChar); 83 CSSParserToken colon(UChar);
84 CSSParserToken semiColon(UChar); 84 CSSParserToken semiColon(UChar);
85 CSSParserToken hash(UChar); 85 /* DO NOT SUBMIT - Merge conflict resolution marker.
86 * Please spell |Hash| below (not |GetHash|). */
87 CSSParserToken Hash(UChar);
86 CSSParserToken circumflexAccent(UChar); 88 CSSParserToken circumflexAccent(UChar);
87 CSSParserToken dollarSign(UChar); 89 CSSParserToken dollarSign(UChar);
88 CSSParserToken verticalLine(UChar); 90 CSSParserToken verticalLine(UChar);
89 CSSParserToken tilde(UChar); 91 CSSParserToken tilde(UChar);
90 CSSParserToken commercialAt(UChar); 92 CSSParserToken commercialAt(UChar);
91 CSSParserToken reverseSolidus(UChar); 93 CSSParserToken reverseSolidus(UChar);
92 CSSParserToken asciiDigit(UChar); 94 CSSParserToken asciiDigit(UChar);
93 CSSParserToken letterU(UChar); 95 CSSParserToken letterU(UChar);
94 CSSParserToken nameStart(UChar); 96 CSSParserToken nameStart(UChar);
95 CSSParserToken stringStart(UChar); 97 CSSParserToken stringStart(UChar);
96 CSSParserToken endOfFile(UChar); 98 CSSParserToken endOfFile(UChar);
97 99
98 StringView registerString(const String&); 100 StringView registerString(const String&);
99 101
100 using CodePoint = CSSParserToken (CSSTokenizer::*)(UChar); 102 using CodePoint = CSSParserToken (CSSTokenizer::*)(UChar);
101 static const CodePoint codePoints[]; 103 static const CodePoint codePoints[];
102 104
103 CSSTokenizerInputStream m_input; 105 CSSTokenizerInputStream m_input;
104 Vector<CSSParserTokenType, 8> m_blockStack; 106 Vector<CSSParserTokenType, 8> m_blockStack;
105 107
106 Vector<CSSParserToken, 32> m_tokens; 108 Vector<CSSParserToken, 32> m_tokens;
107 // We only allocate strings when escapes are used. 109 // We only allocate strings when escapes are used.
108 Vector<String> m_stringPool; 110 Vector<String> m_stringPool;
109 }; 111 };
110 112
111 } // namespace blink 113 } // namespace blink
112 114
113 #endif // CSSTokenizer_h 115 #endif // CSSTokenizer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRule.h ('k') | third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698