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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2830643002: [webnfc] Add WebNFC feature flag (Closed)
Patch Set: Rebased to master Created 3 years, 8 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 | « content/public/common/content_features.cc ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 6b7ac6ad1be401757d8b34cc64d65356335e0a3b..ff366f0cfe9000647f4b38636d1102bb32c2e74c 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -47,6 +47,10 @@ void WebRuntimeFeatures::EnableWebAssemblyStreaming(bool enable) {
RuntimeEnabledFeatures::setWebAssemblyStreamingEnabled(enable);
}
+void WebRuntimeFeatures::EnableWebNfc(bool enable) {
+ RuntimeEnabledFeatures::setWebNFCEnabled(enable);
+}
+
void WebRuntimeFeatures::EnableWebUsb(bool enable) {
RuntimeEnabledFeatures::setWebUSBEnabled(enable);
}
« no previous file with comments | « content/public/common/content_features.cc ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698