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

Unified Diff: ash/system/overview/overview_button_tray.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/system/overview/overview_button_tray.cc
diff --git a/ash/system/overview/overview_button_tray.cc b/ash/system/overview/overview_button_tray.cc
index 2eb54f7983ed25362c1bf581200ae986fd8efcc7..0000a42ca0fcfa78ea49f321c18da35b45664a03 100644
--- a/ash/system/overview/overview_button_tray.cc
+++ b/ash/system/overview/overview_button_tray.cc
@@ -8,12 +8,12 @@
#include "ash/session/session_controller.h"
#include "ash/shelf/shelf_constants.h"
#include "ash/shell.h"
+#include "ash/shell_port.h"
#include "ash/strings/grit/ash_strings.h"
#include "ash/system/tray/system_tray_delegate.h"
#include "ash/system/tray/tray_constants.h"
#include "ash/wm/maximize_mode/maximize_mode_controller.h"
#include "ash/wm/overview/window_selector_controller.h"
-#include "ash/wm_shell.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/views/border.h"
@@ -51,7 +51,7 @@ bool OverviewButtonTray::PerformAction(const ui::Event& event) {
Shell::Get()->window_selector_controller();
// Toggling overview mode will fail if there is no window to show.
bool performed = controller->ToggleOverview();
- WmShell::Get()->RecordUserMetricsAction(UMA_TRAY_OVERVIEW);
+ ShellPort::Get()->RecordUserMetricsAction(UMA_TRAY_OVERVIEW);
return performed;
}

Powered by Google App Engine
This is Rietveld 408576698