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

Side by Side Diff: content/public/common/content_features.cc

Issue 2855923002: [Payments] Desktop: enable the Payment Request integration by default (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « content/child/runtime_features.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_features.h" 6 #include "content/public/common/content_features.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // All features in alphabetical order. 10 // All features in alphabetical order.
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 // Enable WebAssembly streamed compilation. 250 // Enable WebAssembly streamed compilation.
251 const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming", 251 const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming",
252 base::FEATURE_DISABLED_BY_DEFAULT}; 252 base::FEATURE_DISABLED_BY_DEFAULT};
253 253
254 // If WebGL Image Chromium is allowed, this feature controls whether it is 254 // If WebGL Image Chromium is allowed, this feature controls whether it is
255 // enabled. 255 // enabled.
256 const base::Feature kWebGLImageChromium{"WebGLImageChromium", 256 const base::Feature kWebGLImageChromium{"WebGLImageChromium",
257 base::FEATURE_ENABLED_BY_DEFAULT}; 257 base::FEATURE_ENABLED_BY_DEFAULT};
258 258
259 // The JavaScript API for payments on the web.
260 const base::Feature kWebPayments{"WebPayments",
261 base::FEATURE_ENABLED_BY_DEFAULT};
262
259 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was 263 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was
260 // specified in JS). 264 // specified in JS).
261 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa", 265 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa",
262 base::FEATURE_ENABLED_BY_DEFAULT}; 266 base::FEATURE_ENABLED_BY_DEFAULT};
263 267
264 // Use GpuMemoryBuffer backed VideoFrames in media streams. 268 // Use GpuMemoryBuffer backed VideoFrames in media streams.
265 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ 269 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{
266 "WebRTC-UseGpuMemoryBufferVideoFrames", 270 "WebRTC-UseGpuMemoryBufferVideoFrames",
267 base::FEATURE_DISABLED_BY_DEFAULT}; 271 base::FEATURE_DISABLED_BY_DEFAULT};
268 272
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 // FeatureList definition for the Seccomp field trial. 316 // FeatureList definition for the Seccomp field trial.
313 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 317 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
314 base::FEATURE_ENABLED_BY_DEFAULT}; 318 base::FEATURE_ENABLED_BY_DEFAULT};
315 319
316 // Service worker based payment apps as defined by w3c here: 320 // Service worker based payment apps as defined by w3c here:
317 // https://w3c.github.io/webpayments-payment-apps-api/ 321 // https://w3c.github.io/webpayments-payment-apps-api/
318 const base::Feature kServiceWorkerPaymentApps{ 322 const base::Feature kServiceWorkerPaymentApps{
319 "ServiceWorkerPaymentApps", 323 "ServiceWorkerPaymentApps",
320 base::FEATURE_DISABLED_BY_DEFAULT}; 324 base::FEATURE_DISABLED_BY_DEFAULT};
321 325
322 // The JavaScript API for payments on the web.
323 const base::Feature kWebPayments{"WebPayments",
324 base::FEATURE_ENABLED_BY_DEFAULT};
325
326 // Controls whether the WebNFC API is enabled: 326 // Controls whether the WebNFC API is enabled:
327 // https://w3c.github.io/web-nfc/ 327 // https://w3c.github.io/web-nfc/
328 const base::Feature kWebNfc{"WebNFC", base::FEATURE_DISABLED_BY_DEFAULT}; 328 const base::Feature kWebNfc{"WebNFC", base::FEATURE_DISABLED_BY_DEFAULT};
329 #endif 329 #endif
330 330
331 #if !defined(OS_ANDROID)
332 // The JavaScript API for payments on the web.
333 const base::Feature kWebPayments{"WebPayments",
334 base::FEATURE_DISABLED_BY_DEFAULT};
335 #endif
336
337 #if defined(OS_WIN) 331 #if defined(OS_WIN)
338 // Emergency "off switch" for new Windows sandbox security mitigation, 332 // Emergency "off switch" for new Windows sandbox security mitigation,
339 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 333 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
340 const base::Feature kWinSboxDisableExtensionPoints{ 334 const base::Feature kWinSboxDisableExtensionPoints{
341 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 335 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
342 #endif 336 #endif
343 337
344 } // namespace features 338 } // namespace features
OLDNEW
« no previous file with comments | « content/child/runtime_features.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698