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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 10675011: Rename the remaining usage of Monitor to Display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 6 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 287bcec0add0806bd562193885cafec679377e42..29380da85cd76a3d3f6f5f681d10eba3e353891c 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -16,8 +16,8 @@
#include "ash/launcher/launcher_delegate.h"
#include "ash/launcher/launcher_model.h"
#include "ash/magnifier/magnification_controller.h"
-#include "ash/monitor/monitor_controller.h"
-#include "ash/monitor/multi_monitor_manager.h"
+#include "ash/display/display_controller.h"
+#include "ash/display/multi_display_manager.h"
#include "ash/root_window_controller.h"
#include "ash/screenshot_delegate.h"
#include "ash/shell.h"
@@ -44,7 +44,7 @@
#include "ui/oak/oak.h"
#if defined(OS_CHROMEOS)
-#include "chromeos/monitor/output_configurator.h"
+#include "chromeos/display/output_configurator.h"
#endif // defined(OS_CHROMEOS)
namespace ash {
@@ -585,17 +585,17 @@ bool AcceleratorController::PerformAction(int action,
return HandleToggleDesktopBackgroundMode();
case TOGGLE_ROOT_WINDOW_FULL_SCREEN:
return HandleToggleRootWindowFullScreen();
- case MONITOR_ADD_REMOVE:
+ case DISPLAY_ADD_REMOVE:
if (DebugShortcutsEnabled())
- internal::MultiMonitorManager::AddRemoveMonitor();
+ internal::MultiDisplayManager::AddRemoveDisplay();
return true;
- case MONITOR_CYCLE:
+ case DISPLAY_CYCLE:
if (DebugShortcutsEnabled())
- internal::MultiMonitorManager::CycleMonitor();
+ internal::MultiDisplayManager::CycleDisplay();
return true;
- case MONITOR_TOGGLE_SCALE:
+ case DISPLAY_TOGGLE_SCALE:
if (DebugShortcutsEnabled())
- internal::MultiMonitorManager::ToggleMonitorScale();
+ internal::MultiDisplayManager::ToggleDisplayScale();
return true;
case MAGNIFY_SCREEN_ZOOM_IN:
return HandleMagnifyScreen(1);
« 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