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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 // Enable gpu-accelerated SVG/W3C filters. | 247 // Enable gpu-accelerated SVG/W3C filters. |
248 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; | 248 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; |
249 | 249 |
250 // Turns on extremely verbose logging of accessibility events. | 250 // Turns on extremely verbose logging of accessibility events. |
251 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 251 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
252 | 252 |
253 // Enables the creation of compositing layers for fixed position elements. | 253 // Enables the creation of compositing layers for fixed position elements. |
254 const char kEnableCompositingForFixedPosition[] = | 254 const char kEnableCompositingForFixedPosition[] = |
255 "enable-fixed-position-compositing"; | 255 "enable-fixed-position-compositing"; |
256 | 256 |
257 // Enables CSS3 exclusions | |
258 const char kEnableCssExclusions[] = "enable-css-exclusions"; | |
259 | |
260 // Enables CSS3 regions | |
261 const char kEnableCssRegions[] = "enable-css-regions"; | |
262 | |
263 // Enables CSS3 custom filters | 257 // Enables CSS3 custom filters |
264 const char kEnableCssShaders[] = "enable-css-shaders"; | 258 const char kEnableCssShaders[] = "enable-css-shaders"; |
265 | 259 |
266 // Enables CSS variables | |
267 const char kEnableCssVariables[] = "enable-css-variables"; | |
268 | |
269 // Enables device motion events. | 260 // Enables device motion events. |
270 const char kEnableDeviceMotion[] = "enable-device-motion"; | 261 const char kEnableDeviceMotion[] = "enable-device-motion"; |
271 | 262 |
272 // Enables support for encrypted media. Current implementation is | 263 // Enables support for encrypted media. Current implementation is |
273 // incomplete and this flag is used for development and testing. | 264 // incomplete and this flag is used for development and testing. |
274 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; | 265 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; |
275 | 266 |
| 267 // Enables WebKit features that are in development. |
| 268 const char kEnableExperimentalWebKitFeatures[] = |
| 269 "enable-experimental-webkit-features"; |
| 270 |
276 // Enables the fastback page cache. | 271 // Enables the fastback page cache. |
277 const char kEnableFastback[] = "enable-fastback"; | 272 const char kEnableFastback[] = "enable-fastback"; |
278 | 273 |
279 // By default, a page is laid out to fill the entire width of the window. | 274 // By default, a page is laid out to fill the entire width of the window. |
280 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 275 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
281 // or to a specified width and height using --enable-fixed-layout=w,h | 276 // or to a specified width and height using --enable-fixed-layout=w,h |
282 const char kEnableFixedLayout[] = "enable-fixed-layout"; | 277 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
283 | 278 |
284 // Enable the JavaScript Full Screen API. | 279 // Enable the JavaScript Full Screen API. |
285 const char kDisableFullScreen[] = "disable-fullscreen"; | 280 const char kDisableFullScreen[] = "disable-fullscreen"; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 // Enables TLS cached info extension. | 332 // Enables TLS cached info extension. |
338 const char kEnableSSLCachedInfo[] = "enable-ssl-cached-info"; | 333 const char kEnableSSLCachedInfo[] = "enable-ssl-cached-info"; |
339 | 334 |
340 // Cause the OS X sandbox write to syslog every time an access to a resource | 335 // Cause the OS X sandbox write to syslog every time an access to a resource |
341 // is denied by the sandbox. | 336 // is denied by the sandbox. |
342 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; | 337 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; |
343 | 338 |
344 // Enable the seccomp sandbox (Linux only) | 339 // Enable the seccomp sandbox (Linux only) |
345 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; | 340 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; |
346 | 341 |
347 // Enable shadow DOM API | |
348 const char kEnableShadowDOM[] = "enable-shadow-dom"; | |
349 | |
350 // Enable <style scoped> | |
351 const char kEnableStyleScoped[] = "enable-style-scoped"; | |
352 | |
353 // On platforms that support it, enables smooth scroll animation. | 342 // On platforms that support it, enables smooth scroll animation. |
354 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 343 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
355 | 344 |
356 // Enables StatsTable, logging statistics to a global named shared memory table. | 345 // Enables StatsTable, logging statistics to a global named shared memory table. |
357 const char kEnableStatsTable[] = "enable-stats-table"; | 346 const char kEnableStatsTable[] = "enable-stats-table"; |
358 | 347 |
359 // Experimentally ensures that each renderer process: | 348 // Experimentally ensures that each renderer process: |
360 // 1) Only handles rendering for a single page. | 349 // 1) Only handles rendering for a single page. |
361 // (Note that a page can reference content from multiple origins due to images, | 350 // (Note that a page can reference content from multiple origins due to images, |
362 // iframes, etc). | 351 // iframes, etc). |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 // Sets the width and height above which a composited layer will get tiled. | 694 // Sets the width and height above which a composited layer will get tiled. |
706 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 695 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
707 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 696 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
708 | 697 |
709 const char kEnableFixedPositionCreatesStackingContext[] | 698 const char kEnableFixedPositionCreatesStackingContext[] |
710 = "enable-fixed-position-creates-stacking-context"; | 699 = "enable-fixed-position-creates-stacking-context"; |
711 const char kDisableFixedPositionCreatesStackingContext[] | 700 const char kDisableFixedPositionCreatesStackingContext[] |
712 = "disable-fixed-position-creates-stacking-context"; | 701 = "disable-fixed-position-creates-stacking-context"; |
713 | 702 |
714 } // namespace switches | 703 } // namespace switches |
OLD | NEW |