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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 Member<Node> m_innerNode; 199 Member<Node> m_innerNode;
200 Member<Node> m_innerPossiblyPseudoNode; 200 Member<Node> m_innerPossiblyPseudoNode;
201 // FIXME: Nothing changes this to a value different from m_hitTestLocation! 201 // FIXME: Nothing changes this to a value different from m_hitTestLocation!
202 LayoutPoint m_pointInInnerNodeFrame; // The hit-tested point in innerNode 202 LayoutPoint m_pointInInnerNodeFrame; // The hit-tested point in innerNode
203 // frame coordinates. 203 // frame coordinates.
204 LayoutPoint m_localPoint; // A point in the local coordinate space of 204 LayoutPoint m_localPoint; // A point in the local coordinate space of
205 // m_innerNode's layoutObject.Allows us to 205 // m_innerNode's layoutObject.Allows us to
206 // efficiently determine where inside the 206 // efficiently determine where inside the
207 // layoutObject we hit on subsequent operations. 207 // layoutObject we hit on subsequent operations.
208 Member<Element> m_innerURLElement; 208 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
209 // elem that triggers navigation for
210 // non-URL.
209 Member<Scrollbar> m_scrollbar; 211 Member<Scrollbar> m_scrollbar;
210 bool m_isOverFrameViewBase; // Returns true if we are over a FrameViewBase 212 bool m_isOverFrameViewBase; // Returns true if we are over a FrameViewBase
211 // (and not in the border/padding area of a 213 // (and not in the border/padding area of a
212 // LayoutPart for example). 214 // LayoutPart for example).
213 215
214 mutable Member<NodeSet> m_listBasedTestResult; 216 mutable Member<NodeSet> m_listBasedTestResult;
215 String m_canvasRegionId; 217 String m_canvasRegionId;
216 }; 218 };
217 219
218 } // namespace blink 220 } // namespace blink
219 221
220 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult); 222 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult);
221 223
222 #endif // HitTestResult_h 224 #endif // HitTestResult_h
OLDNEW
« 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