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

Unified Diff: ui/events/gesture_detection/gesture_provider.h

Issue 501553004: Move gesture/touch UMA logs into gesture provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 6 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
Index: ui/events/gesture_detection/gesture_provider.h
diff --git a/ui/events/gesture_detection/gesture_provider.h b/ui/events/gesture_detection/gesture_provider.h
index 63bb90d915dc33fa3eea5eaa19f986ffae7988c3..79b3228c5465bedff3105dcaa86c1d25a045f8a2 100644
--- a/ui/events/gesture_detection/gesture_provider.h
+++ b/ui/events/gesture_detection/gesture_provider.h
@@ -10,6 +10,7 @@
#include "ui/events/gesture_detection/gesture_detection_export.h"
#include "ui/events/gesture_detection/gesture_detector.h"
#include "ui/events/gesture_detection/gesture_event_data.h"
+#include "ui/events/gesture_detection/gesture_touch_uma_histogram.h"
#include "ui/events/gesture_detection/scale_gesture_detector.h"
#include "ui/events/gesture_detection/snap_scroll_controller.h"
#include "ui/gfx/display.h"
@@ -101,6 +102,10 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
scoped_ptr<MotionEvent> current_down_event_;
+ // Create a GestureTouchUMAHistogram object to record some touch and gesture
+ // events
tdresser 2014/08/27 12:35:39 Reword comment (the fact that we're instantiating
lanwei 2014/08/27 23:31:59 Done.
+ GestureTouchUMAHistogram umaHistogram;
tdresser 2014/08/27 12:35:38 "Variable names are all lowercase, with underscore
lanwei 2014/08/27 23:31:59 Done.
+
// Whether double-tap gesture detection is currently supported.
bool double_tap_support_for_page_;
bool double_tap_support_for_platform_;

Powered by Google App Engine
This is Rietveld 408576698