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 #include "media/media_features.h" | 7 #include "media/media_features.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 | 438 |
439 // Enables PrintBrowser mode, in which everything renders as though printed. | 439 // Enables PrintBrowser mode, in which everything renders as though printed. |
440 const char kEnablePrintBrowser[] = "enable-print-browser"; | 440 const char kEnablePrintBrowser[] = "enable-print-browser"; |
441 | 441 |
442 // Enables RGBA_4444 textures. | 442 // Enables RGBA_4444 textures. |
443 const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures"; | 443 const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures"; |
444 | 444 |
445 // Set options to cache V8 data. (off, preparse data, or code) | 445 // Set options to cache V8 data. (off, preparse data, or code) |
446 const char kV8CacheOptions[] = "v8-cache-options"; | 446 const char kV8CacheOptions[] = "v8-cache-options"; |
447 | 447 |
448 // Signals that the V8 natives file has been transfered to the child process | |
449 // by a file descriptor. | |
450 const char kV8NativesPassedByFD[] = "v8-natives-passed-by-fd"; | |
451 | |
452 // Signals that the V8 startup snapshot file has been transfered to the child | |
453 // process by a file descriptor. | |
454 const char kV8SnapshotPassedByFD[] = "v8-snapshot-passed-by-fd"; | |
455 | |
456 // Set strategies to cache V8 data in CacheStorage. (off, normal, or aggressive) | 448 // Set strategies to cache V8 data in CacheStorage. (off, normal, or aggressive) |
457 const char kV8CacheStrategiesForCacheStorage[] = | 449 const char kV8CacheStrategiesForCacheStorage[] = |
458 "v8-cache-strategies-for-cache-storage"; | 450 "v8-cache-strategies-for-cache-storage"; |
459 | 451 |
460 // Cause the OS X sandbox write to syslog every time an access to a resource | 452 // Cause the OS X sandbox write to syslog every time an access to a resource |
461 // is denied by the sandbox. | 453 // is denied by the sandbox. |
462 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; | 454 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; |
463 | 455 |
464 // Enables the Skia benchmarking extension | 456 // Enables the Skia benchmarking extension |
465 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; | 457 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 const char kRootLayerScrolls[] = "root-layer-scrolls"; | 779 const char kRootLayerScrolls[] = "root-layer-scrolls"; |
788 | 780 |
789 // Causes the process to run as a sandbox IPC subprocess. | 781 // Causes the process to run as a sandbox IPC subprocess. |
790 const char kSandboxIPCProcess[] = "sandbox-ipc"; | 782 const char kSandboxIPCProcess[] = "sandbox-ipc"; |
791 | 783 |
792 // Enables or disables scroll end effect in response to vertical overscroll. | 784 // Enables or disables scroll end effect in response to vertical overscroll. |
793 // Set the value to '1' to enable the feature, and set to '0' to disable. | 785 // Set the value to '1' to enable the feature, and set to '0' to disable. |
794 // Defaults to disabled. | 786 // Defaults to disabled. |
795 const char kScrollEndEffect[] = "scroll-end-effect"; | 787 const char kScrollEndEffect[] = "scroll-end-effect"; |
796 | 788 |
| 789 // Describes the file descriptors passed to the child process. List: |
| 790 // <file id from manifest>:<global descriptor id>,<file id string from manifest> |
| 791 // :<global descriptor id>,... |
| 792 const char kSharedFiles[] = "shared-files"; |
| 793 |
797 // Visibly render a border around paint rects in the web page to help debug | 794 // Visibly render a border around paint rects in the web page to help debug |
798 // and study painting behavior. | 795 // and study painting behavior. |
799 const char kShowPaintRects[] = "show-paint-rects"; | 796 const char kShowPaintRects[] = "show-paint-rects"; |
800 | 797 |
801 // Runs the renderer and plugins in the same process as the browser | 798 // Runs the renderer and plugins in the same process as the browser |
802 const char kSingleProcess[] = "single-process"; | 799 const char kSingleProcess[] = "single-process"; |
803 | 800 |
804 // Enforces a one-site-per-process security policy: | 801 // Enforces a one-site-per-process security policy: |
805 // * Each renderer process, for its whole lifetime, is dedicated to rendering | 802 // * Each renderer process, for its whole lifetime, is dedicated to rendering |
806 // pages for just one site. | 803 // pages for just one site. |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1084 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1088 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1085 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1089 | 1086 |
1090 // Specifies the testcase used by the IPC fuzzer. | 1087 // Specifies the testcase used by the IPC fuzzer. |
1091 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1088 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1092 #endif | 1089 #endif |
1093 | 1090 |
1094 // Don't dump stuff here, follow the same order as the header. | 1091 // Don't dump stuff here, follow the same order as the header. |
1095 | 1092 |
1096 } // namespace switches | 1093 } // namespace switches |
OLD | NEW |