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

Unified Diff: ash/accelerators/exit_warning_handler.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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/accelerators/exit_warning_handler.cc
diff --git a/ash/accelerators/exit_warning_handler.cc b/ash/accelerators/exit_warning_handler.cc
index 1f3f7a74c6d06819de7cdea54045cad296bfbc06..84f46b05ba424ad3e50505cff90d858c3fc7ccf9 100644
--- a/ash/accelerators/exit_warning_handler.cc
+++ b/ash/accelerators/exit_warning_handler.cc
@@ -8,8 +8,8 @@
#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "ash/shell_delegate.h"
+#include "ash/shell_port.h"
#include "ash/strings/grit/ash_strings.h"
-#include "ash/wm_shell.h"
#include "ash/wm_window.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
@@ -109,13 +109,13 @@ void ExitWarningHandler::HandleAccelerator() {
state_ = WAIT_FOR_DOUBLE_PRESS;
Show();
StartTimer();
- WmShell::Get()->RecordUserMetricsAction(UMA_ACCEL_EXIT_FIRST_Q);
+ ShellPort::Get()->RecordUserMetricsAction(UMA_ACCEL_EXIT_FIRST_Q);
break;
case WAIT_FOR_DOUBLE_PRESS:
state_ = EXITING;
CancelTimer();
Hide();
- WmShell::Get()->RecordUserMetricsAction(UMA_ACCEL_EXIT_SECOND_Q);
+ ShellPort::Get()->RecordUserMetricsAction(UMA_ACCEL_EXIT_SECOND_Q);
Shell::Get()->shell_delegate()->Exit();
break;
case EXITING:

Powered by Google App Engine
This is Rietveld 408576698