| 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 #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" |
| 11 #include "core/html/parser/InputStreamPreprocessor.h" | 11 #include "core/html/parser/InputStreamPreprocessor.h" |
| 12 #include "wtf/Allocator.h" | 12 #include "platform/wtf/Allocator.h" |
| 13 #include "wtf/text/StringView.h" | 13 #include "platform/wtf/text/StringView.h" |
| 14 #include "wtf/text/WTFString.h" | 14 #include "platform/wtf/text/WTFString.h" |
| 15 | 15 |
| 16 #include <climits> | 16 #include <climits> |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 | 19 |
| 20 class CSSTokenizerInputStream; | 20 class CSSTokenizerInputStream; |
| 21 class CSSParserObserverWrapper; | 21 class CSSParserObserverWrapper; |
| 22 class CSSParserTokenRange; | 22 class CSSParserTokenRange; |
| 23 | 23 |
| 24 class CORE_EXPORT CSSTokenizer { | 24 class CORE_EXPORT CSSTokenizer { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 Vector<CSSParserTokenType, 8> block_stack_; | 104 Vector<CSSParserTokenType, 8> block_stack_; |
| 105 | 105 |
| 106 Vector<CSSParserToken, 32> tokens_; | 106 Vector<CSSParserToken, 32> tokens_; |
| 107 // We only allocate strings when escapes are used. | 107 // We only allocate strings when escapes are used. |
| 108 Vector<String> string_pool_; | 108 Vector<String> string_pool_; |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 } // namespace blink | 111 } // namespace blink |
| 112 | 112 |
| 113 #endif // CSSTokenizer_h | 113 #endif // CSSTokenizer_h |
| OLD | NEW |