| 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 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 818 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 819 | 819 |
| 820 // Use normal priority for tile task worker threads. Otherwise they may | 820 // Use normal priority for tile task worker threads. Otherwise they may |
| 821 // be run at background priority on some platforms. | 821 // be run at background priority on some platforms. |
| 822 const char kUseNormalPriorityForTileTaskWorkerThreads[] = | 822 const char kUseNormalPriorityForTileTaskWorkerThreads[] = |
| 823 "use-normal-priority-for-tile-task-worker-threads"; | 823 "use-normal-priority-for-tile-task-worker-threads"; |
| 824 | 824 |
| 825 // Use remote compositor for the renderer. | 825 // Use remote compositor for the renderer. |
| 826 const char kUseRemoteCompositing[] = "use-remote-compositing"; | 826 const char kUseRemoteCompositing[] = "use-remote-compositing"; |
| 827 | 827 |
| 828 // Causes all low-priority "background" raster tasks to run on a single thread, |
| 829 // reducing their likelihood of contending with higher priority tasks for system |
| 830 // resources. |
| 831 const char kUseSingleThreadForBackgroundRasterTasks[] = |
| 832 "use-single-thread-for-background-raster-tasks"; |
| 833 |
| 828 // Use the new surfaces system to handle compositor delegation. | 834 // Use the new surfaces system to handle compositor delegation. |
| 829 const char kUseSurfaces[] = "use-surfaces"; | 835 const char kUseSurfaces[] = "use-surfaces"; |
| 830 | 836 |
| 831 // Disable the use of the new surfaces system to handle compositor delegation. | 837 // Disable the use of the new surfaces system to handle compositor delegation. |
| 832 const char kDisableSurfaces[] = "disable-surfaces"; | 838 const char kDisableSurfaces[] = "disable-surfaces"; |
| 833 | 839 |
| 834 // The contents of this flag are prepended to the utility process command line. | 840 // The contents of this flag are prepended to the utility process command line. |
| 835 // Useful values might be "valgrind" or "xterm -e gdb --args". | 841 // Useful values might be "valgrind" or "xterm -e gdb --args". |
| 836 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 842 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
| 837 | 843 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1001 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 996 | 1002 |
| 997 // Enables the exporting of the tracing events to ETW. This is only supported on | 1003 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 998 // Windows Vista and later. | 1004 // Windows Vista and later. |
| 999 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1005 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1000 #endif | 1006 #endif |
| 1001 | 1007 |
| 1002 // Don't dump stuff here, follow the same order as the header. | 1008 // Don't dump stuff here, follow the same order as the header. |
| 1003 | 1009 |
| 1004 } // namespace switches | 1010 } // namespace switches |
| OLD | NEW |