| 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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 778 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| 779 #endif | 779 #endif |
| 780 | 780 |
| 781 #if defined(OS_POSIX) | 781 #if defined(OS_POSIX) |
| 782 // Causes the child processes to cleanly exit via calling exit(). | 782 // Causes the child processes to cleanly exit via calling exit(). |
| 783 const char kChildCleanExit[] = "child-clean-exit"; | 783 const char kChildCleanExit[] = "child-clean-exit"; |
| 784 #endif | 784 #endif |
| 785 | 785 |
| 786 #if defined(OS_MACOSX) && !defined(OS_IOS) | 786 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 787 const char kDisableCarbonInterposing[] = "disable-carbon-interposing"; | 787 const char kDisableCarbonInterposing[] = "disable-carbon-interposing"; |
| 788 |
| 789 // Use core animation to draw the RenderWidgetHostView on Mac. |
| 790 const char kUseCoreAnimation[] = "use-core-animation"; |
| 788 #endif | 791 #endif |
| 789 | 792 |
| 790 // Disables the use of a 3D software rasterizer. | 793 // Disables the use of a 3D software rasterizer. |
| 791 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 794 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
| 792 | 795 |
| 793 #if defined(USE_AURA) | 796 #if defined(USE_AURA) |
| 794 // Forces usage of the test compositor. Needed to run ui tests on bots. | 797 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 795 extern const char kTestCompositor[] = "test-compositor"; | 798 extern const char kTestCompositor[] = "test-compositor"; |
| 796 #endif | 799 #endif |
| 797 | 800 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 const char kOverscrollHistoryNavigation[] = | 832 const char kOverscrollHistoryNavigation[] = |
| 830 "overscroll-history-navigation"; | 833 "overscroll-history-navigation"; |
| 831 | 834 |
| 832 // Forward overscroll event data from the renderer to the browser. | 835 // Forward overscroll event data from the renderer to the browser. |
| 833 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 836 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 834 | 837 |
| 835 // Enables 'image/webp' accept header for image requests. | 838 // Enables 'image/webp' accept header for image requests. |
| 836 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 839 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 837 | 840 |
| 838 } // namespace switches | 841 } // namespace switches |
| OLD | NEW |