Index: Source/core/page/SpatialNavigation.cpp |
diff --git a/Source/core/page/SpatialNavigation.cpp b/Source/core/page/SpatialNavigation.cpp |
index 31a70ec6557fade88ced2e765db5eb9675eff3a6..435be154cb7f0834a4baedfc1b2ff38537dffaf9 100644 |
--- a/Source/core/page/SpatialNavigation.cpp |
+++ b/Source/core/page/SpatialNavigation.cpp |
@@ -86,6 +86,11 @@ bool isSpatialNavigationEnabled(const LocalFrame* frame) |
return (frame && frame->settings() && frame->settings()->spatialNavigationEnabled()); |
} |
+bool spatialNavigationIgnoresEventHandlers(const LocalFrame* frame) |
+{ |
+ return (frame && frame->settings() && frame->settings()->deviceSupportsTouch()); |
+} |
+ |
static bool rectsIntersectOnOrthogonalAxis(WebFocusType type, const LayoutRect& a, const LayoutRect& b) |
{ |
switch (type) { |