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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. Created 3 years, 8 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 #include "core/css/parser/CSSParserToken.h" 5 #include "core/css/parser/CSSParserToken.h"
6 6
7 #include <limits.h>
7 #include "core/css/CSSMarkup.h" 8 #include "core/css/CSSMarkup.h"
8 #include "core/css/CSSPrimitiveValue.h" 9 #include "core/css/CSSPrimitiveValue.h"
9 #include "core/css/parser/CSSPropertyParser.h" 10 #include "core/css/parser/CSSPropertyParser.h"
10 #include "wtf/HashMap.h" 11 #include "platform/wtf/HashMap.h"
11 #include "wtf/text/StringBuilder.h" 12 #include "platform/wtf/text/StringBuilder.h"
12 #include <limits.h>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 CSSParserToken::CSSParserToken(CSSParserTokenType type, BlockType block_type) 16 CSSParserToken::CSSParserToken(CSSParserTokenType type, BlockType block_type)
17 : type_(type), block_type_(block_type) {} 17 : type_(type), block_type_(block_type) {}
18 18
19 // Just a helper used for Delimiter tokens. 19 // Just a helper used for Delimiter tokens.
20 CSSParserToken::CSSParserToken(CSSParserTokenType type, UChar c) 20 CSSParserToken::CSSParserToken(CSSParserTokenType type, UChar c)
21 : type_(type), block_type_(kNotBlock), delimiter_(c) { 21 : type_(type), block_type_(kNotBlock), delimiter_(c) {
22 DCHECK_EQ(type_, static_cast<unsigned>(kDelimiterToken)); 22 DCHECK_EQ(type_, static_cast<unsigned>(kDelimiterToken));
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 return builder.Append('}'); 277 return builder.Append('}');
278 278
279 case kEOFToken: 279 case kEOFToken:
280 case kCommentToken: 280 case kCommentToken:
281 NOTREACHED(); 281 NOTREACHED();
282 return; 282 return;
283 } 283 }
284 } 284 }
285 285
286 } // namespace blink 286 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698