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

Unified Diff: ash/accelerators/accelerator_controller_delegate_aura.cc

Issue 2417773002: Fix regression in handling toggle mirror mode (Closed)
Patch Set: Created 4 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller_delegate_aura.cc
diff --git a/ash/accelerators/accelerator_controller_delegate_aura.cc b/ash/accelerators/accelerator_controller_delegate_aura.cc
index b0795d972473cc03c2f5510fee4efe09d66bbf1a..ede62ee3279ff563ca3bb9323b7bb5729101e825 100644
--- a/ash/accelerators/accelerator_controller_delegate_aura.cc
+++ b/ash/accelerators/accelerator_controller_delegate_aura.cc
@@ -357,7 +357,6 @@ bool AcceleratorControllerDelegateAura::CanPerformAction(
#if defined(OS_CHROMEOS)
case DEV_ADD_REMOVE_DISPLAY:
case DEV_TOGGLE_UNIFIED_DESKTOP:
- case TOGGLE_MIRROR_MODE:
return debug::DeveloperAcceleratorsEnabled();
case SWAP_PRIMARY_DISPLAY:
@@ -371,6 +370,7 @@ bool AcceleratorControllerDelegateAura::CanPerformAction(
case LOCK_RELEASED:
case POWER_PRESSED:
case POWER_RELEASED:
+ case TOGGLE_MIRROR_MODE:
case TOUCH_HUD_PROJECTION_TOGGLE:
return true;
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698