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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 // assumed to be sRGB. | 417 // assumed to be sRGB. |
418 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 418 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
419 | 419 |
420 // Enables the new chrome://media-internals page. | 420 // Enables the new chrome://media-internals page. |
421 // http://crbug.com/260005 | 421 // http://crbug.com/260005 |
422 const char kEnableNewMediaInternals[] = "enable-new-media-internals"; | 422 const char kEnableNewMediaInternals[] = "enable-new-media-internals"; |
423 | 423 |
424 // Enables use of cache if offline, even if it's stale | 424 // Enables use of cache if offline, even if it's stale |
425 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; | 425 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; |
426 | 426 |
| 427 // Enables overlay scrollbars on Aura or Linux. Does nothing on Mac. |
| 428 const char kEnableOverlayScrollbars[] = "enable-overlay-scrollbars"; |
| 429 |
427 // Forward overscroll event data from the renderer to the browser. | 430 // Forward overscroll event data from the renderer to the browser. |
428 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 431 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
429 | 432 |
430 // Enables compositor-accelerated touch-screen pinch gestures. | 433 // Enables compositor-accelerated touch-screen pinch gestures. |
431 const char kEnablePinch[] = "enable-pinch"; | 434 const char kEnablePinch[] = "enable-pinch"; |
432 | 435 |
433 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 436 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
434 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 437 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
435 | 438 |
436 // Enable privileged WebGL extensions; without this switch such extensions are | 439 // Enable privileged WebGL extensions; without this switch such extensions are |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
921 #endif | 924 #endif |
922 | 925 |
923 #if defined(USE_AURA) | 926 #if defined(USE_AURA) |
924 // Forces usage of the test compositor. Needed to run ui tests on bots. | 927 // Forces usage of the test compositor. Needed to run ui tests on bots. |
925 extern const char kTestCompositor[] = "test-compositor"; | 928 extern const char kTestCompositor[] = "test-compositor"; |
926 #endif | 929 #endif |
927 | 930 |
928 // Don't dump stuff here, follow the same order as the header. | 931 // Don't dump stuff here, follow the same order as the header. |
929 | 932 |
930 } // namespace switches | 933 } // namespace switches |
OLD | NEW |