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

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

Issue 2179503002: [Merge M-53] Enable PaymentRequest on Android by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 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 d73fc7d5b95438bd83f46aff67645ea1315461a0..a9d08d028bf085081efa5e76440851c4198f1c93 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -200,6 +200,11 @@ void WebRuntimeFeatures::enableParseHTMLOnMainThread(bool enable)
RuntimeEnabledFeatures::setParseHTMLOnMainThreadEnabled(enable);
}
+void WebRuntimeFeatures::enablePaymentRequest(bool enable)
+{
+ RuntimeEnabledFeatures::setPaymentRequestEnabled(enable);
+}
+
void WebRuntimeFeatures::enablePermissionsAPI(bool enable)
{
RuntimeEnabledFeatures::setPermissionsEnabled(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