| 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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 790 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| 791 #endif | 791 #endif |
| 792 | 792 |
| 793 #if defined(OS_POSIX) | 793 #if defined(OS_POSIX) |
| 794 // Causes the child processes to cleanly exit via calling exit(). | 794 // Causes the child processes to cleanly exit via calling exit(). |
| 795 const char kChildCleanExit[] = "child-clean-exit"; | 795 const char kChildCleanExit[] = "child-clean-exit"; |
| 796 #endif | 796 #endif |
| 797 | 797 |
| 798 #if defined(OS_MACOSX) && !defined(OS_IOS) | 798 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 799 const char kDisableCarbonInterposing[] = "disable-carbon-interposing"; | 799 const char kDisableCarbonInterposing[] = "disable-carbon-interposing"; |
| 800 |
| 801 // Use core animation to draw the RenderWidgetHostView on Mac. |
| 802 const char kUseCoreAnimation[] = "use-core-animation"; |
| 800 #endif | 803 #endif |
| 801 | 804 |
| 802 // Disables the use of a 3D software rasterizer. | 805 // Disables the use of a 3D software rasterizer. |
| 803 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 806 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
| 804 | 807 |
| 805 #if defined(USE_AURA) | 808 #if defined(USE_AURA) |
| 806 // Forces usage of the test compositor. Needed to run ui tests on bots. | 809 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 807 extern const char kTestCompositor[] = "test-compositor"; | 810 extern const char kTestCompositor[] = "test-compositor"; |
| 808 #endif | 811 #endif |
| 809 | 812 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 // Forward overscroll event data from the renderer to the browser. | 850 // Forward overscroll event data from the renderer to the browser. |
| 848 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 851 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 849 | 852 |
| 850 // Enables 'image/webp' accept header for image requests. | 853 // Enables 'image/webp' accept header for image requests. |
| 851 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 854 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 852 | 855 |
| 853 // Enables WebGL extensions not yet approved by the community. | 856 // Enables WebGL extensions not yet approved by the community. |
| 854 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 857 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 855 | 858 |
| 856 } // namespace switches | 859 } // namespace switches |
| OLD | NEW |