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

Unified Diff: ash/metrics/pointer_metrics_recorder.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: cleanup 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/metrics/pointer_metrics_recorder.cc
diff --git a/ash/metrics/pointer_metrics_recorder.cc b/ash/metrics/pointer_metrics_recorder.cc
index 0544bc29328a2f96a134ee87318129dd1b0ee9c5..65f8903a61957c31fbeb957fbf9ab077705fadaa 100644
--- a/ash/metrics/pointer_metrics_recorder.cc
+++ b/ash/metrics/pointer_metrics_recorder.cc
@@ -6,8 +6,8 @@
#include "ash/shared/app_types.h"
#include "ash/shell.h"
+#include "ash/shell_port.h"
#include "ash/wm/maximize_mode/maximize_mode_controller.h"
-#include "ash/wm_shell.h"
#include "ash/wm_window.h"
#include "base/metrics/histogram_macros.h"
#include "ui/events/event_constants.h"
@@ -88,12 +88,12 @@ void RecordUMA(ui::EventPointerType type, views::Widget* target) {
} // namespace
PointerMetricsRecorder::PointerMetricsRecorder() {
- ash::WmShell::Get()->AddPointerWatcher(
+ ash::ShellPort::Get()->AddPointerWatcher(
James Cook 2017/04/10 22:00:41 nit: ash not needed
sky 2017/04/10 22:16:25 Done.
this, views::PointerWatcherEventTypes::BASIC);
}
PointerMetricsRecorder::~PointerMetricsRecorder() {
- ash::WmShell::Get()->RemovePointerWatcher(this);
+ ash::ShellPort::Get()->RemovePointerWatcher(this);
}
void PointerMetricsRecorder::OnPointerEventObserved(

Powered by Google App Engine
This is Rietveld 408576698