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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 // Overrides the preferred discardable memory implementation. | 839 // Overrides the preferred discardable memory implementation. |
840 const char kUseDiscardableMemory[] = "use-discardable-memory"; | 840 const char kUseDiscardableMemory[] = "use-discardable-memory"; |
841 | 841 |
842 // Bypass the media stream infobar by selecting the default device for media | 842 // Bypass the media stream infobar by selecting the default device for media |
843 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 843 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
844 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; | 844 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; |
845 | 845 |
846 // Enable native GPU memory buffer support when available. | 846 // Enable native GPU memory buffer support when available. |
847 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers"; | 847 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers"; |
848 | 848 |
849 // Use TEXTURE_EXTERNAL_OES target with CHROMIUM_image extension. | 849 // Overrides the default texture target used with CHROMIUM_image extension. |
850 const char kUseImageExternal[] = "use-image-external"; | 850 const char kUseImageTextureTarget[] = "use-image-texture-target"; |
851 | 851 |
852 // Set when Chromium should use a mobile user agent. | 852 // Set when Chromium should use a mobile user agent. |
853 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 853 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
854 | 854 |
855 // Use the new surfaces system to handle compositor delegation. | 855 // Use the new surfaces system to handle compositor delegation. |
856 const char kUseSurfaces[] = "use-surfaces"; | 856 const char kUseSurfaces[] = "use-surfaces"; |
857 | 857 |
858 // Disable the use of the new surfaces system to handle compositor delegation. | 858 // Disable the use of the new surfaces system to handle compositor delegation. |
859 const char kDisableSurfaces[] = "disable-surfaces"; | 859 const char kDisableSurfaces[] = "disable-surfaces"; |
860 | 860 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 #endif | 997 #endif |
998 | 998 |
999 #if defined(ENABLE_PLUGINS) | 999 #if defined(ENABLE_PLUGINS) |
1000 // Enables the plugin power saver feature. | 1000 // Enables the plugin power saver feature. |
1001 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 1001 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
1002 #endif | 1002 #endif |
1003 | 1003 |
1004 // Don't dump stuff here, follow the same order as the header. | 1004 // Don't dump stuff here, follow the same order as the header. |
1005 | 1005 |
1006 } // namespace switches | 1006 } // namespace switches |
OLD | NEW |