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

Unified Diff: ash/common/accelerators/accelerator_controller.cc

Issue 2318223003: mash: Migrate wallpaper controllers to ash/common. (Closed)
Patch Set: Fix nit. 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
« no previous file with comments | « ash/aura/wm_root_window_controller_aura.cc ('k') | ash/common/accelerators/debug_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/accelerators/accelerator_controller.cc
diff --git a/ash/common/accelerators/accelerator_controller.cc b/ash/common/accelerators/accelerator_controller.cc
index 339f230e8ff8e04918a09c55c55f27ca8877195b..c7c4e6e2fa99a199b51877aafa73a41dd9e4c092 100644
--- a/ash/common/accelerators/accelerator_controller.cc
+++ b/ash/common/accelerators/accelerator_controller.cc
@@ -744,6 +744,7 @@ bool AcceleratorController::CanPerformAction(
case DEBUG_PRINT_LAYER_HIERARCHY:
case DEBUG_PRINT_VIEW_HIERARCHY:
case DEBUG_PRINT_WINDOW_HIERARCHY:
+ case DEBUG_TOGGLE_WALLPAPER_MODE:
return debug::DebugAcceleratorsEnabled();
case NEW_INCOGNITO_WINDOW:
return CanHandleNewIncognitoWindow();
@@ -856,6 +857,7 @@ void AcceleratorController::PerformAction(AcceleratorAction action,
case DEBUG_PRINT_LAYER_HIERARCHY:
case DEBUG_PRINT_VIEW_HIERARCHY:
case DEBUG_PRINT_WINDOW_HIERARCHY:
+ case DEBUG_TOGGLE_WALLPAPER_MODE:
debug::PerformDebugActionIfEnabled(action);
break;
case EXIT:
« no previous file with comments | « ash/aura/wm_root_window_controller_aura.cc ('k') | ash/common/accelerators/debug_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698