| 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 "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/css/parser/CSSParserSelector.h" |
| 9 #include "core/css/parser/CSSParserTokenRange.h" | 10 #include "core/css/parser/CSSParserTokenRange.h" |
| 10 #include "core/css/parser/CSSParserValues.h" | |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CSSSelectorList; | 14 class CSSSelectorList; |
| 15 class StyleSheetContents; | 15 class StyleSheetContents; |
| 16 | 16 |
| 17 // FIXME: We should consider building CSSSelectors directly instead of using | 17 // FIXME: We should consider building CSSSelectors directly instead of using |
| 18 // the intermediate CSSParserSelector. | 18 // the intermediate CSSParserSelector. |
| 19 class CORE_EXPORT CSSSelectorParser { | 19 class CORE_EXPORT CSSSelectorParser { |
| 20 STACK_ALLOCATED(); | 20 STACK_ALLOCATED(); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 const CSSParserContext& m_context; | 57 const CSSParserContext& m_context; |
| 58 AtomicString m_defaultNamespace; | 58 AtomicString m_defaultNamespace; |
| 59 RawPtrWillBeMember<StyleSheetContents> m_styleSheet; // FIXME: Should be con
st | 59 RawPtrWillBeMember<StyleSheetContents> m_styleSheet; // FIXME: Should be con
st |
| 60 | 60 |
| 61 bool m_failedParsing; | 61 bool m_failedParsing; |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace | 64 } // namespace |
| 65 | 65 |
| 66 #endif // CSSSelectorParser_h | 66 #endif // CSSSelectorParser_h |
| OLD | NEW |