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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 10221028: Move DIP translation from ui/aura to ui/compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable tests that doesn't run on bots Created 8 years, 7 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 | ash/accelerators/accelerator_table.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 f8782ea178f98fcddb01f759836e450eef0cafdf..b6ce065455847fdcfcee09937f7393dc3d1ede5f 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -513,12 +513,15 @@ bool AcceleratorController::AcceleratorPressed(
return HandlePrintLayerHierarchy();
case PRINT_WINDOW_HIERARCHY:
return HandlePrintWindowHierarchy();
- case ADD_REMOVE_MONITOR:
+ case MONITOR_ADD_REMOVE:
internal::MultiMonitorManager::AddRemoveMonitor();
return true;
- case CYCLE_MONITOR:
+ case MONITOR_CYCLE:
internal::MultiMonitorManager::CycleMonitor();
return true;
+ case MONITOR_TOGGLE_SCALE:
+ internal::MultiMonitorManager::ToggleMonitorScale();
+ return true;
#endif
default:
NOTREACHED() << "Unhandled action " << it->second;
« no previous file with comments | « no previous file | ash/accelerators/accelerator_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698