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 // Please note that this flag is honored only if chromium is compiled with |
alokp
2011/12/13 17:20:16
Would you mind removing this comment? It is not tr
| |
175 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 | 175 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 |
176 // in build/features_override.gypi. | 176 // in build/features_override.gypi. |
177 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; | 177 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting"; |
178 | 178 |
179 // Enable gpu-accelerated SVG/W3C filters. | 179 // Enable gpu-accelerated SVG/W3C filters. |
180 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; | 180 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; |
181 | 181 |
182 // Enables WebKit accessibility within the renderer process. | 182 // Enables WebKit accessibility within the renderer process. |
183 const char kEnableAccessibility[] = "enable-accessibility"; | 183 const char kEnableAccessibility[] = "enable-accessibility"; |
184 | 184 |
185 // Turns on extremely verbose logging of accessibility events. | 185 // Turns on extremely verbose logging of accessibility events. |
186 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 186 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
187 | 187 |
(...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) | 552 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) |
553 // instead of NSS for SSL. | 553 // instead of NSS for SSL. |
554 const char kUseSystemSSL[] = "use-system-ssl"; | 554 const char kUseSystemSSL[] = "use-system-ssl"; |
555 #endif | 555 #endif |
556 | 556 |
557 #if !defined(OFFICIAL_BUILD) | 557 #if !defined(OFFICIAL_BUILD) |
558 // Causes the renderer process to throw an assertion on launch. | 558 // Causes the renderer process to throw an assertion on launch. |
559 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 559 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
560 #endif | 560 #endif |
561 | 561 |
562 // Enable per-tile page painting. | |
563 // Please note that this flag is honored only if chromium is compiled with | |
564 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 | |
565 // in build/features_override.gypi. | |
566 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | |
567 | |
562 } // namespace switches | 568 } // namespace switches |
OLD | NEW |