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

Side by Side Diff: Source/core/css/parser/CSSTokenizer.cpp

Issue 1188513005: Move CSSParserString out of CSSParserValues.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change includes to use CSSParserString.h Created 5 years, 6 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 "config.h" 5 #include "config.h"
6 #include "core/css/parser/CSSTokenizer.h" 6 #include "core/css/parser/CSSTokenizer.h"
7 7
8 namespace blink { 8 namespace blink {
9 #include "core/CSSTokenizerCodepoints.cpp" 9 #include "core/CSSTokenizerCodepoints.cpp"
10 } 10 }
11 11
12 #include "core/css/parser/CSSParserObserverWrapper.h" 12 #include "core/css/parser/CSSParserObserverWrapper.h"
13 #include "core/css/parser/CSSParserTokenRange.h" 13 #include "core/css/parser/CSSParserTokenRange.h"
14 #include "core/css/parser/CSSParserValues.h"
15 #include "core/css/parser/CSSTokenizerInputStream.h" 14 #include "core/css/parser/CSSTokenizerInputStream.h"
16 #include "core/html/parser/HTMLParserIdioms.h" 15 #include "core/html/parser/HTMLParserIdioms.h"
17 #include "wtf/unicode/CharacterNames.h" 16 #include "wtf/unicode/CharacterNames.h"
18 17
19 namespace blink { 18 namespace blink {
20 19
21 CSSTokenizer::Scope::Scope(const String& string) 20 CSSTokenizer::Scope::Scope(const String& string)
22 : m_string(string) 21 : m_string(string)
23 { 22 {
24 // According to the spec, we should perform preprocessing here. 23 // According to the spec, we should perform preprocessing here.
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 785
787 CSSParserString CSSTokenizer::registerString(const String& string) 786 CSSParserString CSSTokenizer::registerString(const String& string)
788 { 787 {
789 m_scope.storeString(string); 788 m_scope.storeString(string);
790 CSSParserString result; 789 CSSParserString result;
791 result.init(string); 790 result.init(string);
792 return result; 791 return result;
793 } 792 }
794 793
795 } // namespace blink 794 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/css/parser/CSSParserValues.h ('k') | Source/core/css/parser/CSSTokenizerInputStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698