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

Unified Diff: ash/touch/touch_uma.cc

Issue 143023003: Fully support the autohide shelf option for touch UI on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove OS_WIN ifdefs. Created 6 years, 10 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 9d7aeed990d1c02a587a11393f81214d78fbf194..38ee45cad2982740428b5e9b34f25b421854a1cd 100644
--- a/ash/touch/touch_uma.cc
+++ b/ash/touch/touch_uma.cc
@@ -58,8 +58,10 @@ enum UMAEventType {
UMA_ET_GESTURE_LONG_TAP,
UMA_ET_GESTURE_SHOW_PRESS,
UMA_ET_GESTURE_TAP_CANCEL,
+ UMA_ET_GESTURE_WIN8_EDGE_SWIPE,
// NOTE: Add new event types only immediately above this line. Make sure to
- // update the enum list in tools/metrics/histogram/histograms.xml accordingly.
+ // update the UIEventType enum in tools/metrics/histograms/histograms.xml
+ // accordingly.
UMA_ET_COUNT
};
@@ -168,6 +170,8 @@ UMAEventType UMAEventTypeFromEvent(const ui::Event& event) {
return UMA_ET_GESTURE_MULTIFINGER_SWIPE_3;
return UMA_ET_GESTURE_MULTIFINGER_SWIPE;
}
+ case ui::ET_GESTURE_WIN8_EDGE_SWIPE:
+ return UMA_ET_GESTURE_WIN8_EDGE_SWIPE;
case ui::ET_GESTURE_TAP_CANCEL:
return UMA_ET_GESTURE_TAP_CANCEL;
case ui::ET_GESTURE_SHOW_PRESS:

Powered by Google App Engine
This is Rietveld 408576698