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

Unified Diff: ash/touch/touch_uma.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/touch/touch_uma.cc
diff --git a/ash/touch/touch_uma.cc b/ash/touch/touch_uma.cc
index fc6a0d2e2bba9e4b73a09d133882344631cb1157..c3187fe64164bf8ee9cdca7d7aa4e4ee84348c7d 100644
--- a/ash/touch/touch_uma.cc
+++ b/ash/touch/touch_uma.cc
@@ -4,7 +4,7 @@
#include "ash/touch/touch_uma.h"
-#include "ash/wm_shell.h"
+#include "ash/shell_port.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/stringprintf.h"
#include "ui/aura/env.h"
@@ -113,7 +113,7 @@ void TouchUMA::RecordTouchEvent(aura::Window* target,
kBucketCountForLocation, kBucketCountForLocation + 1);
if (event.type() == ui::ET_TOUCH_PRESSED) {
- WmShell::Get()->RecordUserMetricsAction(UMA_TOUCHSCREEN_TAP_DOWN);
+ ShellPort::Get()->RecordUserMetricsAction(UMA_TOUCHSCREEN_TAP_DOWN);
if (details->last_release_time_.ToInternalValue()) {
// Measuring the interval between a touch-release and the next

Powered by Google App Engine
This is Rietveld 408576698