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