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 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 // the result to a file and the first manually recorded trace will then receive | 902 // the result to a file and the first manually recorded trace will then receive |
903 // all events since startup. | 903 // all events since startup. |
904 const char kTraceStartupFile[] = "trace-startup-file"; | 904 const char kTraceStartupFile[] = "trace-startup-file"; |
905 | 905 |
906 | 906 |
907 | 907 |
908 // Prioritizes the UI's command stream in the GPU process | 908 // Prioritizes the UI's command stream in the GPU process |
909 extern const char kUIPrioritizeInGpuProcess[] = | 909 extern const char kUIPrioritizeInGpuProcess[] = |
910 "ui-prioritize-in-gpu-process"; | 910 "ui-prioritize-in-gpu-process"; |
911 | 911 |
| 912 // Overrides the preferred discardable memory implementation. |
| 913 const char kUseDiscardableMemory[] = "use-discardable-memory"; |
| 914 |
912 // Use fake device for MediaStream to replace actual camera and microphone. | 915 // Use fake device for MediaStream to replace actual camera and microphone. |
913 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 916 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
914 | 917 |
915 // Bypass the media stream infobar by selecting the default device for media | 918 // Bypass the media stream infobar by selecting the default device for media |
916 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 919 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
917 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; | 920 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; |
918 | 921 |
919 // Use hardware gpu, if available, for tests. | 922 // Use hardware gpu, if available, for tests. |
920 const char kUseGpuInTests[] = "use-gpu-in-tests"; | 923 const char kUseGpuInTests[] = "use-gpu-in-tests"; |
921 | 924 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 #endif | 1052 #endif |
1050 | 1053 |
1051 #if defined(OS_POSIX) | 1054 #if defined(OS_POSIX) |
1052 // Causes the child processes to cleanly exit via calling exit(). | 1055 // Causes the child processes to cleanly exit via calling exit(). |
1053 const char kChildCleanExit[] = "child-clean-exit"; | 1056 const char kChildCleanExit[] = "child-clean-exit"; |
1054 #endif | 1057 #endif |
1055 | 1058 |
1056 // Don't dump stuff here, follow the same order as the header. | 1059 // Don't dump stuff here, follow the same order as the header. |
1057 | 1060 |
1058 } // namespace switches | 1061 } // namespace switches |
OLD | NEW |