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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 163 |
164 // Disable web audio API. | 164 // Disable web audio API. |
165 const char kDisableWebAudio[] = "disable-webaudio"; | 165 const char kDisableWebAudio[] = "disable-webaudio"; |
166 | 166 |
167 // Disable Web Sockets support. | 167 // Disable Web Sockets support. |
168 const char kDisableWebSockets[] = "disable-web-sockets"; | 168 const char kDisableWebSockets[] = "disable-web-sockets"; |
169 | 169 |
170 // Enable gpu-accelerated 2d canvas. | 170 // Enable gpu-accelerated 2d canvas. |
171 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; | 171 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; |
172 | 172 |
173 // Enable hardware accelerated page drawing. | 173 // Enable hardware accelerated page painting. |
174 // Please note that this flag is honored only if chromium is compiled with | 174 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting"; |
175 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 | |
176 // in build/features_override.gypi. | |
177 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; | |
178 | 175 |
179 // Enable gpu-accelerated SVG/W3C filters. | 176 // Enable gpu-accelerated SVG/W3C filters. |
180 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; | 177 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; |
181 | 178 |
182 // Enables WebKit accessibility within the renderer process. | 179 // Enables WebKit accessibility within the renderer process. |
183 const char kEnableAccessibility[] = "enable-accessibility"; | 180 const char kEnableAccessibility[] = "enable-accessibility"; |
184 | 181 |
185 // Turns on extremely verbose logging of accessibility events. | 182 // Turns on extremely verbose logging of accessibility events. |
186 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 183 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
187 | 184 |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) | 549 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) |
553 // instead of NSS for SSL. | 550 // instead of NSS for SSL. |
554 const char kUseSystemSSL[] = "use-system-ssl"; | 551 const char kUseSystemSSL[] = "use-system-ssl"; |
555 #endif | 552 #endif |
556 | 553 |
557 #if !defined(OFFICIAL_BUILD) | 554 #if !defined(OFFICIAL_BUILD) |
558 // Causes the renderer process to throw an assertion on launch. | 555 // Causes the renderer process to throw an assertion on launch. |
559 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 556 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
560 #endif | 557 #endif |
561 | 558 |
| 559 // Enable per-tile page painting. |
| 560 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
| 561 |
562 } // namespace switches | 562 } // namespace switches |
OLD | NEW |