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

Unified Diff: third_party/WebKit/Source/core/layout/HitTestResult.h

Issue 2784313002: Change hittest node to be scrollbar's parent when hittest include a scrollbar (Closed)
Patch Set: mustaq comments addressed Created 3 years, 8 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/layout/HitTestResult.h
diff --git a/third_party/WebKit/Source/core/layout/HitTestResult.h b/third_party/WebKit/Source/core/layout/HitTestResult.h
index fd1cef67a9b1e6e077a25594d55a441235b03145..b17a6e50b346a332269df4fbb678a66c2e687632 100644
--- a/third_party/WebKit/Source/core/layout/HitTestResult.h
+++ b/third_party/WebKit/Source/core/layout/HitTestResult.h
@@ -199,17 +199,18 @@ class CORE_EXPORT HitTestResult {
Member<Node> m_innerNode;
Member<Node> m_innerPossiblyPseudoNode;
// FIXME: Nothing changes this to a value different from m_hitTestLocation!
- LayoutPoint m_pointInInnerNodeFrame; // The hit-tested point in innerNode
- // frame coordinates.
- LayoutPoint m_localPoint; // A point in the local coordinate space of
- // m_innerNode's layoutObject.Allows us to
- // efficiently determine where inside the
- // layoutObject we hit on subsequent operations.
+ // The hit-tested point in innerNode frame coordinates.
+ LayoutPoint m_pointInInnerNodeFrame;
+ // A point in the local coordinate space of m_innerNode's layoutObject.Allows
+ // us to efficiently determine where inside the layoutObject we hit on
+ // subsequent operations.
+ LayoutPoint m_localPoint;
+ // For non-URL, this is the enclosing that triggers navigation.
Member<Element> m_innerURLElement;
Member<Scrollbar> m_scrollbar;
- bool m_isOverFrameViewBase; // Returns true if we are over a FrameViewBase
- // (and not in the border/padding area of a
- // LayoutPart for example).
+ // Returns true if we are over a FrameViewBase (and not in the border/padding
+ // area of a LayoutPart for example).
+ bool m_isOverFrameViewBase;
mutable Member<NodeSet> m_listBasedTestResult;
String m_canvasRegionId;
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/layout/HitTestResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698