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 18 matching lines...) Expand all Loading... |
29 // Causes the browser process to crash on startup. | 29 // Causes the browser process to crash on startup. |
30 const char kBrowserCrashTest[] = "crash-test"; | 30 const char kBrowserCrashTest[] = "crash-test"; |
31 | 31 |
32 // Path to the exe to run for the renderer and plugin subprocesses. | 32 // Path to the exe to run for the renderer and plugin subprocesses. |
33 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; | 33 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; |
34 | 34 |
35 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run | 35 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run |
36 // as a dependent process of the Chrome Frame plugin. | 36 // as a dependent process of the Chrome Frame plugin. |
37 const char kChromeFrame[] = "chrome-frame"; | 37 const char kChromeFrame[] = "chrome-frame"; |
38 | 38 |
39 // The default device scale factor to apply to contents in the absence of | |
40 // a viewport meta tag. | |
41 const char kDefaultDeviceScaleFactor[] = "default-device-scale-factor"; | |
42 | |
43 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. | 39 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
44 // This is controlled by policy and is kept separate from the other | 40 // This is controlled by policy and is kept separate from the other |
45 // enable/disable switches to avoid accidentally regressing the policy | 41 // enable/disable switches to avoid accidentally regressing the policy |
46 // support for controlling access to these APIs. | 42 // support for controlling access to these APIs. |
47 const char kDisable3DAPIs[] = "disable-3d-apis"; | 43 const char kDisable3DAPIs[] = "disable-3d-apis"; |
48 | 44 |
49 // Disable gpu-accelerated 2d canvas. | 45 // Disable gpu-accelerated 2d canvas. |
50 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; | 46 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; |
51 | 47 |
52 // Disables accelerated compositing. | 48 // Disables accelerated compositing. |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 627 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
632 | 628 |
633 // Maximum time between mousedown and mouseup to be considered a tap. | 629 // Maximum time between mousedown and mouseup to be considered a tap. |
634 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 630 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
635 | 631 |
636 // Forces usage of the test compositor. Needed to run ui tests on bots. | 632 // Forces usage of the test compositor. Needed to run ui tests on bots. |
637 extern const char kTestCompositor[] = "test-compositor"; | 633 extern const char kTestCompositor[] = "test-compositor"; |
638 #endif | 634 #endif |
639 | 635 |
640 } // namespace switches | 636 } // namespace switches |
OLD | NEW |