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 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 // Overrides the preferred discardable memory implementation. | 874 // Overrides the preferred discardable memory implementation. |
875 const char kUseDiscardableMemory[] = "use-discardable-memory"; | 875 const char kUseDiscardableMemory[] = "use-discardable-memory"; |
876 | 876 |
877 // Bypass the media stream infobar by selecting the default device for media | 877 // Bypass the media stream infobar by selecting the default device for media |
878 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 878 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
879 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; | 879 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; |
880 | 880 |
881 // Set when Chromium should use a mobile user agent. | 881 // Set when Chromium should use a mobile user agent. |
882 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 882 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
883 | 883 |
| 884 // Use the new surfaces system to handle compositor delegation. |
| 885 const char kUseSurfaces[] = "use-surfaces"; |
| 886 |
884 // On POSIX only: the contents of this flag are prepended to the utility | 887 // On POSIX only: the contents of this flag are prepended to the utility |
885 // process command line. Useful values might be "valgrind" or "xterm -e gdb | 888 // process command line. Useful values might be "valgrind" or "xterm -e gdb |
886 // --args". | 889 // --args". |
887 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 890 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
888 | 891 |
889 // Causes the process to run as a utility subprocess. | 892 // Causes the process to run as a utility subprocess. |
890 const char kUtilityProcess[] = "utility"; | 893 const char kUtilityProcess[] = "utility"; |
891 | 894 |
892 // The utility process is sandboxed, with access to one directory. This flag | 895 // The utility process is sandboxed, with access to one directory. This flag |
893 // specifies the directory that can be accessed. | 896 // specifies the directory that can be accessed. |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 | 981 |
979 // Disables support for Core Animation plugins. This is triggered when | 982 // Disables support for Core Animation plugins. This is triggered when |
980 // accelerated compositing is disabled. See http://crbug.com/122430 . | 983 // accelerated compositing is disabled. See http://crbug.com/122430 . |
981 const char kDisableCoreAnimationPlugins[] = | 984 const char kDisableCoreAnimationPlugins[] = |
982 "disable-core-animation-plugins"; | 985 "disable-core-animation-plugins"; |
983 #endif | 986 #endif |
984 | 987 |
985 // Don't dump stuff here, follow the same order as the header. | 988 // Don't dump stuff here, follow the same order as the header. |
986 | 989 |
987 } // namespace switches | 990 } // namespace switches |
OLD | NEW |