OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "ui/display/display_switches.h" | 6 #include "ui/display/display_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // TODO(rjkroege): Some of these have an "ash" prefix. When ChromeOS startup | 10 // TODO(rjkroege): Some of these have an "ash" prefix. When ChromeOS startup |
11 // scripts have been updated, the leading "ash" prefix should be removed. | 11 // scripts have been updated, the leading "ash" prefix should be removed. |
12 | 12 |
13 // Specifies the initial display bounds for VirtualDisplayDelegate, see class | |
14 // for format details. | |
15 const char kDisplayBounds[] = "display-bounds"; | |
rjkroege
2016/09/12 20:31:05
this is redundant with HostDisplayBounds? Refactor
kylechar
2016/09/13 14:15:01
They're similar but incompatible, so I think a dif
| |
16 | |
13 // Overrides the device scale factor for the browser UI and the contents. | 17 // Overrides the device scale factor for the browser UI and the contents. |
14 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; | 18 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; |
15 | 19 |
16 // Specifies the layout mode and offsets for the secondary display for | 20 // Specifies the layout mode and offsets for the secondary display for |
17 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, | 21 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, |
18 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display | 22 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display |
19 // is positioned on the right with -100 offset. (above than primary) | 23 // is positioned on the right with -100 offset. (above than primary) |
20 const char kSecondaryDisplayLayout[] = "secondary-display-layout"; | 24 const char kSecondaryDisplayLayout[] = "secondary-display-layout"; |
21 | 25 |
22 // Enables software based mirroring. | 26 // Enables software based mirroring. |
(...skipping 13 matching lines...) Expand all Loading... | |
36 | 40 |
37 #if defined(OS_CHROMEOS) | 41 #if defined(OS_CHROMEOS) |
38 const char kDisableDisplayColorCalibration[] = | 42 const char kDisableDisplayColorCalibration[] = |
39 "disable-display-color-calibration"; | 43 "disable-display-color-calibration"; |
40 | 44 |
41 // Enables unified desktop mode. | 45 // Enables unified desktop mode. |
42 const char kEnableUnifiedDesktop[] = "ash-enable-unified-desktop"; | 46 const char kEnableUnifiedDesktop[] = "ash-enable-unified-desktop"; |
43 #endif | 47 #endif |
44 | 48 |
45 } // namespace switches | 49 } // namespace switches |
OLD | NEW |