| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // Disable Stage3D inside of flapper. | 193 // Disable Stage3D inside of flapper. |
| 194 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; | 194 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; |
| 195 | 195 |
| 196 // This flag disables force compositing mode and prevents it from being enabled | 196 // This flag disables force compositing mode and prevents it from being enabled |
| 197 // via field trials. | 197 // via field trials. |
| 198 const char kDisableForceCompositingMode[] = "disable-force-compositing-mode"; | 198 const char kDisableForceCompositingMode[] = "disable-force-compositing-mode"; |
| 199 | 199 |
| 200 // Disable the JavaScript Full Screen API. | 200 // Disable the JavaScript Full Screen API. |
| 201 const char kDisableFullScreen[] = "disable-fullscreen"; | 201 const char kDisableFullScreen[] = "disable-fullscreen"; |
| 202 | 202 |
| 203 // Suppresses support for the Geolocation javascript API. | |
| 204 const char kDisableGeolocation[] = "disable-geolocation"; | |
| 205 | |
| 206 // Disable deferral of scroll-ending gesture events when a scroll is active. | 203 // Disable deferral of scroll-ending gesture events when a scroll is active. |
| 207 const char kDisableGestureDebounce[] = "disable-gesture-debounce"; | 204 const char kDisableGestureDebounce[] = "disable-gesture-debounce"; |
| 208 | 205 |
| 209 const char kDisableGestureTapHighlight[] = "disable-gesture-tap-highlight"; | 206 const char kDisableGestureTapHighlight[] = "disable-gesture-tap-highlight"; |
| 210 | 207 |
| 211 // Disable GL multisampling. | 208 // Disable GL multisampling. |
| 212 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; | 209 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; |
| 213 | 210 |
| 214 // Disables GPU hardware acceleration. If software renderer is not in place, | 211 // Disables GPU hardware acceleration. If software renderer is not in place, |
| 215 // then the GPU process won't launch. | 212 // then the GPU process won't launch. |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1067 #endif | 1064 #endif |
| 1068 | 1065 |
| 1069 #if defined(OS_POSIX) | 1066 #if defined(OS_POSIX) |
| 1070 // Causes the child processes to cleanly exit via calling exit(). | 1067 // Causes the child processes to cleanly exit via calling exit(). |
| 1071 const char kChildCleanExit[] = "child-clean-exit"; | 1068 const char kChildCleanExit[] = "child-clean-exit"; |
| 1072 #endif | 1069 #endif |
| 1073 | 1070 |
| 1074 // Don't dump stuff here, follow the same order as the header. | 1071 // Don't dump stuff here, follow the same order as the header. |
| 1075 | 1072 |
| 1076 } // namespace switches | 1073 } // namespace switches |
| OLD | NEW |