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

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

Issue 2470583002: Add VrShell feature flag and wire it up to VrShell delegate. (Closed)
Patch Set: Hide in about://flags unless the build flag is included. Created 4 years, 1 month 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
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 // Use IME's own thread instead of using main UI thread. It also means that 226 // Use IME's own thread instead of using main UI thread. It also means that
227 // we will not use replica editor and do a round trip to renderer to synchronize 227 // we will not use replica editor and do a round trip to renderer to synchronize
228 // with Blink data. 228 // with Blink data.
229 const base::Feature kImeThread{"ImeThread", base::FEATURE_ENABLED_BY_DEFAULT}; 229 const base::Feature kImeThread{"ImeThread", base::FEATURE_ENABLED_BY_DEFAULT};
230 230
231 // FeatureList definition for the Seccomp field trial. 231 // FeatureList definition for the Seccomp field trial.
232 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 232 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
233 base::FEATURE_DISABLED_BY_DEFAULT}; 233 base::FEATURE_DISABLED_BY_DEFAULT};
234 234
235 // Enables VR UI.
236 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT};
237
235 // The JavaScript API for payments on the web. 238 // The JavaScript API for payments on the web.
236 const base::Feature kWebPayments{"WebPayments", 239 const base::Feature kWebPayments{"WebPayments",
237 base::FEATURE_ENABLED_BY_DEFAULT}; 240 base::FEATURE_ENABLED_BY_DEFAULT};
238 241
239 #endif 242 #endif
240 243
241 #if defined(OS_WIN) 244 #if defined(OS_WIN)
242 // Emergency "off switch" for new Windows sandbox security mitigation, 245 // Emergency "off switch" for new Windows sandbox security mitigation,
243 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 246 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
244 const base::Feature kWinSboxDisableExtensionPoints{ 247 const base::Feature kWinSboxDisableExtensionPoints{
245 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 248 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
246 #endif 249 #endif
247 250
248 } // namespace features 251 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698