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

Unified Diff: ash/accelerators/debug_commands.cc

Issue 2171493002: Moves ToastManager from Shell to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove include Created 4 years, 5 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/common/wm_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/debug_commands.cc
diff --git a/ash/accelerators/debug_commands.cc b/ash/accelerators/debug_commands.cc
index 63898f9202dbc5a27f14ab08388f661529af6bd5..905f18adfeb964c1dad7e6fb50169415d0753792 100644
--- a/ash/accelerators/debug_commands.cc
+++ b/ash/accelerators/debug_commands.cc
@@ -177,7 +177,7 @@ void PerformDebugActionIfEnabled(AcceleratorAction action) {
Shell::GetInstance()->display_manager()->AddRemoveDisplay();
break;
case DEBUG_SHOW_TOAST:
- Shell::GetInstance()->toast_manager()->Show(
+ WmShell::Get()->toast_manager()->Show(
ToastData("id", "Toast", 5000 /* duration_ms */, "Dismiss"));
break;
case DEBUG_TOGGLE_TOUCH_PAD:
« no previous file with comments | « no previous file | ash/common/wm_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698