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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
444 // still available, but it is bucketized and updated less frequently. This flag | 444 // still available, but it is bucketized and updated less frequently. This flag |
445 // also applys to workers. | 445 // also applys to workers. |
446 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 446 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
447 | 447 |
448 // Enables RGBA_4444 textures. | 448 // Enables RGBA_4444 textures. |
449 const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures"; | 449 const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures"; |
450 | 450 |
451 // Set options to cache V8 data. (off, preparse data, or code) | 451 // Set options to cache V8 data. (off, preparse data, or code) |
452 const char kV8CacheOptions[] = "v8-cache-options"; | 452 const char kV8CacheOptions[] = "v8-cache-options"; |
453 | 453 |
454 // Signals that the V8 natives file has been transfered to the child process | |
455 // by a file descriptor. | |
456 const char kV8NativesPassedByFD[] = "v8-natives-passed-by-fd"; | |
457 | |
458 // Signals that the V8 startup snapshot file has been transfered to the child | |
459 // process by a file descriptor. | |
460 const char kV8SnapshotPassedByFD[] = "v8-snapshot-passed-by-fd"; | |
461 | |
462 // Set strategies to cache V8 data in CacheStorage. (off, normal, or aggressive) | 454 // Set strategies to cache V8 data in CacheStorage. (off, normal, or aggressive) |
463 const char kV8CacheStrategiesForCacheStorage[] = | 455 const char kV8CacheStrategiesForCacheStorage[] = |
464 "v8-cache-strategies-for-cache-storage"; | 456 "v8-cache-strategies-for-cache-storage"; |
465 | 457 |
466 // Cause the OS X sandbox write to syslog every time an access to a resource | 458 // Cause the OS X sandbox write to syslog every time an access to a resource |
467 // is denied by the sandbox. | 459 // is denied by the sandbox. |
468 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; | 460 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; |
469 | 461 |
470 // Enables the Skia benchmarking extension | 462 // Enables the Skia benchmarking extension |
471 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; | 463 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
796 const char kRootLayerScrolls[] = "root-layer-scrolls"; | 788 const char kRootLayerScrolls[] = "root-layer-scrolls"; |
797 | 789 |
798 // Causes the process to run as a sandbox IPC subprocess. | 790 // Causes the process to run as a sandbox IPC subprocess. |
799 const char kSandboxIPCProcess[] = "sandbox-ipc"; | 791 const char kSandboxIPCProcess[] = "sandbox-ipc"; |
800 | 792 |
801 // Enables or disables scroll end effect in response to vertical overscroll. | 793 // Enables or disables scroll end effect in response to vertical overscroll. |
802 // Set the value to '1' to enable the feature, and set to '0' to disable. | 794 // Set the value to '1' to enable the feature, and set to '0' to disable. |
803 // Defaults to disabled. | 795 // Defaults to disabled. |
804 const char kScrollEndEffect[] = "scroll-end-effect"; | 796 const char kScrollEndEffect[] = "scroll-end-effect"; |
805 | 797 |
798 // Describes the file descriptors passed to the child process. List: | |
799 // <file id string>:<global descriptor id>,<file id string>:<global descriptor | |
jam
2017/02/10 00:44:52
nit: for someone reading this, "file id string" is
Jay Civelli
2017/02/10 06:32:34
Changed to explain it's the ID from the manifest.
| |
800 // id>,... | |
801 const char kSharedFiles[] = "shared-files"; | |
802 | |
806 // Visibly render a border around paint rects in the web page to help debug | 803 // Visibly render a border around paint rects in the web page to help debug |
807 // and study painting behavior. | 804 // and study painting behavior. |
808 const char kShowPaintRects[] = "show-paint-rects"; | 805 const char kShowPaintRects[] = "show-paint-rects"; |
809 | 806 |
810 // Runs the renderer and plugins in the same process as the browser | 807 // Runs the renderer and plugins in the same process as the browser |
811 const char kSingleProcess[] = "single-process"; | 808 const char kSingleProcess[] = "single-process"; |
812 | 809 |
813 // Enforces a one-site-per-process security policy: | 810 // Enforces a one-site-per-process security policy: |
814 // * Each renderer process, for its whole lifetime, is dedicated to rendering | 811 // * Each renderer process, for its whole lifetime, is dedicated to rendering |
815 // pages for just one site. | 812 // pages for just one site. |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1096 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1093 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1097 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1094 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1098 | 1095 |
1099 // Specifies the testcase used by the IPC fuzzer. | 1096 // Specifies the testcase used by the IPC fuzzer. |
1100 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1097 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1101 #endif | 1098 #endif |
1102 | 1099 |
1103 // Don't dump stuff here, follow the same order as the header. | 1100 // Don't dump stuff here, follow the same order as the header. |
1104 | 1101 |
1105 } // namespace switches | 1102 } // namespace switches |
OLD | NEW |