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

Unified Diff: third_party/WebKit/Source/core/testing/InternalSettings.cpp

Issue 2673963002: Drop hover:on-demand support & let touch-screens report "none" instead. (Closed)
Patch Set: Fixed a "yikes!" Created 3 years, 9 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: third_party/WebKit/Source/core/testing/InternalSettings.cpp
diff --git a/third_party/WebKit/Source/core/testing/InternalSettings.cpp b/third_party/WebKit/Source/core/testing/InternalSettings.cpp
index dc12dca40f28d2886bc75283822df5333c7fd8cb..76f832be7490c543469f0045f87a5e50f121ec36 100644
--- a/third_party/WebKit/Source/core/testing/InternalSettings.cpp
+++ b/third_party/WebKit/Source/core/testing/InternalSettings.cpp
@@ -457,8 +457,6 @@ void InternalSettings::setAvailableHoverTypes(const String& types,
if (token == "none")
hoverTypes |= HoverTypeNone;
- else if (token == "on-demand")
- hoverTypes |= HoverTypeOnDemand;
else if (token == "hover")
hoverTypes |= HoverTypeHover;
else
@@ -477,8 +475,6 @@ void InternalSettings::setPrimaryHoverType(const String& type,
HoverType hoverType = HoverTypeNone;
if (token == "none")
hoverType = HoverTypeNone;
- else if (token == "on-demand")
- hoverType = HoverTypeOnDemand;
else if (token == "hover")
hoverType = HoverTypeHover;
else
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaQueryExp.cpp ('k') | third_party/WebKit/Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698