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

Unified Diff: ash/aura/wm_shell_aura.cc

Issue 2223553003: Adds WmShell::RecordGestureAction() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp Created 4 years, 4 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
« no previous file with comments | « ash/aura/wm_shell_aura.h ('k') | ash/common/metrics/gesture_action_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_shell_aura.cc
diff --git a/ash/aura/wm_shell_aura.cc b/ash/aura/wm_shell_aura.cc
index 1881d36b4a3aa3835d67325a8ede5fee068a842a..026f2e07b46215539342c6fe72dc50668e73080f 100644
--- a/ash/aura/wm_shell_aura.cc
+++ b/ash/aura/wm_shell_aura.cc
@@ -19,6 +19,7 @@
#include "ash/display/window_tree_host_manager.h"
#include "ash/metrics/task_switch_metrics_recorder.h"
#include "ash/shell.h"
+#include "ash/touch/touch_uma.h"
#include "ash/wm/drag_window_resizer.h"
#include "ash/wm/maximize_mode/maximize_mode_event_handler_aura.h"
#include "ash/wm/screen_pinning_controller.h"
@@ -133,6 +134,10 @@ void WmShellAura::RecordUserMetricsAction(UserMetricsAction action) {
Shell::GetInstance()->metrics()->RecordUserMetricsAction(action);
}
+void WmShellAura::RecordGestureAction(GestureActionType action) {
+ TouchUMA::GetInstance()->RecordGestureAction(action);
+}
+
void WmShellAura::RecordTaskSwitchMetric(TaskSwitchSource source) {
Shell::GetInstance()->metrics()->task_switch_metrics_recorder().OnTaskSwitch(
source);
« no previous file with comments | « ash/aura/wm_shell_aura.h ('k') | ash/common/metrics/gesture_action_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698