| 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 CSSParser_h | 5 #ifndef CSSParser_h |
| 6 #define CSSParser_h | 6 #define CSSParser_h |
| 7 | 7 |
| 8 #include "core/CSSPropertyNames.h" | 8 #include "core/CSSPropertyNames.h" |
| 9 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 10 #include "core/css/CSSValue.h" | 10 #include "core/css/CSSValue.h" |
| 11 #include "core/css/parser/CSSParserMode.h" | 11 #include "core/css/parser/CSSParserMode.h" |
| 12 #include "platform/graphics/Color.h" | 12 #include "platform/graphics/Color.h" |
| 13 #include <memory> | 13 #include <memory> |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class CSSParserObserver; | 17 class CSSParserObserver; |
| 18 class CSSParserTokenRange; | 18 class CSSParserTokenRange; |
| 19 class CSSSelectorList; | 19 class CSSSelectorList; |
| 20 class Element; | 20 class Element; |
| 21 class ImmutableStylePropertySet; | 21 class ImmutableStylePropertySet; |
| 22 class MutableStylePropertySet; | 22 class MutableStylePropertySet; |
| 23 class StyleColor; | |
| 24 class StyleRuleBase; | 23 class StyleRuleBase; |
| 25 class StyleRuleKeyframe; | 24 class StyleRuleKeyframe; |
| 26 class StyleSheetContents; | 25 class StyleSheetContents; |
| 27 | 26 |
| 28 // This class serves as the public API for the css/parser subsystem | 27 // This class serves as the public API for the css/parser subsystem |
| 29 class CORE_EXPORT CSSParser { | 28 class CORE_EXPORT CSSParser { |
| 30 STATIC_ONLY(CSSParser); | 29 STATIC_ONLY(CSSParser); |
| 31 | 30 |
| 32 public: | 31 public: |
| 33 // As well as regular rules, allows @import and @namespace but not @charset | 32 // As well as regular rules, allows @import and @namespace but not @charset |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 static bool parseValue(MutableStylePropertySet*, | 97 static bool parseValue(MutableStylePropertySet*, |
| 99 CSSPropertyID unresolvedProperty, | 98 CSSPropertyID unresolvedProperty, |
| 100 const String&, | 99 const String&, |
| 101 bool important, | 100 bool important, |
| 102 const CSSParserContext&); | 101 const CSSParserContext&); |
| 103 }; | 102 }; |
| 104 | 103 |
| 105 } // namespace blink | 104 } // namespace blink |
| 106 | 105 |
| 107 #endif // CSSParser_h | 106 #endif // CSSParser_h |
| OLD | NEW |