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

Unified Diff: ui/base/touch/touch_device_android.cc

Issue 2673963002: Drop hover:on-demand support & let touch-screens report "none" instead. (Closed)
Patch Set: bokan's comments. Created 3 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: ui/base/touch/touch_device_android.cc
diff --git a/ui/base/touch/touch_device_android.cc b/ui/base/touch/touch_device_android.cc
index b8a458e8300467d6cd711fc4745f9cb7cf19f578..e46de92442e5d68ef33c7498ba84d3c59291c3f2 100644
--- a/ui/base/touch/touch_device_android.cc
+++ b/ui/base/touch/touch_device_android.cc
@@ -45,8 +45,6 @@ PointerType GetPrimaryPointerType(int available_pointer_types) {
}
HoverType GetPrimaryHoverType(int available_hover_types) {
- if (available_hover_types & HOVER_TYPE_ON_DEMAND)
- return HOVER_TYPE_ON_DEMAND;
if (available_hover_types & HOVER_TYPE_HOVER)
return HOVER_TYPE_HOVER;
DCHECK_EQ(available_hover_types, HOVER_TYPE_NONE);

Powered by Google App Engine
This is Rietveld 408576698