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

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

Issue 2543723002: Add switch to disable WebVR gesture requirement
Patch Set: Addressed ddorwin@'s naming comments Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_switches.h" 6 #include "content/public/common/content_switches.h"
7 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 // Disable V8 idle tasks. 298 // Disable V8 idle tasks.
299 const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks"; 299 const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks";
300 300
301 // Disables WebGL rendering into a scanout buffer for overlay support. 301 // Disables WebGL rendering into a scanout buffer for overlay support.
302 const char kDisableWebGLImageChromium[] = "disable-webgl-image-chromium"; 302 const char kDisableWebGLImageChromium[] = "disable-webgl-image-chromium";
303 303
304 // Don't enforce the same-origin policy. (Used by people testing their sites.) 304 // Don't enforce the same-origin policy. (Used by people testing their sites.)
305 const char kDisableWebSecurity[] = "disable-web-security"; 305 const char kDisableWebSecurity[] = "disable-web-security";
306 306
307 // Disables WebVR's user gesture requirement in order to present so that
308 // automated tests can be run in cases where we cannot mint gesture tokens
kinuko 2016/12/01 02:22:02 nit: finish the sentence with a period
309 const char kDisableWebVrGestureRequirementForTests[] =
310 "disable-webvr-gesture-requirement-for-tests";
311
307 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. 312 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS.
308 const char kDisableXSSAuditor[] = "disable-xss-auditor"; 313 const char kDisableXSSAuditor[] = "disable-xss-auditor";
309 314
310 // Disable rasterizer that writes directly to GPU memory associated with tiles. 315 // Disable rasterizer that writes directly to GPU memory associated with tiles.
311 const char kDisableZeroCopy[] = "disable-zero-copy"; 316 const char kDisableZeroCopy[] = "disable-zero-copy";
312 317
313 // Disable the video decoder from drawing directly to a texture. 318 // Disable the video decoder from drawing directly to a texture.
314 const char kDisableZeroCopyDxgiVideo[] = "disable-zero-copy-dxgi-video"; 319 const char kDisableZeroCopyDxgiVideo[] = "disable-zero-copy-dxgi-video";
315 320
316 // Specifies if the |DOMAutomationController| needs to be bound in the 321 // Specifies if the |DOMAutomationController| needs to be bound in the
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 // the given directory. Used primarily to gather samples for IPC fuzzing. 1073 // the given directory. Used primarily to gather samples for IPC fuzzing.
1069 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1074 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1070 1075
1071 // Specifies the testcase used by the IPC fuzzer. 1076 // Specifies the testcase used by the IPC fuzzer.
1072 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1077 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1073 #endif 1078 #endif
1074 1079
1075 // Don't dump stuff here, follow the same order as the header. 1080 // Don't dump stuff here, follow the same order as the header.
1076 1081
1077 } // namespace switches 1082 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698