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

Unified Diff: ash/mus/accelerators/accelerator_controller_delegate_mus.cc

Issue 2323863002: Separate debugging and developer accelerators (Closed)
Patch Set: Oshima's comments AND Rebase Created 4 years, 3 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
Index: ash/mus/accelerators/accelerator_controller_delegate_mus.cc
diff --git a/ash/mus/accelerators/accelerator_controller_delegate_mus.cc b/ash/mus/accelerators/accelerator_controller_delegate_mus.cc
index 6cd38390c25d9b959fead4574e1b68447c95d073..e5c90ece3ed2c21b3ac7da74220d2510b89ecccd 100644
--- a/ash/mus/accelerators/accelerator_controller_delegate_mus.cc
+++ b/ash/mus/accelerators/accelerator_controller_delegate_mus.cc
@@ -31,7 +31,7 @@ bool AcceleratorControllerDelegateMus::HandlesAction(AcceleratorAction action) {
// http://crbug.com/612331.
switch (action) {
case DEBUG_TOGGLE_DEVICE_SCALE_FACTOR:
- case DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN:
+ case DEV_TOGGLE_ROOT_WINDOW_FULL_SCREEN:
case DEBUG_TOGGLE_SHOW_DEBUG_BORDERS:
case DEBUG_TOGGLE_SHOW_FPS_COUNTER:
case DEBUG_TOGGLE_SHOW_PAINT_RECTS:
@@ -51,13 +51,13 @@ bool AcceleratorControllerDelegateMus::HandlesAction(AcceleratorAction action) {
return false;
#if defined(OS_CHROMEOS)
- case DEBUG_ADD_REMOVE_DISPLAY: {
+ case DEV_ADD_REMOVE_DISPLAY: {
display::mojom::DisplayControllerPtr display_controller;
connector_->ConnectToInterface("mojo:ui", &display_controller);
display_controller->ToggleVirtualDisplay();
break;
}
- case DEBUG_TOGGLE_UNIFIED_DESKTOP:
+ case DEV_TOGGLE_UNIFIED_DESKTOP:
case DISABLE_GPU_WATCHDOG:
case LOCK_PRESSED:
case LOCK_RELEASED:

Powered by Google App Engine
This is Rietveld 408576698