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

Unified Diff: ash/accelerators/accelerator_controller_delegate_aura.cc

Issue 2423673002: [Merge to M55] 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 aa2bb2b270edd97e47f586c61cd2d818c4bd4668..ac9dda9a57782f4bfa62b12559f30ed8a81dfb28 100644
--- a/ash/accelerators/accelerator_controller_delegate_aura.cc
+++ b/ash/accelerators/accelerator_controller_delegate_aura.cc
@@ -359,7 +359,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:
@@ -374,6 +373,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