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

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: revert change i made by accident 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') | ash/monitor/multi_monitor_manager.h » ('J')
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 2deeb9738543b4a5ca90d216a9b2e77439eef9fa..f7ac61ed90514b7bb3ee32ed35149eb68f3e5ece 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -512,12 +512,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_SCALE:
+ internal::MultiMonitorManager::ScaleMonitor();
+ return true;
#endif
default:
NOTREACHED() << "Unhandled action " << it->second;
« no previous file with comments | « no previous file | ash/accelerators/accelerator_table.h » ('j') | ash/monitor/multi_monitor_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698