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

Unified Diff: ash/metrics/pointer_metrics_recorder.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/metrics/pointer_metrics_recorder.cc
diff --git a/ash/metrics/pointer_metrics_recorder.cc b/ash/metrics/pointer_metrics_recorder.cc
index 0544bc29328a2f96a134ee87318129dd1b0ee9c5..65d6f5457e907b1d31355dce9f004bba5bcdc847 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(
- this, views::PointerWatcherEventTypes::BASIC);
+ ShellPort::Get()->AddPointerWatcher(this,
+ views::PointerWatcherEventTypes::BASIC);
}
PointerMetricsRecorder::~PointerMetricsRecorder() {
- ash::WmShell::Get()->RemovePointerWatcher(this);
+ ShellPort::Get()->RemovePointerWatcher(this);
}
void PointerMetricsRecorder::OnPointerEventObserved(

Powered by Google App Engine
This is Rietveld 408576698