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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 441 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
442 | 442 |
443 // On Windows, converts the page to the currently-installed monitor profile. | 443 // On Windows, converts the page to the currently-installed monitor profile. |
444 // This does NOT enable color management for images. The source is still | 444 // This does NOT enable color management for images. The source is still |
445 // assumed to be sRGB. | 445 // assumed to be sRGB. |
446 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 446 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
447 | 447 |
448 // Enables use of cache if offline, even if it's stale | 448 // Enables use of cache if offline, even if it's stale |
449 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; | 449 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; |
450 | 450 |
| 451 // Enables use of hardware overlay for fullscreen video playback. Android only. |
| 452 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
| 453 |
451 // Enables overlay scrollbars on Aura or Linux. Does nothing on Mac. | 454 // Enables overlay scrollbars on Aura or Linux. Does nothing on Mac. |
452 const char kEnableOverlayScrollbars[] = "enable-overlay-scrollbars"; | 455 const char kEnableOverlayScrollbars[] = "enable-overlay-scrollbars"; |
453 | 456 |
454 // Forward overscroll event data from the renderer to the browser. | 457 // Forward overscroll event data from the renderer to the browser. |
455 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 458 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
456 | 459 |
457 // Enables compositor-accelerated touch-screen pinch gestures. | 460 // Enables compositor-accelerated touch-screen pinch gestures. |
458 const char kEnablePinch[] = "enable-pinch"; | 461 const char kEnablePinch[] = "enable-pinch"; |
459 | 462 |
460 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 463 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 #endif | 973 #endif |
971 | 974 |
972 #if defined(USE_AURA) | 975 #if defined(USE_AURA) |
973 // Forces usage of the test compositor. Needed to run ui tests on bots. | 976 // Forces usage of the test compositor. Needed to run ui tests on bots. |
974 extern const char kTestCompositor[] = "test-compositor"; | 977 extern const char kTestCompositor[] = "test-compositor"; |
975 #endif | 978 #endif |
976 | 979 |
977 // Don't dump stuff here, follow the same order as the header. | 980 // Don't dump stuff here, follow the same order as the header. |
978 | 981 |
979 } // namespace switches | 982 } // namespace switches |
OLD | NEW |