summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ash/ash_switches.cc3
-rw-r--r--ash/ash_switches.h1
-rw-r--r--ash/display/display_change_observer_chromeos.cc5
3 files changed, 0 insertions, 9 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index c03d830..e3ca863 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -132,9 +132,6 @@ const char kAshEnableSystemSounds[] = "ash-enable-system-sounds";
// Enables showing the tray bubble by dragging on the shelf.
const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging";
-// Forces chrome to use mirror mode when an external display is connected.
-const char kAshForceMirrorMode[] = "ash-force-mirror-mode";
-
// Wallpaper to use in guest mode (as paths to trusted, non-user-writable JPEG
// files).
const char kAshGuestWallpaperLarge[] = "ash-guest-wallpaper-large";
diff --git a/ash/ash_switches.h b/ash/ash_switches.h
index 93e86aa..ef13f79 100644
--- a/ash/ash_switches.h
+++ b/ash/ash_switches.h
@@ -54,7 +54,6 @@ ASH_EXPORT extern const char kAshEnableSoftwareMirroring[];
ASH_EXPORT extern const char kAshEnableSystemSounds[];
ASH_EXPORT extern const char kAshEnableTouchViewTesting[];
ASH_EXPORT extern const char kAshEnableTrayDragging[];
-ASH_EXPORT extern const char kAshForceMirrorMode[];
ASH_EXPORT extern const char kAshGuestWallpaperLarge[];
ASH_EXPORT extern const char kAshGuestWallpaperSmall[];
ASH_EXPORT extern const char kAshHideNotificationsForFactory[];
diff --git a/ash/display/display_change_observer_chromeos.cc b/ash/display/display_change_observer_chromeos.cc
index 29a39ab..111394d 100644
--- a/ash/display/display_change_observer_chromeos.cc
+++ b/ash/display/display_change_observer_chromeos.cc
@@ -95,11 +95,6 @@ DisplayChangeObserver::~DisplayChangeObserver() {
ui::OutputState DisplayChangeObserver::GetStateForDisplayIds(
const std::vector<int64>& display_ids) const {
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAshForceMirrorMode)) {
- return ui::OUTPUT_STATE_DUAL_MIRROR;
- }
-
CHECK_EQ(2U, display_ids.size());
DisplayIdPair pair = std::make_pair(display_ids[0], display_ids[1]);
DisplayLayout layout = Shell::GetInstance()->display_manager()->