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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 // Causes the GPU process to display a dialog on launch. | 538 // Causes the GPU process to display a dialog on launch. |
539 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 539 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
540 | 540 |
541 // Passes gpu vendor_id from browser process to GPU process. | 541 // Passes gpu vendor_id from browser process to GPU process. |
542 const char kGpuVendorID[] = "gpu-vendor-id"; | 542 const char kGpuVendorID[] = "gpu-vendor-id"; |
543 | 543 |
544 #if defined(OS_ANDROID) | 544 #if defined(OS_ANDROID) |
545 // Don't display any scrollbars. This is useful for Android WebView where | 545 // Don't display any scrollbars. This is useful for Android WebView where |
546 // the system manages the scrollbars instead. | 546 // the system manages the scrollbars instead. |
547 const char kHideScrollbars[] = "hide-scrollbars"; | 547 const char kHideScrollbars[] = "hide-scrollbars"; |
| 548 |
| 549 // Don't process fling gestures targeted at the root scroll layer. This is |
| 550 // useful for the Android WebView which handles the fling animations itself. |
| 551 const char kIgnoreRootLayerFlings[] = "ignore-root-layer-flings"; |
548 #endif | 552 #endif |
549 | 553 |
550 // These mappings only apply to the host resolver. | 554 // These mappings only apply to the host resolver. |
551 const char kHostResolverRules[] = "host-resolver-rules"; | 555 const char kHostResolverRules[] = "host-resolver-rules"; |
552 | 556 |
553 // Ignores certificate-related errors. | 557 // Ignores certificate-related errors. |
554 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 558 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
555 | 559 |
556 // Ignores GPU blacklist. | 560 // Ignores GPU blacklist. |
557 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; | 561 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 904 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
901 | 905 |
902 // Enables/disables accelerated compositing for backgrounds of root layers with | 906 // Enables/disables accelerated compositing for backgrounds of root layers with |
903 // background-attachment: fixed. Requires kForceCompositingMode. | 907 // background-attachment: fixed. Requires kForceCompositingMode. |
904 const char kDisableAcceleratedFixedRootBackground[] = | 908 const char kDisableAcceleratedFixedRootBackground[] = |
905 "disable-accelerated-fixed-root-background"; | 909 "disable-accelerated-fixed-root-background"; |
906 const char kEnableAcceleratedFixedRootBackground[] = | 910 const char kEnableAcceleratedFixedRootBackground[] = |
907 "enable-accelerated-fixed-root-background"; | 911 "enable-accelerated-fixed-root-background"; |
908 | 912 |
909 } // namespace switches | 913 } // namespace switches |
OLD | NEW |