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

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

Issue 797463003: spatnav: Allow focus move to a close-by not-fully-aligned node over a distant but fully-aligned nod… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use weight in orthogonal distance calculation. Created 6 years 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 c4a5cfb46bce776ced83383ade66fd175b5e0d86..9290805947710c2e6e7eba267b86f45176713d7d 100644
--- a/Source/core/page/SpatialNavigation.h
+++ b/Source/core/page/SpatialNavigation.h
@@ -102,7 +102,6 @@ public:
, focusableNode(nullptr)
, enclosingScrollableBox(nullptr)
, distance(maxDistance())
- , alignment(None)
, isOffscreen(true)
, isOffscreenAfterScrolling(true)
{
@@ -122,7 +121,6 @@ public:
RawPtrWillBeMember<Node> focusableNode;
RawPtrWillBeMember<Node> enclosingScrollableBox;
double distance;
- RectsAlignment alignment;
LayoutRect rect;
bool isOffscreen;
bool isOffscreenAfterScrolling;

Powered by Google App Engine
This is Rietveld 408576698