| Index: third_party/WebKit/Source/core/css/properties/CSSPaddingProperties.h
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPaddingProperties.h b/third_party/WebKit/Source/core/css/properties/CSSPaddingProperties.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a4f9bb8e4393e087b752acf0b678fae6f3ab5cad
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPaddingProperties.h
|
| @@ -0,0 +1,55 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CSSPaddingProperties_h
|
| +#define CSSPaddingProperties_h
|
| +
|
| +#include "core/CSSPropertyNames.h"
|
| +#include "core/css/parser/CSSPropertyParserHelpers.h"
|
| +#include "core/css/properties/CSSPropertyAPI.h"
|
| +#include "platform/Length.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class CSSParserTokenRange;
|
| +
|
| +class CSSPropertyAPIWebkitPaddingStart : public CSSPropertyAPI {
|
| + STATIC_ONLY(CSSPropertyAPIWebkitPaddingStart);
|
| +
|
| + public:
|
| + static const CSSValue* parseSingleValue(CSSParserTokenRange&,
|
| + const CSSParserContext&);
|
| + static inline CSSPropertyID getID() { return CSSPropertyWebkitPaddingStart; }
|
| +};
|
| +
|
| +class CSSPropertyAPIWebkitPaddingEnd : public CSSPropertyAPI {
|
| + STATIC_ONLY(CSSPropertyAPIWebkitPaddingEnd);
|
| +
|
| + public:
|
| + static const CSSValue* parseSingleValue(CSSParserTokenRange&,
|
| + const CSSParserContext&);
|
| + static inline CSSPropertyID getID() { return CSSPropertyWebkitPaddingEnd; }
|
| +};
|
| +
|
| +class CSSPropertyAPIWebkitPaddingBefore : public CSSPropertyAPI {
|
| + STATIC_ONLY(CSSPropertyAPIWebkitPaddingBefore);
|
| +
|
| + public:
|
| + static const CSSValue* parseSingleValue(CSSParserTokenRange&,
|
| + const CSSParserContext&);
|
| + static inline CSSPropertyID getID() { return CSSPropertyWebkitPaddingBefore; }
|
| +};
|
| +
|
| +class CSSPropertyAPIWebkitPaddingAfter : public CSSPropertyAPI {
|
| + STATIC_ONLY(CSSPropertyAPIWebkitPaddingAfter);
|
| +
|
| + public:
|
| + static const CSSValue* parseSingleValue(CSSParserTokenRange&,
|
| + const CSSParserContext&);
|
| + static inline CSSPropertyID getID() { return CSSPropertyWebkitPaddingAfter; }
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // CSSPaddingProperties_h
|
|
|