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 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 // Enables CSS3 regions | 236 // Enables CSS3 regions |
237 const char kEnableCssRegions[] = "enable-css-regions"; | 237 const char kEnableCssRegions[] = "enable-css-regions"; |
238 | 238 |
239 // Enables CSS3 custom filters | 239 // Enables CSS3 custom filters |
240 const char kEnableCssShaders[] = "enable-css-shaders"; | 240 const char kEnableCssShaders[] = "enable-css-shaders"; |
241 | 241 |
242 // Enables device motion events. | 242 // Enables device motion events. |
243 const char kEnableDeviceMotion[] = "enable-device-motion"; | 243 const char kEnableDeviceMotion[] = "enable-device-motion"; |
244 | 244 |
| 245 // Enables support for encrypted media. Current implementation is |
| 246 // incomplete and this flag is used for development and testing. |
| 247 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; |
| 248 |
245 // Enables the fastback page cache. | 249 // Enables the fastback page cache. |
246 const char kEnableFastback[] = "enable-fastback"; | 250 const char kEnableFastback[] = "enable-fastback"; |
247 | 251 |
248 // By default, a page is laid out to fill the entire width of the window. | 252 // By default, a page is laid out to fill the entire width of the window. |
249 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 253 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
250 // or to a specified width and height using --enable-fixed-layout=w,h | 254 // or to a specified width and height using --enable-fixed-layout=w,h |
251 const char kEnableFixedLayout[] = "enable-fixed-layout"; | 255 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
252 | 256 |
253 // Enable the JavaScript Full Screen API. | 257 // Enable the JavaScript Full Screen API. |
254 const char kDisableFullScreen[] = "disable-fullscreen"; | 258 const char kDisableFullScreen[] = "disable-fullscreen"; |
255 | 259 |
256 // Enable the JavaScript Pointer Lock API. | 260 // Enable the JavaScript Pointer Lock API. |
257 const char kEnablePointerLock[] = "enable-pointer-lock"; | 261 const char kEnablePointerLock[] = "enable-pointer-lock"; |
258 | 262 |
259 // Enable the Gamepad API | 263 // Enable the Gamepad API |
260 const char kEnableGamepad[] = "enable-gamepad"; | 264 const char kEnableGamepad[] = "enable-gamepad"; |
261 | 265 |
262 // Force logging to be enabled. Logging is disabled by default in release | 266 // Force logging to be enabled. Logging is disabled by default in release |
263 // builds. | 267 // builds. |
264 const char kEnableLogging[] = "enable-logging"; | 268 const char kEnableLogging[] = "enable-logging"; |
265 | 269 |
266 // Enables Media Source API on <audio>/<video> elements. | 270 // Enables Media Source API on <audio>/<video> elements. |
267 const char kEnableMediaSource[] = "enable-media-source"; | 271 const char kEnableMediaSource[] = "enable-media-source"; |
268 | 272 |
269 // Enable media stream in WebKit. | 273 // Enable media stream in WebKit. |
270 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr
eam | 274 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr
eam |
271 const char kEnableMediaStream[] = "enable-media-stream"; | 275 const char kEnableMediaStream[] = "enable-media-stream"; |
272 | 276 |
273 // On Windows, converts the page to the currently-installed monitor profile. | 277 // On Windows, converts the page to the currently-installed monitor profile. |
274 // This does NOT enable color management for images. The source is still | 278 // This does NOT enable color management for images. The source is still |
275 // assumed to be sRGB. | 279 // assumed to be sRGB. |
276 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 280 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
277 | 281 |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 662 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
659 | 663 |
660 // Maximum time between mousedown and mouseup to be considered a tap. | 664 // Maximum time between mousedown and mouseup to be considered a tap. |
661 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 665 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
662 | 666 |
663 // Forces usage of the test compositor. Needed to run ui tests on bots. | 667 // Forces usage of the test compositor. Needed to run ui tests on bots. |
664 extern const char kTestCompositor[] = "test-compositor"; | 668 extern const char kTestCompositor[] = "test-compositor"; |
665 #endif | 669 #endif |
666 | 670 |
667 } // namespace switches | 671 } // namespace switches |
OLD | NEW |