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 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1003 | 1003 |
1004 // Enables the Win32K process mitigation policy for certain PPAPI mime | 1004 // Enables the Win32K process mitigation policy for certain PPAPI mime |
1005 // types. Each mime type is separated by a comma. Specify * to enable | 1005 // types. Each mime type is separated by a comma. Specify * to enable |
1006 // the policy for all mime types. | 1006 // the policy for all mime types. |
1007 const char kEnableWin32kLockDownMimeTypes[] = | 1007 const char kEnableWin32kLockDownMimeTypes[] = |
1008 "enable-win32k-lockdown-mimetypes"; | 1008 "enable-win32k-lockdown-mimetypes"; |
1009 | 1009 |
1010 // Enables experimental hardware acceleration for VP8/VP9 video decoding. | 1010 // Enables experimental hardware acceleration for VP8/VP9 video decoding. |
1011 const char kEnableAcceleratedVpxDecode[] = "enable-accelerated-vpx-decode"; | 1011 const char kEnableAcceleratedVpxDecode[] = "enable-accelerated-vpx-decode"; |
1012 | 1012 |
| 1013 // Enables H264 HW decode acceleration for WebRtc on Win 7. |
| 1014 const char kEnableWin7WebRtcHWH264Decoding[] = |
| 1015 "enable-win7-webrtc-hw-h264-decoding"; |
| 1016 |
1013 // DirectWrite FontCache is shared by browser to renderers using shared memory. | 1017 // DirectWrite FontCache is shared by browser to renderers using shared memory. |
1014 // This switch allows us to pass the shared memory handle to the renderer. | 1018 // This switch allows us to pass the shared memory handle to the renderer. |
1015 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; | 1019 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; |
1016 | 1020 |
1017 // Sets the free memory thresholds below which the system is considered to be | 1021 // Sets the free memory thresholds below which the system is considered to be |
1018 // under moderate and critical memory pressure. Used in the browser process, | 1022 // under moderate and critical memory pressure. Used in the browser process, |
1019 // and ignored if invalid. Specified as a pair of comma separated integers. | 1023 // and ignored if invalid. Specified as a pair of comma separated integers. |
1020 // See base/win/memory_pressure_monitor.cc for defaults. | 1024 // See base/win/memory_pressure_monitor.cc for defaults. |
1021 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1025 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
1022 | 1026 |
1023 // Enables the exporting of the tracing events to ETW. This is only supported on | 1027 // Enables the exporting of the tracing events to ETW. This is only supported on |
1024 // Windows Vista and later. | 1028 // Windows Vista and later. |
1025 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1029 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1026 #endif | 1030 #endif |
1027 | 1031 |
1028 // Don't dump stuff here, follow the same order as the header. | 1032 // Don't dump stuff here, follow the same order as the header. |
1029 | 1033 |
1030 } // namespace switches | 1034 } // namespace switches |
OLD | NEW |