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 "platform/wtf/Allocator.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 class CSSValue; | 13 class CSSValue; |
14 class CSSParserContext; | 14 class CSSParserContext; |
15 class CSSParserTokenRange; | 15 class CSSParserTokenRange; |
16 | 16 |
17 // We will use this API to represent all functions used for property-specific | 17 // We will use this API to represent all functions used for property-specific |
18 // logic inside the blink style engine. All specific properties are subclasses | 18 // logic inside the blink style engine. All specific properties are subclasses |
19 // of CSSPropertyAPI. | 19 // of CSSPropertyAPI. |
(...skipping 17 matching lines...) Expand all Loading... |
37 {% if api_method.description %} | 37 {% if api_method.description %} |
38 // {{api_method.description}} | 38 // {{api_method.description}} |
39 {% endif %} | 39 {% endif %} |
40 static {{api_method.return_type}} {{api_method_name}}{{api_method.parameters}}
; | 40 static {{api_method.return_type}} {{api_method_name}}{{api_method.parameters}}
; |
41 {% endfor %} | 41 {% endfor %} |
42 }; | 42 }; |
43 | 43 |
44 } // namespace blink | 44 } // namespace blink |
45 | 45 |
46 #endif // CSSPropertyAPI_h | 46 #endif // CSSPropertyAPI_h |
OLD | NEW |