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

Unified Diff: Source/core/page/SpatialNavigation.h

Issue 1010203002: Avoid computing navigation data for nodes in the wrong navigation direction (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/core/page/SpatialNavigation.h
diff --git a/Source/core/page/SpatialNavigation.h b/Source/core/page/SpatialNavigation.h
index b48a38250eeef18dde47b7dd39712980cb5b5a37..4485b617a9ac33724e4e32183a4dd61ae6bb978a 100644
--- a/Source/core/page/SpatialNavigation.h
+++ b/Source/core/page/SpatialNavigation.h
@@ -127,6 +127,7 @@ public:
bool isOffscreenAfterScrolling;
};
+bool isRectInDirection(WebFocusType, const LayoutRect&, const LayoutRect&);
bool hasOffscreenRect(Node*, WebFocusType = WebFocusTypeNone);
bool scrollInDirection(LocalFrame*, WebFocusType);
bool scrollInDirection(Node* container, WebFocusType);

Powered by Google App Engine
This is Rietveld 408576698