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 Win 7. | |
1014 const char kEnableWin7HWH264Decoding[] = "enable-win7-hw-h264-decoding"; | |
pbos
2016/05/11 21:31:46
Should this not name something webrtc? If so put t
emircan
2016/05/11 23:50:14
Done.
| |
1015 | |
1013 // DirectWrite FontCache is shared by browser to renderers using shared memory. | 1016 // 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. | 1017 // This switch allows us to pass the shared memory handle to the renderer. |
1015 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; | 1018 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; |
1016 | 1019 |
1017 // Sets the free memory thresholds below which the system is considered to be | 1020 // 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, | 1021 // under moderate and critical memory pressure. Used in the browser process, |
1019 // and ignored if invalid. Specified as a pair of comma separated integers. | 1022 // and ignored if invalid. Specified as a pair of comma separated integers. |
1020 // See base/win/memory_pressure_monitor.cc for defaults. | 1023 // See base/win/memory_pressure_monitor.cc for defaults. |
1021 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1024 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
1022 | 1025 |
1023 // Enables the exporting of the tracing events to ETW. This is only supported on | 1026 // Enables the exporting of the tracing events to ETW. This is only supported on |
1024 // Windows Vista and later. | 1027 // Windows Vista and later. |
1025 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1028 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1026 #endif | 1029 #endif |
1027 | 1030 |
1028 // Don't dump stuff here, follow the same order as the header. | 1031 // Don't dump stuff here, follow the same order as the header. |
1029 | 1032 |
1030 } // namespace switches | 1033 } // namespace switches |
OLD | NEW |