Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
|
sashab
2016/11/30 23:48:39
Rename to CSSPropertyAPIPadding.h
Ctrl+Shift+F -
aazzam
2016/12/01 04:17:53
done
| |
| 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 CSSPaddingProperties_h | |
| 6 #define CSSPaddingProperties_h | |
|
sashab
2016/11/30 23:48:39
Change these after rename
aazzam
2016/12/01 04:17:53
done
| |
| 7 | |
| 8 #include "core/CSSPropertyNames.h" | |
| 9 #include "core/css/parser/CSSPropertyParserHelpers.h" | |
|
sashab
2016/11/30 23:48:39
Try forward-declare CSSParserContext as well and r
aazzam
2016/12/01 04:17:53
done
| |
| 10 #include "core/css/properties/CSSPropertyAPI.h" | |
| 11 #include "platform/Length.h" | |
|
sashab
2016/11/30 23:48:39
Might not be needed anymore
sashab
2016/11/30 23:48:39
Might not be needed anymore
aazzam
2016/12/01 04:17:53
done
| |
| 12 | |
| 13 namespace blink { | |
| 14 | |
| 15 class CSSParserTokenRange; | |
| 16 | |
| 17 class CSSPropertyAPIWebkitPaddingStart : public CSSPropertyAPI { | |
| 18 STATIC_ONLY(CSSPropertyAPIWebkitPaddingStart); | |
|
sashab
2016/11/30 23:48:39
Try put this on CSSPropertyAPI and remove it from
aazzam
2016/12/01 04:17:53
done
| |
| 19 | |
| 20 public: | |
| 21 static const CSSPropertyID id = CSSPropertyWebkitPaddingStart; | |
| 22 static const CSSValue* parseSingleValue(CSSParserTokenRange&, | |
| 23 const CSSParserContext&); | |
| 24 }; | |
| 25 | |
| 26 class CSSPropertyAPIWebkitPaddingEnd : public CSSPropertyAPI { | |
| 27 STATIC_ONLY(CSSPropertyAPIWebkitPaddingEnd); | |
| 28 | |
| 29 public: | |
| 30 static const CSSPropertyID id = CSSPropertyWebkitPaddingEnd; | |
| 31 static const CSSValue* parseSingleValue(CSSParserTokenRange&, | |
| 32 const CSSParserContext&); | |
| 33 }; | |
| 34 | |
| 35 class CSSPropertyAPIWebkitPaddingBefore : public CSSPropertyAPI { | |
| 36 STATIC_ONLY(CSSPropertyAPIWebkitPaddingBefore); | |
| 37 | |
| 38 public: | |
| 39 static const CSSPropertyID id = CSSPropertyWebkitPaddingBefore; | |
| 40 static const CSSValue* parseSingleValue(CSSParserTokenRange&, | |
| 41 const CSSParserContext&); | |
| 42 }; | |
| 43 | |
| 44 class CSSPropertyAPIWebkitPaddingAfter : public CSSPropertyAPI { | |
| 45 STATIC_ONLY(CSSPropertyAPIWebkitPaddingAfter); | |
| 46 | |
| 47 public: | |
| 48 static const CSSPropertyID id = CSSPropertyWebkitPaddingAfter; | |
| 49 static const CSSValue* parseSingleValue(CSSParserTokenRange&, | |
| 50 const CSSParserContext&); | |
| 51 }; | |
| 52 | |
| 53 } // namespace blink | |
| 54 | |
| 55 #endif // CSSPaddingProperties_h | |
| OLD | NEW |