| 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 // Enable deferred 2d canvas rendering. | 236 // Enable deferred 2d canvas rendering. |
| 237 const char kEnableDeferred2dCanvas[] = "enable-deferred-2d-canvas"; | 237 const char kEnableDeferred2dCanvas[] = "enable-deferred-2d-canvas"; |
| 238 | 238 |
| 239 // Enables compositing to texture instead of display. | 239 // Enables compositing to texture instead of display. |
| 240 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; | 240 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; |
| 241 | 241 |
| 242 // Enables CSS3 regions | 242 // Enables CSS3 regions |
| 243 const char kEnableCssRegions[] = "enable-css-regions"; | 243 const char kEnableCssRegions[] = "enable-css-regions"; |
| 244 | 244 |
| 245 // Enables CSS3 custom filters |
| 246 const char kEnableCssShaders[] = "enable-css-shaders"; |
| 247 |
| 245 // Enables device motion events. | 248 // Enables device motion events. |
| 246 const char kEnableDeviceMotion[] = "enable-device-motion"; | 249 const char kEnableDeviceMotion[] = "enable-device-motion"; |
| 247 | 250 |
| 248 // Enables the fastback page cache. | 251 // Enables the fastback page cache. |
| 249 const char kEnableFastback[] = "enable-fastback"; | 252 const char kEnableFastback[] = "enable-fastback"; |
| 250 | 253 |
| 251 // By default, a page is laid out to fill the entire width of the window. | 254 // By default, a page is laid out to fill the entire width of the window. |
| 252 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 255 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
| 253 // or to a specified width and height using --enable-fixed-layout=w,h | 256 // or to a specified width and height using --enable-fixed-layout=w,h |
| 254 const char kEnableFixedLayout[] = "enable-fixed-layout"; | 257 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 661 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
| 659 | 662 |
| 660 // Maximum time between mousedown and mouseup to be considered a tap. | 663 // Maximum time between mousedown and mouseup to be considered a tap. |
| 661 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 664 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
| 662 | 665 |
| 663 // Forces usage of the test compositor. Needed to run ui tests on bots. | 666 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 664 extern const char kTestCompositor[] = "test-compositor"; | 667 extern const char kTestCompositor[] = "test-compositor"; |
| 665 #endif | 668 #endif |
| 666 | 669 |
| 667 } // namespace switches | 670 } // namespace switches |
| OLD | NEW |