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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.h

Issue 2533673002: Added CSSPropertyAPI and CSS padding properties which implement this API (Closed)
Patch Set: Removed id variable in class 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.h
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.h b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.h
new file mode 100644
index 0000000000000000000000000000000000000000..4e001afb0be6e05cf373e4667308854918e54718
--- /dev/null
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.h
@@ -0,0 +1,32 @@
+// 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 CSSPropertyAPIPadding_h
+#define CSSPropertyAPIPadding_h
+
+#include "core/CSSPropertyNames.h"
+#include "core/css/properties/CSSPropertyAPI.h"
+
+namespace blink {
+
+class CSSParserTokenRange;
+class CSSParserContext;
+
+class CSSPropertyAPIWebkitPadding : public CSSPropertyAPI {
+ public:
+ static const CSSValue* parseSingleValue(CSSParserTokenRange&,
+ const CSSParserContext&);
+};
+
+class CSSPropertyAPIWebkitPaddingStart : public CSSPropertyAPIWebkitPadding {};
Z_DONOTUSE 2016/12/08 03:20:05 Nit: It's really strange to see empty classes like
aazzam 2016/12/08 04:16:36 Yep - it's already being autogenerated, i'm just s
+
+class CSSPropertyAPIWebkitPaddingEnd : public CSSPropertyAPIWebkitPadding {};
+
+class CSSPropertyAPIWebkitPaddingBefore : public CSSPropertyAPIWebkitPadding {};
+
+class CSSPropertyAPIWebkitPaddingAfter : public CSSPropertyAPIWebkitPadding {};
+
+} // namespace blink
+
+#endif // CSSPropertyAPIPadding_h

Powered by Google App Engine
This is Rietveld 408576698