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

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: 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 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 NodeSet& mutableListBasedTestResult(); // See above. 192 NodeSet& mutableListBasedTestResult(); // See above.
193 HTMLMediaElement* mediaElement() const; 193 HTMLMediaElement* mediaElement() const;
194 194
195 HitTestLocation m_hitTestLocation; 195 HitTestLocation m_hitTestLocation;
196 HitTestRequest m_hitTestRequest; 196 HitTestRequest m_hitTestRequest;
197 bool m_cacheable; 197 bool m_cacheable;
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 // The hit-tested point in innerNode frame coordinates.
203 // frame coordinates. 203 LayoutPoint m_pointInInnerNodeFrame;
204 LayoutPoint m_localPoint; // A point in the local coordinate space of 204 // A point in the local coordinate space of m_innerNode's layoutObject.Allows
205 // m_innerNode's layoutObject.Allows us to 205 // us to efficiently determine where inside the layoutObject we hit on
206 // efficiently determine where inside the 206 // subsequent operations.
207 // layoutObject we hit on subsequent operations. 207 LayoutPoint m_localPoint;
208 // For non-URL, this is the enclosing that triggers navigation.
208 Member<Element> m_innerURLElement; 209 Member<Element> m_innerURLElement;
209 Member<Scrollbar> m_scrollbar; 210 Member<Scrollbar> m_scrollbar;
210 bool m_isOverFrameViewBase; // Returns true if we are over a FrameViewBase 211 // Returns true if we are over a FrameViewBase (and not in the border/padding
211 // (and not in the border/padding area of a 212 // area of a LayoutPart for example).
212 // LayoutPart for example). 213 bool m_isOverFrameViewBase;
213 214
214 mutable Member<NodeSet> m_listBasedTestResult; 215 mutable Member<NodeSet> m_listBasedTestResult;
215 String m_canvasRegionId; 216 String m_canvasRegionId;
216 }; 217 };
217 218
218 } // namespace blink 219 } // namespace blink
219 220
220 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult); 221 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult);
221 222
222 #endif // HitTestResult_h 223 #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