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 CSSSelectorParser_h | 5 #ifndef CSSSelectorParser_h |
6 #define CSSSelectorParser_h | 6 #define CSSSelectorParser_h |
7 | 7 |
| 8 #include <memory> |
8 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
9 #include "core/css/parser/CSSParserSelector.h" | 10 #include "core/css/parser/CSSParserSelector.h" |
10 #include "core/css/parser/CSSParserTokenRange.h" | 11 #include "core/css/parser/CSSParserTokenRange.h" |
11 #include <memory> | |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class CSSParserContext; | 15 class CSSParserContext; |
16 class CSSSelectorList; | 16 class CSSSelectorList; |
17 class StyleSheetContents; | 17 class StyleSheetContents; |
18 | 18 |
19 // FIXME: We should consider building CSSSelectors directly instead of using | 19 // FIXME: We should consider building CSSSelectors directly instead of using |
20 // the intermediate CSSParserSelector. | 20 // the intermediate CSSParserSelector. |
21 class CORE_EXPORT CSSSelectorParser { | 21 class CORE_EXPORT CSSSelectorParser { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 private: | 95 private: |
96 CSSSelectorParser* m_parser; | 96 CSSSelectorParser* m_parser; |
97 bool m_wasDisallowed; | 97 bool m_wasDisallowed; |
98 }; | 98 }; |
99 }; | 99 }; |
100 | 100 |
101 } // namespace blink | 101 } // namespace blink |
102 | 102 |
103 #endif // CSSSelectorParser_h | 103 #endif // CSSSelectorParser_h |
OLD | NEW |