| 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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1022 // prevent them from interfering with the prefetch profile of the browser | 1022 // prevent them from interfering with the prefetch profile of the browser |
| 1023 // process. | 1023 // process. |
| 1024 const char kPrefetchArgumentOther[] = "/prefetch:8"; | 1024 const char kPrefetchArgumentOther[] = "/prefetch:8"; |
| 1025 | 1025 |
| 1026 // Device scale factor passed to certain processes like renderers, etc. | 1026 // Device scale factor passed to certain processes like renderers, etc. |
| 1027 const char kDeviceScaleFactor[] = "device-scale-factor"; | 1027 const char kDeviceScaleFactor[] = "device-scale-factor"; |
| 1028 | 1028 |
| 1029 // Disable the Legacy Window which corresponds to the size of the WebContents. | 1029 // Disable the Legacy Window which corresponds to the size of the WebContents. |
| 1030 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 1030 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
| 1031 | 1031 |
| 1032 // Disables the Win32K process mitigation policy for renderer processes. | 1032 // Disables the Win32K process mitigation policy for child processes. |
| 1033 const char kDisableWin32kRendererLockDown[] = | 1033 const char kDisableWin32kLockDown[] = "disable-win32k-lockdown"; |
| 1034 "disable-win32k-renderer-lockdown"; | |
| 1035 | |
| 1036 // Enables the Win32K process mitigation policy for certain PPAPI mime | |
| 1037 // types. Each mime type is separated by a comma. Specify * to enable | |
| 1038 // the policy for all mime types. | |
| 1039 const char kEnableWin32kLockDownMimeTypes[] = | |
| 1040 "enable-win32k-lockdown-mimetypes"; | |
| 1041 | 1034 |
| 1042 // Enables experimental hardware acceleration for VP8/VP9 video decoding. | 1035 // Enables experimental hardware acceleration for VP8/VP9 video decoding. |
| 1043 // Bitmask - 0x1=Microsoft, 0x2=AMD, 0x03=Try all. | 1036 // Bitmask - 0x1=Microsoft, 0x2=AMD, 0x03=Try all. |
| 1044 const char kEnableAcceleratedVpxDecode[] = "enable-accelerated-vpx-decode"; | 1037 const char kEnableAcceleratedVpxDecode[] = "enable-accelerated-vpx-decode"; |
| 1045 | 1038 |
| 1046 // Enables H264 HW decode acceleration for WebRtc on Win 7. | 1039 // Enables H264 HW decode acceleration for WebRtc on Win 7. |
| 1047 const char kEnableWin7WebRtcHWH264Decoding[] = | 1040 const char kEnableWin7WebRtcHWH264Decoding[] = |
| 1048 "enable-win7-webrtc-hw-h264-decoding"; | 1041 "enable-win7-webrtc-hw-h264-decoding"; |
| 1049 | 1042 |
| 1050 // DirectWrite FontCache is shared by browser to renderers using shared memory. | 1043 // DirectWrite FontCache is shared by browser to renderers using shared memory. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1076 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1069 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1077 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1070 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1078 | 1071 |
| 1079 // Specifies the testcase used by the IPC fuzzer. | 1072 // Specifies the testcase used by the IPC fuzzer. |
| 1080 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1073 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1081 #endif | 1074 #endif |
| 1082 | 1075 |
| 1083 // Don't dump stuff here, follow the same order as the header. | 1076 // Don't dump stuff here, follow the same order as the header. |
| 1084 | 1077 |
| 1085 } // namespace switches | 1078 } // namespace switches |
| OLD | NEW |