| 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 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 extern const char kUIPrioritizeInGpuProcess[] = | 833 extern const char kUIPrioritizeInGpuProcess[] = |
| 834 "ui-prioritize-in-gpu-process"; | 834 "ui-prioritize-in-gpu-process"; |
| 835 | 835 |
| 836 // Overrides the preferred discardable memory implementation. | 836 // Overrides the preferred discardable memory implementation. |
| 837 const char kUseDiscardableMemory[] = "use-discardable-memory"; | 837 const char kUseDiscardableMemory[] = "use-discardable-memory"; |
| 838 | 838 |
| 839 // Bypass the media stream infobar by selecting the default device for media | 839 // Bypass the media stream infobar by selecting the default device for media |
| 840 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 840 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
| 841 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; | 841 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; |
| 842 | 842 |
| 843 // Overrides the preferred GPU memory buffer implementation. |
| 844 const char kUseGpuMemoryBuffer[] = "use-gpu-memory-buffer"; |
| 845 |
| 846 // Use TEXTURE_EXTERNAL_OES target with CHROMIUM_image extension. |
| 847 const char kUseImageExternal[] = "use-image-external"; |
| 848 |
| 843 // Set when Chromium should use a mobile user agent. | 849 // Set when Chromium should use a mobile user agent. |
| 844 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 850 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 845 | 851 |
| 846 // Use the new surfaces system to handle compositor delegation. | 852 // Use the new surfaces system to handle compositor delegation. |
| 847 const char kUseSurfaces[] = "use-surfaces"; | 853 const char kUseSurfaces[] = "use-surfaces"; |
| 848 | 854 |
| 849 // On POSIX only: the contents of this flag are prepended to the utility | 855 // On POSIX only: the contents of this flag are prepended to the utility |
| 850 // process command line. Useful values might be "valgrind" or "xterm -e gdb | 856 // process command line. Useful values might be "valgrind" or "xterm -e gdb |
| 851 // --args". | 857 // --args". |
| 852 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 858 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 978 #endif | 984 #endif |
| 979 | 985 |
| 980 #if defined(ENABLE_PLUGINS) | 986 #if defined(ENABLE_PLUGINS) |
| 981 // Enables the plugin power saver feature. | 987 // Enables the plugin power saver feature. |
| 982 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 988 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 983 #endif | 989 #endif |
| 984 | 990 |
| 985 // Don't dump stuff here, follow the same order as the header. | 991 // Don't dump stuff here, follow the same order as the header. |
| 986 | 992 |
| 987 } // namespace switches | 993 } // namespace switches |
| OLD | NEW |