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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 10829026: Fix display switching for extended displays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | chromeos/display/output_configurator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index b6e46657d1205eee375e16ae473358c0f75322ba..50fe6cc0edf0188b4d9cb4c30c733d5ebe916af1 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -424,7 +424,8 @@ bool AcceleratorController::PerformAction(int action,
case TOGGLE_SPOKEN_FEEDBACK:
return HandleToggleSpokenFeedback();
case CYCLE_DISPLAY_MODE:
- ash::Shell::GetInstance()->output_configurator()->CycleDisplayMode();
+ ash::Shell::GetInstance()->output_configurator()->CycleDisplayMode(
+ internal::DisplayController::IsExtendedDesktopEnabled());
return true;
#endif
case OPEN_FEEDBACK_PAGE:
« no previous file with comments | « no previous file | chromeos/display/output_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698