| 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 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 830 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 831 | 831 |
| 832 // Use normal priority for tile task worker threads. Otherwise they may | 832 // Use normal priority for tile task worker threads. Otherwise they may |
| 833 // be run at background priority on some platforms. | 833 // be run at background priority on some platforms. |
| 834 const char kUseNormalPriorityForTileTaskWorkerThreads[] = | 834 const char kUseNormalPriorityForTileTaskWorkerThreads[] = |
| 835 "use-normal-priority-for-tile-task-worker-threads"; | 835 "use-normal-priority-for-tile-task-worker-threads"; |
| 836 | 836 |
| 837 // Use the new surfaces system to handle compositor delegation. | 837 // Use the new surfaces system to handle compositor delegation. |
| 838 const char kUseSurfaces[] = "use-surfaces"; | 838 const char kUseSurfaces[] = "use-surfaces"; |
| 839 | 839 |
| 840 // Disable the use of the new surfaces system to handle compositor delegation. | |
| 841 const char kDisableSurfaces[] = "disable-surfaces"; | |
| 842 | |
| 843 // 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. |
| 844 // Useful values might be "valgrind" or "xterm -e gdb --args". | 841 // Useful values might be "valgrind" or "xterm -e gdb --args". |
| 845 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 842 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
| 846 | 843 |
| 847 // Causes the process to run as a utility subprocess. | 844 // Causes the process to run as a utility subprocess. |
| 848 const char kUtilityProcess[] = "utility"; | 845 const char kUtilityProcess[] = "utility"; |
| 849 | 846 |
| 850 // The utility process is sandboxed, with access to one directory. This flag | 847 // The utility process is sandboxed, with access to one directory. This flag |
| 851 // specifies the directory that can be accessed. | 848 // specifies the directory that can be accessed. |
| 852 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; | 849 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 978 const char kEnableNpapi[] = "enable-npapi"; | 975 const char kEnableNpapi[] = "enable-npapi"; |
| 979 | 976 |
| 980 #if defined(ENABLE_PLUGINS) | 977 #if defined(ENABLE_PLUGINS) |
| 981 // Enables the plugin power saver feature. | 978 // Enables the plugin power saver feature. |
| 982 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 979 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 983 #endif | 980 #endif |
| 984 | 981 |
| 985 // Don't dump stuff here, follow the same order as the header. | 982 // Don't dump stuff here, follow the same order as the header. |
| 986 | 983 |
| 987 } // namespace switches | 984 } // namespace switches |
| OLD | NEW |