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

Unified Diff: third_party/WebKit/public/platform/WebFeature.h

Issue 2894063002: Expose UseCounter::Feature enum out of blink as WebFeature (Closed)
Patch Set: Rebase update Created 3 years, 7 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/public/platform/UseCounterFeature.def ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebFeature.h
diff --git a/third_party/WebKit/public/platform/WebFeature.h b/third_party/WebKit/public/platform/WebFeature.h
new file mode 100644
index 0000000000000000000000000000000000000000..0acc877f136a9edc12753e9ee4a4aa2aa7b295d2
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebFeature.h
@@ -0,0 +1,18 @@
+#ifndef WebFeature_h
+#define WebFeature_h
+
+namespace blink {
+
+// A WebFeature conceptually represents some particular web-exposed API
+// or code path which can be used/triggered by a web page.
+// TODO(lunalu): Replace occurance of UseCounter::Feature by WebFeature in
+// Blink.
+// TODO(rbyers): Add CSS and animated CSS feature types by making this a
+// more sophisticated class.
+enum class WebFeature : uint32_t {
+#include "UseCounterFeature.def"
+};
+
+} // namespace blink
+
+#endif // WebFeature_h
« no previous file with comments | « third_party/WebKit/public/platform/UseCounterFeature.def ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698