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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 | 471 |
472 // Enables the use of the @viewport CSS rule, which allows | 472 // Enables the use of the @viewport CSS rule, which allows |
473 // pages to control aspects of their own layout. This also turns on touch-screen | 473 // pages to control aspects of their own layout. This also turns on touch-screen |
474 // pinch gestures. | 474 // pinch gestures. |
475 const char kEnableViewport[] = "enable-viewport"; | 475 const char kEnableViewport[] = "enable-viewport"; |
476 | 476 |
477 // Enables the viewport meta tag, the de facto way to control layout which works | 477 // Enables the viewport meta tag, the de facto way to control layout which works |
478 // only on mobile browsers. | 478 // only on mobile browsers. |
479 const char kEnableViewportMeta[] = "enable-viewport-meta"; | 479 const char kEnableViewportMeta[] = "enable-viewport-meta"; |
480 | 480 |
| 481 // Enables interaction with virtual reality devices. |
| 482 const char kEnableVR[] = "enable-vr"; |
| 483 |
481 // Resizes of the main frame are the caused by changing between landscape | 484 // Resizes of the main frame are the caused by changing between landscape |
482 // and portrait mode (i.e. Android) so the page should be rescaled to fit | 485 // and portrait mode (i.e. Android) so the page should be rescaled to fit |
483 const char kMainFrameResizesAreOrientationChanges[] = | 486 const char kMainFrameResizesAreOrientationChanges[] = |
484 "main-frame-resizes-are-orientation-changes"; | 487 "main-frame-resizes-are-orientation-changes"; |
485 | 488 |
486 // Enable the Vtune profiler support. | 489 // Enable the Vtune profiler support. |
487 const char kEnableVtune[] = "enable-vtune-support"; | 490 const char kEnableVtune[] = "enable-vtune-support"; |
488 | 491 |
489 // Enables WebGL extensions not yet approved by the community. | 492 // Enables WebGL extensions not yet approved by the community. |
490 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 493 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 const char kEnableNpapi[] = "enable-npapi"; | 991 const char kEnableNpapi[] = "enable-npapi"; |
989 | 992 |
990 #if defined(ENABLE_PLUGINS) | 993 #if defined(ENABLE_PLUGINS) |
991 // Enables the plugin power saver feature. | 994 // Enables the plugin power saver feature. |
992 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 995 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
993 #endif | 996 #endif |
994 | 997 |
995 // Don't dump stuff here, follow the same order as the header. | 998 // Don't dump stuff here, follow the same order as the header. |
996 | 999 |
997 } // namespace switches | 1000 } // namespace switches |
OLD | NEW |