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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 const char kEnableExperimentalCanvasFeatures[] = | 390 const char kEnableExperimentalCanvasFeatures[] = |
391 "enable-experimental-canvas-features"; | 391 "enable-experimental-canvas-features"; |
392 | 392 |
393 // Enables Web Platform features that are in development. | 393 // Enables Web Platform features that are in development. |
394 const char kEnableExperimentalWebPlatformFeatures[] = | 394 const char kEnableExperimentalWebPlatformFeatures[] = |
395 "enable-experimental-web-platform-features"; | 395 "enable-experimental-web-platform-features"; |
396 | 396 |
397 // Enable an experimental WebSocket implementation. | 397 // Enable an experimental WebSocket implementation. |
398 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; | 398 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; |
399 | 399 |
| 400 // Enable the fast text autosizing implementation. |
| 401 const char kEnableFastTextAutosizing[] = "enable-fast-text-autosizing"; |
| 402 |
400 // By default, a page is laid out to fill the entire width of the window. | 403 // By default, a page is laid out to fill the entire width of the window. |
401 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 404 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
402 // or to a specified width and height using --enable-fixed-layout=w,h | 405 // or to a specified width and height using --enable-fixed-layout=w,h |
403 const char kEnableFixedLayout[] = "enable-fixed-layout"; | 406 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
404 | 407 |
405 const char kEnableFixedPositionCreatesStackingContext[] | 408 const char kEnableFixedPositionCreatesStackingContext[] |
406 = "enable-fixed-position-creates-stacking-context"; | 409 = "enable-fixed-position-creates-stacking-context"; |
407 | 410 |
408 // Enable Gesture Tap Highlight | 411 // Enable Gesture Tap Highlight |
409 const char kEnableGestureTapHighlight[] = "enable-gesture-tap-highlight"; | 412 const char kEnableGestureTapHighlight[] = "enable-gesture-tap-highlight"; |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 #endif | 975 #endif |
973 | 976 |
974 #if defined(USE_AURA) | 977 #if defined(USE_AURA) |
975 // Forces usage of the test compositor. Needed to run ui tests on bots. | 978 // Forces usage of the test compositor. Needed to run ui tests on bots. |
976 extern const char kTestCompositor[] = "test-compositor"; | 979 extern const char kTestCompositor[] = "test-compositor"; |
977 #endif | 980 #endif |
978 | 981 |
979 // Don't dump stuff here, follow the same order as the header. | 982 // Don't dump stuff here, follow the same order as the header. |
980 | 983 |
981 } // namespace switches | 984 } // namespace switches |
OLD | NEW |