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

Unified Diff: ui/base/touch/touch_device.h

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.h
diff --git a/ui/base/touch/touch_device.h b/ui/base/touch/touch_device.h
index 0552fab1bcc27bb5bcac7a92660427a4e987ae2e..ca4193f3d9032d41cc16ba9ad73ac5c89582a569 100644
--- a/ui/base/touch/touch_device.h
+++ b/ui/base/touch/touch_device.h
@@ -37,8 +37,8 @@ UI_BASE_EXPORT TouchScreensAvailability GetTouchScreensAvailability();
UI_BASE_EXPORT int MaxTouchPoints();
// Bit field values indicating available pointer types. Identical to
-// blink::WebSettings::PointerType enums, enforced by compile-time assertions
-// in content/public/common/web_preferences.cc .
+// blink::PointerType enums, enforced by compile-time assertions in
+// content/public/common/web_preferences.cc .
// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.base
// GENERATED_JAVA_PREFIX_TO_STRIP: POINTER_TYPE_
enum PointerType {
@@ -50,14 +50,14 @@ enum PointerType {
};
// Bit field values indicating available hover types. Identical to
-// blink::WebSettings::HoverType enums, enforced by compile-time assertions
-// in content/public/common/web_preferences.cc .
+// blink::HoverType enums, enforced by compile-time assertions in
+// content/public/common/web_preferences.cc .
// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.base
// GENERATED_JAVA_PREFIX_TO_STRIP: HOVER_TYPE_
enum HoverType {
HOVER_TYPE_NONE = 1 << 0,
HOVER_TYPE_FIRST = HOVER_TYPE_NONE,
- HOVER_TYPE_ON_DEMAND = 1 << 1,
+ // TODO(mustaq): Make the following bit 1 << 1 when nuking blink::HoverType
HOVER_TYPE_HOVER = 1 << 2,
HOVER_TYPE_LAST = HOVER_TYPE_HOVER
};

Powered by Google App Engine
This is Rietveld 408576698