Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h

Issue 2533673002: Added CSSPropertyAPI and CSS padding properties which implement this API (Closed)
Patch Set: fix branch Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698