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

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: review comments 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 // An API for CSS properties which allows you to call functions on properties
alancutter (OOO until 2018) 2016/11/30 23:46:54 "Allows you to call property specific functions"
aazzam 2016/12/01 04:17:53 done
16 // from within the parser. If the function doesn't have to be implemented by all
17 // properties, provide a default implementation below.
alancutter (OOO until 2018) 2016/11/30 23:46:54 The last sentence is questionable. It would be imp
aazzam 2016/12/01 04:17:53 done
18
sashab 2016/11/30 23:48:39 Remove newline below Try reword to express that w
aazzam 2016/12/01 04:17:53 done
19 class CSSPropertyAPI {
20 public:
21 static const CSSPropertyID id;
sashab 2016/11/30 23:48:39 // A unique ID for the property. // TODO(aazzam):
aazzam 2016/12/01 04:17:53 done
22
23 // Parses the CSS property and returns a CSS Value.
sashab 2016/11/30 23:48:39 or null if it could not be parsed.
aazzam 2016/12/01 04:17:53 done
24 static const CSSValue* parseSingleValue(CSSParserTokenRange&,
25 const CSSParserContext&);
26 };
27
28 } // namespace blink
29
30 #endif // CSSPropertyAPI_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698