OLD | NEW |
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 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 // Enables testing features of the Plugin Placeholder. For internal use only. | 418 // Enables testing features of the Plugin Placeholder. For internal use only. |
419 const char kEnablePluginPlaceholderTesting[] = | 419 const char kEnablePluginPlaceholderTesting[] = |
420 "enable-plugin-placeholder-testing"; | 420 "enable-plugin-placeholder-testing"; |
421 | 421 |
422 // Make the values returned to window.performance.memory more granular and more | 422 // Make the values returned to window.performance.memory more granular and more |
423 // up to date in shared worker. Without this flag, the memory information is | 423 // up to date in shared worker. Without this flag, the memory information is |
424 // still available, but it is bucketized and updated less frequently. This flag | 424 // still available, but it is bucketized and updated less frequently. This flag |
425 // also applys to workers. | 425 // also applys to workers. |
426 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 426 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
427 | 427 |
| 428 // Whether the resize lock is enabled. Default is true. This is generally only |
| 429 // useful for tests that want to force disabling. |
| 430 const char kEnableResizeLock[] = "enable-resize-lock"; |
| 431 |
428 // Enables RGBA_4444 textures. | 432 // Enables RGBA_4444 textures. |
429 const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures"; | 433 const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures"; |
430 | 434 |
431 // Set options to cache V8 data. (off, preparse data, or code) | 435 // Set options to cache V8 data. (off, preparse data, or code) |
432 const char kV8CacheOptions[] = "v8-cache-options"; | 436 const char kV8CacheOptions[] = "v8-cache-options"; |
433 | 437 |
434 // Signals that the V8 natives file has been transfered to the child process | 438 // Signals that the V8 natives file has been transfered to the child process |
435 // by a file descriptor. | 439 // by a file descriptor. |
436 const char kV8NativesPassedByFD[] = "v8-natives-passed-by-fd"; | 440 const char kV8NativesPassedByFD[] = "v8-natives-passed-by-fd"; |
437 | 441 |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1054 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1058 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1055 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1059 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1056 | 1060 |
1057 // Specifies the testcase used by the IPC fuzzer. | 1061 // Specifies the testcase used by the IPC fuzzer. |
1058 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1062 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1059 #endif | 1063 #endif |
1060 | 1064 |
1061 // Don't dump stuff here, follow the same order as the header. | 1065 // Don't dump stuff here, follow the same order as the header. |
1062 | 1066 |
1063 } // namespace switches | 1067 } // namespace switches |
OLD | NEW |