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

Side by Side Diff: ui/events/gesture_detection/gesture_touch_uma_histogram.h

Issue 2224653002: mash: Remove ash::ShelfGestureHandler and ui::ET_GESTURE_WIN8_EDGE_SWIPE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « ui/events/event_constants.h ('k') | ui/events/gesture_detection/gesture_touch_uma_histogram.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_TOUCH_UMA_HISTOGRAM_H_ 5 #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_TOUCH_UMA_HISTOGRAM_H_
6 #define UI_EVENTS_GESTURE_DETECTION_GESTURE_TOUCH_UMA_HISTOGRAM_H_ 6 #define UI_EVENTS_GESTURE_DETECTION_GESTURE_TOUCH_UMA_HISTOGRAM_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "ui/events/gesture_detection/gesture_detection_export.h" 9 #include "ui/events/gesture_detection/gesture_detection_export.h"
10 #include "ui/events/gesture_detection/gesture_event_data.h" 10 #include "ui/events/gesture_detection/gesture_event_data.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 UMA_ET_GESTURE_SWIPE_3 = 24, // Swipe with 3 fingers 42 UMA_ET_GESTURE_SWIPE_3 = 24, // Swipe with 3 fingers
43 UMA_ET_GESTURE_SWIPE_4P = 25, // Swipe with 4+ fingers 43 UMA_ET_GESTURE_SWIPE_4P = 25, // Swipe with 4+ fingers
44 UMA_ET_GESTURE_SCROLL_UPDATE_2 = 26, 44 UMA_ET_GESTURE_SCROLL_UPDATE_2 = 26,
45 UMA_ET_GESTURE_SCROLL_UPDATE_3 = 27, 45 UMA_ET_GESTURE_SCROLL_UPDATE_3 = 27,
46 UMA_ET_GESTURE_SCROLL_UPDATE_4P = 28, 46 UMA_ET_GESTURE_SCROLL_UPDATE_4P = 28,
47 UMA_ET_GESTURE_PINCH_UPDATE_3 = 29, 47 UMA_ET_GESTURE_PINCH_UPDATE_3 = 29,
48 UMA_ET_GESTURE_PINCH_UPDATE_4P = 30, 48 UMA_ET_GESTURE_PINCH_UPDATE_4P = 30,
49 UMA_ET_GESTURE_LONG_TAP = 31, 49 UMA_ET_GESTURE_LONG_TAP = 31,
50 UMA_ET_GESTURE_SHOW_PRESS = 32, 50 UMA_ET_GESTURE_SHOW_PRESS = 32,
51 UMA_ET_GESTURE_TAP_CANCEL = 33, 51 UMA_ET_GESTURE_TAP_CANCEL = 33,
52 UMA_ET_GESTURE_WIN8_EDGE_SWIPE = 34, 52 UMA_ET_GESTURE_WIN8_EDGE_SWIPE = 34, // Deprecated. Do not remove.
53 UMA_ET_GESTURE_SWIPE_1 = 35, // Swipe with 1 finger 53 UMA_ET_GESTURE_SWIPE_1 = 35, // Swipe with 1 finger
54 UMA_ET_GESTURE_TAP_UNCONFIRMED = 36, 54 UMA_ET_GESTURE_TAP_UNCONFIRMED = 36,
55 // NOTE: Add new event types only immediately above this line. Make sure to 55 // NOTE: Add new event types only immediately above this line. Make sure to
56 // update the UIEventType enum in tools/metrics/histograms/histograms.xml 56 // update the UIEventType enum in tools/metrics/histograms/histograms.xml
57 // accordingly. 57 // accordingly.
58 UMA_ET_COUNT 58 UMA_ET_COUNT
59 }; 59 };
60 60
61 // Records some touch/gesture event specific details (e.g. what gestures are 61 // Records some touch/gesture event specific details (e.g. what gestures are
62 // targetted to which components etc.) 62 // targetted to which components etc.)
(...skipping 14 matching lines...) Expand all
77 gfx::Point start_touch_position_; 77 gfx::Point start_touch_position_;
78 // The maximum distance the first touch point travelled from its starting 78 // The maximum distance the first touch point travelled from its starting
79 // location in pixels. 79 // location in pixels.
80 float max_distance_from_start_squared_; 80 float max_distance_from_start_squared_;
81 bool is_single_finger_; 81 bool is_single_finger_;
82 }; 82 };
83 83
84 } // namespace ui 84 } // namespace ui
85 85
86 #endif // UI_EVENTS_GESTURE_DETECTION_GESTURE_TOUCH_UMA_HISTOGRAM_H_ 86 #endif // UI_EVENTS_GESTURE_DETECTION_GESTURE_TOUCH_UMA_HISTOGRAM_H_
OLDNEW
« no previous file with comments | « ui/events/event_constants.h ('k') | ui/events/gesture_detection/gesture_touch_uma_histogram.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698