Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CSSPropertyAPI_h | 5 #ifndef CSSPropertyAPI_h |
| 6 #define CSSPropertyAPI_h | 6 #define CSSPropertyAPI_h |
| 7 | 7 |
| 8 #include "core/CSSPropertyNames.h" | 8 #include "core/CSSPropertyNames.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 37 STATIC_ONLY(CSSPropertyAPI); | 37 STATIC_ONLY(CSSPropertyAPI); |
| 38 | 38 |
| 39 public: | 39 public: |
| 40 // Parses a single CSS property and returns the corresponding CSSValue. If the | 40 // Parses a single CSS property and returns the corresponding CSSValue. If the |
| 41 // input is invalid it returns nullptr. | 41 // input is invalid it returns nullptr. |
| 42 static const CSSValue* parseSingleValue(CSSParserTokenRange&, | 42 static const CSSValue* parseSingleValue(CSSParserTokenRange&, |
| 43 const CSSParserContext*) { | 43 const CSSParserContext*) { |
| 44 NOTREACHED(); | 44 NOTREACHED(); |
| 45 return nullptr; | 45 return nullptr; |
| 46 } | 46 } |
| 47 | |
| 48 static bool parseShorthand(bool, | |
| 49 CSSParserTokenRange&, | |
| 50 const CSSParserContext*) { | |
| 51 NOTREACHED(); | |
|
sashab
2017/01/31 22:58:14
Add similar comment above this :)
aazzam
2017/02/01 00:30:05
added :)
| |
| 52 return false; | |
| 53 } | |
| 47 }; | 54 }; |
| 48 | 55 |
| 49 } // namespace blink | 56 } // namespace blink |
| 50 | 57 |
| 51 #endif // CSSPropertyAPI_h | 58 #endif // CSSPropertyAPI_h |
| OLD | NEW |