| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 | 168 |
| 169 // Enable gpu-accelerated 2d canvas. | 169 // Enable gpu-accelerated 2d canvas. |
| 170 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; | 170 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; |
| 171 | 171 |
| 172 // Enable hardware accelerated page drawing. | 172 // Enable hardware accelerated page drawing. |
| 173 // Please note that this flag is honored only if chromium is compiled with | 173 // Please note that this flag is honored only if chromium is compiled with |
| 174 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 | 174 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 |
| 175 // in build/features_override.gypi. | 175 // in build/features_override.gypi. |
| 176 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; | 176 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; |
| 177 | 177 |
| 178 // Enable gpu-accelerated SVG/W3C filters. |
| 179 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; |
| 180 |
| 178 // Enables WebKit accessibility within the renderer process. | 181 // Enables WebKit accessibility within the renderer process. |
| 179 const char kEnableAccessibility[] = "enable-accessibility"; | 182 const char kEnableAccessibility[] = "enable-accessibility"; |
| 180 | 183 |
| 181 // Turns on extremely verbose logging of accessibility events. | 184 // Turns on extremely verbose logging of accessibility events. |
| 182 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 185 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
| 183 | 186 |
| 184 // Enables the creation of compositing layers for fixed position elements. | 187 // Enables the creation of compositing layers for fixed position elements. |
| 185 const char kEnableCompositingForFixedPosition[] = | 188 const char kEnableCompositingForFixedPosition[] = |
| 186 "enable-fixed-position-compositing"; | 189 "enable-fixed-position-compositing"; |
| 187 | 190 |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 // instead of NSS for SSL. | 549 // instead of NSS for SSL. |
| 547 const char kUseSystemSSL[] = "use-system-ssl"; | 550 const char kUseSystemSSL[] = "use-system-ssl"; |
| 548 #endif | 551 #endif |
| 549 | 552 |
| 550 #if !defined(OFFICIAL_BUILD) | 553 #if !defined(OFFICIAL_BUILD) |
| 551 // Causes the renderer process to throw an assertion on launch. | 554 // Causes the renderer process to throw an assertion on launch. |
| 552 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 555 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 553 #endif | 556 #endif |
| 554 | 557 |
| 555 } // namespace switches | 558 } // namespace switches |
| OLD | NEW |