Chromium Code Reviews| 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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 668 // Mutes audio sent to the audio device so it is not audible during | 668 // Mutes audio sent to the audio device so it is not audible during |
| 669 // automated testing. | 669 // automated testing. |
| 670 const char kMuteAudio[] = "mute-audio"; | 670 const char kMuteAudio[] = "mute-audio"; |
| 671 | 671 |
| 672 // Don't send HTTP-Referer headers. | 672 // Don't send HTTP-Referer headers. |
| 673 const char kNoReferrers[] = "no-referrers"; | 673 const char kNoReferrers[] = "no-referrers"; |
| 674 | 674 |
| 675 // Disables the sandbox for all process types that are normally sandboxed. | 675 // Disables the sandbox for all process types that are normally sandboxed. |
| 676 const char kNoSandbox[] = "no-sandbox"; | 676 const char kNoSandbox[] = "no-sandbox"; |
| 677 | 677 |
| 678 // Use the mojo UI Service in the Chrome render process. | |
|
sky
2017/01/31 04:17:30
Don't use.
sadrul
2017/01/31 15:45:13
Oops. Done.
| |
| 679 const char kNoUseMusInRenderer[] = "no-use-mus-in-renderer"; | |
| 680 | |
| 678 // Disables the use of a zygote process for forking child processes. Instead, | 681 // Disables the use of a zygote process for forking child processes. Instead, |
| 679 // child processes will be forked and exec'd directly. Note that --no-sandbox | 682 // child processes will be forked and exec'd directly. Note that --no-sandbox |
| 680 // should also be used together with this flag because the sandbox needs the | 683 // should also be used together with this flag because the sandbox needs the |
| 681 // zygote to work. | 684 // zygote to work. |
| 682 const char kNoZygote[] = "no-zygote"; | 685 const char kNoZygote[] = "no-zygote"; |
| 683 | 686 |
| 684 // Enable or disable appcontainer/lowbox for renderer on Win8+ platforms. | 687 // Enable or disable appcontainer/lowbox for renderer on Win8+ platforms. |
| 685 const char kEnableAppContainer[] = "enable-appcontainer"; | 688 const char kEnableAppContainer[] = "enable-appcontainer"; |
| 686 const char kDisableAppContainer[] = "disable-appcontainer"; | 689 const char kDisableAppContainer[] = "disable-appcontainer"; |
| 687 | 690 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 876 // the platform default is used. | 879 // the platform default is used. |
| 877 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy"; | 880 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy"; |
| 878 | 881 |
| 879 // Prioritizes the UI's command stream in the GPU process | 882 // Prioritizes the UI's command stream in the GPU process |
| 880 const char kUIPrioritizeInGpuProcess[] = "ui-prioritize-in-gpu-process"; | 883 const char kUIPrioritizeInGpuProcess[] = "ui-prioritize-in-gpu-process"; |
| 881 | 884 |
| 882 // Bypass the media stream infobar by selecting the default device for media | 885 // Bypass the media stream infobar by selecting the default device for media |
| 883 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 886 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
| 884 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; | 887 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; |
| 885 | 888 |
| 886 // Use the Mandoline UI Service in the Chrome render process. | |
| 887 const char kUseMusInRenderer[] = "use-mus-in-renderer"; | |
| 888 | |
| 889 // Texture target for CHROMIUM_image backed content textures. | 889 // Texture target for CHROMIUM_image backed content textures. |
| 890 const char kContentImageTextureTarget[] = "content-image-texture-target"; | 890 const char kContentImageTextureTarget[] = "content-image-texture-target"; |
| 891 | 891 |
| 892 // Texture target for CHROMIUM_image backed video frame textures. | 892 // Texture target for CHROMIUM_image backed video frame textures. |
| 893 const char kVideoImageTextureTarget[] = "video-image-texture-target"; | 893 const char kVideoImageTextureTarget[] = "video-image-texture-target"; |
| 894 | 894 |
| 895 // Set when Chromium should use a mobile user agent. | 895 // Set when Chromium should use a mobile user agent. |
| 896 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 896 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 897 | 897 |
| 898 // The contents of this flag are prepended to the utility process command line. | 898 // The contents of this flag are prepended to the utility process command line. |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1096 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1096 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1097 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1097 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1098 | 1098 |
| 1099 // Specifies the testcase used by the IPC fuzzer. | 1099 // Specifies the testcase used by the IPC fuzzer. |
| 1100 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1100 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1101 #endif | 1101 #endif |
| 1102 | 1102 |
| 1103 // Don't dump stuff here, follow the same order as the header. | 1103 // Don't dump stuff here, follow the same order as the header. |
| 1104 | 1104 |
| 1105 } // namespace switches | 1105 } // namespace switches |
| OLD | NEW |