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

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: renamed isValid to temporaryCanReadValue 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..69a25d50f80e66e33b2ae512a12aaaa2e5b83c8f
--- /dev/null
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.h
@@ -0,0 +1,34 @@
+// 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 {
+
+// TODO(aazzam): Generate API .h files
+
+class CSSParserTokenRange;
+class CSSParserContext;
+
+class CSSPropertyAPIWebkitPadding : public CSSPropertyAPI {
+ public:
+ static const CSSValue* parseSingleValue(CSSParserTokenRange&,
+ const CSSParserContext&);
+};
+
+class CSSPropertyAPIWebkitPaddingStart : public CSSPropertyAPIWebkitPadding {};
+
+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