 Chromium Code Reviews
 Chromium Code Reviews Issue 2533673002:
  Added CSSPropertyAPI and CSS padding properties which implement this API  (Closed)
    
  
    Issue 2533673002:
  Added CSSPropertyAPI and CSS padding properties which implement this API  (Closed) 
  | OLD | NEW | 
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CSSPropertyAPI_h | |
| 6 #define CSSPropertyAPI_h | |
| 7 | |
| 8 #include "core/CSSPropertyNames.h" | |
| 9 #include "core/css/CSSValue.h" | |
| 10 #include "core/css/parser/CSSParserMode.h" | |
| 11 #include "core/css/parser/CSSParserTokenRange.h" | |
| 12 | |
| 13 namespace blink { | |
| 14 | |
| 15 class CSSPropertyAPI { | |
| 
aazzam
2016/11/28 23:29:00
Look at other public APIs -- twitter, facebook, go
 | |
| 16 public: | |
| 17 static const CSSValue* parseSingleValue(CSSParserTokenRange&, | |
| 18 const CSSParserContext&) { | |
| 19 NOTREACHED(); | |
| 
aazzam
2016/11/28 23:29:00
Try not implement these
 | |
| 20 return nullptr; | |
| 21 } | |
| 22 | |
| 23 static inline CSSPropertyID getID() { | |
| 24 NOTREACHED(); | |
| 25 return CSSPropertyInvalid; | |
| 26 } | |
| 27 }; | |
| 28 } | |
| 29 | |
| 30 #endif // CSSPropertyAPI_h | |
| OLD | NEW |