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

Unified Diff: chrome/browser/ui/webui/options/chromeos/display_options_handler.cc

Issue 12254041: Reconfigure displays even if the output count didn't change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
Index: chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
index 1ec056dcf7eb972679c167d1bd46b92e07d67924..af760aa0b559c62131c6633fdab38bcaa694ee99 100644
--- a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
@@ -183,7 +183,7 @@ void DisplayOptionsHandler::OnFadeOutForMirroringFinished(bool is_mirroring) {
// We use 'PRIMARY_ONLY' for non-mirroring state for now.
sabercrombie 2013/02/16 00:01:08 Looks like this comment should be removed.
oshima 2013/02/16 01:32:52 Done.
// TODO(mukai): fix this and support multiple display modes.
chromeos::OutputState new_state =
- is_mirroring ? STATE_DUAL_MIRROR : STATE_DUAL_PRIMARY_ONLY;
+ is_mirroring ? STATE_DUAL_MIRROR : STATE_DUAL_EXTENDED;
ash::Shell::GetInstance()->output_configurator()->SetDisplayMode(new_state);
SendAllDisplayInfo();
// Not necessary to start fade-in animation. OutputConfigurator will do that.

Powered by Google App Engine
This is Rietveld 408576698