| 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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| 10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 837 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 838 | 838 |
| 839 // Use normal priority for tile task worker threads. Otherwise they may | 839 // Use normal priority for tile task worker threads. Otherwise they may |
| 840 // be run at background priority on some platforms. | 840 // be run at background priority on some platforms. |
| 841 const char kUseNormalPriorityForTileTaskWorkerThreads[] = | 841 const char kUseNormalPriorityForTileTaskWorkerThreads[] = |
| 842 "use-normal-priority-for-tile-task-worker-threads"; | 842 "use-normal-priority-for-tile-task-worker-threads"; |
| 843 | 843 |
| 844 // Use the new surfaces system to handle compositor delegation. | 844 // Use the new surfaces system to handle compositor delegation. |
| 845 const char kUseSurfaces[] = "use-surfaces"; | 845 const char kUseSurfaces[] = "use-surfaces"; |
| 846 | 846 |
| 847 // Disable the use of the new surfaces system to handle compositor delegation. |
| 848 const char kDisableSurfaces[] = "disable-surfaces"; |
| 849 |
| 847 // The contents of this flag are prepended to the utility process command line. | 850 // The contents of this flag are prepended to the utility process command line. |
| 848 // Useful values might be "valgrind" or "xterm -e gdb --args". | 851 // Useful values might be "valgrind" or "xterm -e gdb --args". |
| 849 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 852 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
| 850 | 853 |
| 851 // Causes the process to run as a utility subprocess. | 854 // Causes the process to run as a utility subprocess. |
| 852 const char kUtilityProcess[] = "utility"; | 855 const char kUtilityProcess[] = "utility"; |
| 853 | 856 |
| 854 // The utility process is sandboxed, with access to one directory. This flag | 857 // The utility process is sandboxed, with access to one directory. This flag |
| 855 // specifies the directory that can be accessed. | 858 // specifies the directory that can be accessed. |
| 856 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; | 859 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 const char kEnableNpapi[] = "enable-npapi"; | 985 const char kEnableNpapi[] = "enable-npapi"; |
| 983 | 986 |
| 984 #if defined(ENABLE_PLUGINS) | 987 #if defined(ENABLE_PLUGINS) |
| 985 // Enables the plugin power saver feature. | 988 // Enables the plugin power saver feature. |
| 986 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 989 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 987 #endif | 990 #endif |
| 988 | 991 |
| 989 // Don't dump stuff here, follow the same order as the header. | 992 // Don't dump stuff here, follow the same order as the header. |
| 990 | 993 |
| 991 } // namespace switches | 994 } // namespace switches |
| OLD | NEW |