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 |
840 // The contents of this flag are prepended to the utility process command line. | 843 // The contents of this flag are prepended to the utility process command line. |
841 // Useful values might be "valgrind" or "xterm -e gdb --args". | 844 // Useful values might be "valgrind" or "xterm -e gdb --args". |
842 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 845 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
843 | 846 |
844 // Causes the process to run as a utility subprocess. | 847 // Causes the process to run as a utility subprocess. |
845 const char kUtilityProcess[] = "utility"; | 848 const char kUtilityProcess[] = "utility"; |
846 | 849 |
847 // The utility process is sandboxed, with access to one directory. This flag | 850 // The utility process is sandboxed, with access to one directory. This flag |
848 // specifies the directory that can be accessed. | 851 // specifies the directory that can be accessed. |
849 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; | 852 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 const char kEnableNpapi[] = "enable-npapi"; | 978 const char kEnableNpapi[] = "enable-npapi"; |
976 | 979 |
977 #if defined(ENABLE_PLUGINS) | 980 #if defined(ENABLE_PLUGINS) |
978 // Enables the plugin power saver feature. | 981 // Enables the plugin power saver feature. |
979 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 982 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
980 #endif | 983 #endif |
981 | 984 |
982 // Don't dump stuff here, follow the same order as the header. | 985 // Don't dump stuff here, follow the same order as the header. |
983 | 986 |
984 } // namespace switches | 987 } // namespace switches |
OLD | NEW |