| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |