| 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 7fcbc34126c8d1b62c10deac650392dc2b3812f9..d452b69064f40a0730fa9904c286b5b639b0ca93 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
|
| @@ -181,10 +181,8 @@ void DisplayOptionsHandler::SendDisplayInfo(
|
| }
|
|
|
| void DisplayOptionsHandler::OnFadeOutForMirroringFinished(bool is_mirroring) {
|
| - // We use 'PRIMARY_ONLY' for non-mirroring state for now.
|
| - // 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.
|
|
|