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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 | 826 |
827 // Overrides the default texture target used with CHROMIUM_image extension. | 827 // Overrides the default texture target used with CHROMIUM_image extension. |
828 const char kUseImageTextureTarget[] = "use-image-texture-target"; | 828 const char kUseImageTextureTarget[] = "use-image-texture-target"; |
829 | 829 |
830 // Set when Chromium should use a mobile user agent. | 830 // Set when Chromium should use a mobile user agent. |
831 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 831 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
832 | 832 |
833 // Use the new surfaces system to handle compositor delegation. | 833 // Use the new surfaces system to handle compositor delegation. |
834 const char kUseSurfaces[] = "use-surfaces"; | 834 const char kUseSurfaces[] = "use-surfaces"; |
835 | 835 |
836 // Disable the use of the new surfaces system to handle compositor delegation. | |
837 const char kDisableSurfaces[] = "disable-surfaces"; | |
838 | |
839 // On POSIX only: the contents of this flag are prepended to the utility | 836 // On POSIX only: the contents of this flag are prepended to the utility |
840 // process command line. Useful values might be "valgrind" or "xterm -e gdb | 837 // process command line. Useful values might be "valgrind" or "xterm -e gdb |
841 // --args". | 838 // --args". |
842 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 839 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
843 | 840 |
844 // Causes the process to run as a utility subprocess. | 841 // Causes the process to run as a utility subprocess. |
845 const char kUtilityProcess[] = "utility"; | 842 const char kUtilityProcess[] = "utility"; |
846 | 843 |
847 // The utility process is sandboxed, with access to one directory. This flag | 844 // The utility process is sandboxed, with access to one directory. This flag |
848 // specifies the directory that can be accessed. | 845 // specifies the directory that can be accessed. |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) | 988 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) |
992 return false; | 989 return false; |
993 // Default. | 990 // Default. |
994 return group_name == "Enabled"; | 991 return group_name == "Enabled"; |
995 } | 992 } |
996 #endif | 993 #endif |
997 | 994 |
998 // Don't dump stuff here, follow the same order as the header. | 995 // Don't dump stuff here, follow the same order as the header. |
999 | 996 |
1000 } // namespace switches | 997 } // namespace switches |
OLD | NEW |