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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h

Issue 2331093002: UMA stats for stylus usage (Closed)
Patch Set: Created 4 years, 3 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: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
index 61a76aaa4b121608682bea2e502b59921b1f6dfe..4bee7b15185d5b7edd73da2b2c65bb13e2a68c53 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
@@ -21,6 +21,7 @@
#include "chrome/browser/ui/ash/app_sync_ui_state_observer.h"
#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
#include "chrome/browser/ui/ash/launcher/launcher_app_updater.h"
+#include "chrome/browser/ui/ash/metrics/stylus_metrics_recorder.h"
sky 2016/09/13 00:03:25 Only include this if on chromeos (to match your if
xiaoyinh(OOO Sep 11-29) 2016/09/16 18:41:16 Done.
#include "components/prefs/pref_change_registrar.h"
#include "ui/aura/window_observer.h"
@@ -368,6 +369,11 @@ class ChromeLauncherControllerImpl
typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap;
RunningAppListIdMap last_used_running_application_order_;
+#if defined(OS_CHROMEOS)
+ // Record stylus metrics for down event.
+ std::unique_ptr<chromeos::StylusMetricsRecorder> stylus_metrics_recorder_;
+#endif
+
base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl);

Powered by Google App Engine
This is Rietveld 408576698