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

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

Issue 2706623004: Added CSSPropertyDescriptor.h.tmpl to generate CSSPropertyDescriptor.h. (Closed)
Patch Set: Created 3 years, 10 months 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
« no previous file with comments | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h b/third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h
deleted file mode 100644
index e44adfb185c11e76eda45227b19fe426d886eac7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// 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.
-
-#include "core/CSSPropertyNames.h"
-
-namespace blink {
-
-class CSSValue;
-class CSSParserTokenRange;
-class CSSParserContext;
-
-// Stores function pointers matching those declared in CSSPropertyAPI.
-struct CSSPropertyDescriptor {
- const CSSValue* (*parseSingleValue)(CSSParserTokenRange&,
- const CSSParserContext*);
- bool (*parseShorthand)(bool, CSSParserTokenRange&, const CSSParserContext*);
-
- // Returns the corresponding CSSPropertyDescriptor for a given CSSPropertyID.
- // Use this function to access the API for a property. Returns a descriptor
- // with isValid set to false if no descriptor exists for this ID.
- static const CSSPropertyDescriptor& get(CSSPropertyID);
-};
-
-} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698