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

Side by Side Diff: third_party/WebKit/Source/core/layout/HitTestResult.h

Issue 2389073002: Fix link's hover state if the link under scrollbar (Closed)
Patch Set: fix for bokan's comments Created 4 years, 1 month 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 Node* innerPossiblyPseudoNode() const { 91 Node* innerPossiblyPseudoNode() const {
92 return m_innerPossiblyPseudoNode.get(); 92 return m_innerPossiblyPseudoNode.get();
93 } 93 }
94 Element* innerElement() const; 94 Element* innerElement() const;
95 95
96 // If innerNode is an image map or image map area, return the associated image 96 // If innerNode is an image map or image map area, return the associated image
97 // node. 97 // node.
98 Node* innerNodeOrImageMapImage() const; 98 Node* innerNodeOrImageMapImage() const;
99 99
100 Element* URLElement() const { return m_innerURLElement.get(); } 100 Element* URLElement() const { return m_innerURLElement.get(); }
101 Scrollbar* scrollbar() const { return m_scrollbar.get(); } 101 Scrollbar* scrollbar() const;
102 bool isOverWidget() const { return m_isOverWidget; } 102 bool isOverWidget() const { return m_isOverWidget; }
103 103
104 // Forwarded from HitTestLocation 104 // Forwarded from HitTestLocation
105 bool isRectBasedTest() const { return m_hitTestLocation.isRectBasedTest(); } 105 bool isRectBasedTest() const { return m_hitTestLocation.isRectBasedTest(); }
106 106
107 // The hit-tested point in the coordinates of the main frame. 107 // The hit-tested point in the coordinates of the main frame.
108 const LayoutPoint& pointInMainFrame() const { 108 const LayoutPoint& pointInMainFrame() const {
109 return m_hitTestLocation.point(); 109 return m_hitTestLocation.point();
110 } 110 }
111 IntPoint roundedPointInMainFrame() const { 111 IntPoint roundedPointInMainFrame() const {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // border/padding area of a LayoutPart for example). 209 // border/padding area of a LayoutPart for example).
210 210
211 mutable Member<NodeSet> m_listBasedTestResult; 211 mutable Member<NodeSet> m_listBasedTestResult;
212 }; 212 };
213 213
214 } // namespace blink 214 } // namespace blink
215 215
216 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult); 216 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult);
217 217
218 #endif // HitTestResult_h 218 #endif // HitTestResult_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698