Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Unified Diff: ui/display/display_switches.cc

Issue 2314853003: Move ash::DisplayManager switches to ui::display (Closed)
Patch Set: rebased again Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/display/display_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/display_switches.cc
diff --git a/ui/display/display_switches.cc b/ui/display/display_switches.cc
index 53e7aaf4f156709fbc2bdb95263cdb860ffbf9cb..445b0c635900e693e5e5741da2349dd6f9be160e 100644
--- a/ui/display/display_switches.cc
+++ b/ui/display/display_switches.cc
@@ -7,6 +7,9 @@
namespace switches {
+// TODO(rjkroege): Some of these have an "ash" prefix. When ChromeOS startup
+// scripts have been updated, the leading "ash" prefix should be removed.
+
// Overrides the device scale factor for the browser UI and the contents.
const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
@@ -16,9 +19,27 @@ const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
// is positioned on the right with -100 offset. (above than primary)
const char kSecondaryDisplayLayout[] = "secondary-display-layout";
+// Enables software based mirroring.
+const char kEnableSoftwareMirroring[] = "ash-enable-software-mirroring";
+
+// Uses the 1st display in --ash-host-window-bounds as internal display.
+// This is for debugging on linux desktop.
+const char kUseFirstDisplayAsInternal[] = "ash-use-first-display-as-internal";
+
+// Sets a window size, optional position, and optional scale factor.
+// "1024x768" creates a window of size 1024x768.
+// "100+200-1024x768" positions the window at 100,200.
+// "1024x768*2" sets the scale factor to 2 for a high DPI display.
+// "800,0+800-800x800" for two displays at 800x800 resolution.
+// "800,0+800-800x800,0+1600-800x800" for three displays at 800x800 resolution.
+const char kHostWindowBounds[] = "ash-host-window-bounds";
+
#if defined(OS_CHROMEOS)
const char kDisableDisplayColorCalibration[] =
"disable-display-color-calibration";
+
+// Enables unified desktop mode.
+const char kEnableUnifiedDesktop[] = "ash-enable-unified-desktop";
#endif
} // namespace switches
« no previous file with comments | « ui/display/display_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698