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

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: add comment to m_innerURLElement 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..222de18fe11ab13f33e87e1199d5120ae8a62a58 100644
--- a/third_party/WebKit/Source/core/layout/HitTestResult.h
+++ b/third_party/WebKit/Source/core/layout/HitTestResult.h
@@ -205,7 +205,9 @@ class CORE_EXPORT HitTestResult {
// m_innerNode's layoutObject.Allows us to
// efficiently determine where inside the
// layoutObject we hit on subsequent operations.
- Member<Element> m_innerURLElement;
+ Member<Element> m_innerURLElement; // m_innerURLElement saves the enclosing
mustaq 2017/04/04 18:56:57 Nit: "For non-URL, this is the enclosing that trig
+ // elem that triggers navigation for
+ // non-URL.
Member<Scrollbar> m_scrollbar;
bool m_isOverFrameViewBase; // Returns true if we are over a FrameViewBase
// (and not in the border/padding area of a
« 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