OLD | NEW |
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // The hit-tested point in the coordinates of the innerNode frame, the frame
containing innerNode. | 83 // The hit-tested point in the coordinates of the innerNode frame, the frame
containing innerNode. |
84 const LayoutPoint& pointInInnerNodeFrame() const { return m_pointInInnerNode
Frame; } | 84 const LayoutPoint& pointInInnerNodeFrame() const { return m_pointInInnerNode
Frame; } |
85 IntPoint roundedPointInInnerNodeFrame() const { return roundedIntPoint(point
InInnerNodeFrame()); } | 85 IntPoint roundedPointInInnerNodeFrame() const { return roundedIntPoint(point
InInnerNodeFrame()); } |
86 LocalFrame* innerNodeFrame() const; | 86 LocalFrame* innerNodeFrame() const; |
87 | 87 |
88 // The hit-tested point in the coordinates of the inner node. | 88 // The hit-tested point in the coordinates of the inner node. |
89 const LayoutPoint& localPoint() const { return m_localPoint; } | 89 const LayoutPoint& localPoint() const { return m_localPoint; } |
90 void setLocalPoint(const LayoutPoint& p) { m_localPoint = p; } | 90 void setLocalPoint(const LayoutPoint& p) { m_localPoint = p; } |
91 | 91 |
92 PositionWithAffinity position() const; | 92 PositionWithAffinity position() const; |
93 LayoutObject* renderer() const; | 93 LayoutObject* layoutObject() const; |
94 | 94 |
95 void setToShadowHostIfInClosedShadowRoot(); | 95 void setToShadowHostIfInClosedShadowRoot(); |
96 | 96 |
97 const HitTestLocation& hitTestLocation() const { return m_hitTestLocation; } | 97 const HitTestLocation& hitTestLocation() const { return m_hitTestLocation; } |
98 | 98 |
99 void setInnerNode(Node*); | 99 void setInnerNode(Node*); |
100 void setInnerNonSharedNode(Node*); | 100 void setInnerNonSharedNode(Node*); |
101 void setURLElement(Element*); | 101 void setURLElement(Element*); |
102 void setScrollbar(Scrollbar*); | 102 void setScrollbar(Scrollbar*); |
103 void setIsOverWidget(bool b) { m_isOverWidget = b; } | 103 void setIsOverWidget(bool b) { m_isOverWidget = b; } |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 RefPtrWillBeMember<Element> m_innerURLElement; | 147 RefPtrWillBeMember<Element> m_innerURLElement; |
148 RefPtrWillBeMember<Scrollbar> m_scrollbar; | 148 RefPtrWillBeMember<Scrollbar> m_scrollbar; |
149 bool m_isOverWidget; // Returns true if we are over a widget (and not in the
border/padding area of a LayoutPart for example). | 149 bool m_isOverWidget; // Returns true if we are over a widget (and not in the
border/padding area of a LayoutPart for example). |
150 | 150 |
151 mutable OwnPtrWillBeMember<NodeSet> m_listBasedTestResult; | 151 mutable OwnPtrWillBeMember<NodeSet> m_listBasedTestResult; |
152 }; | 152 }; |
153 | 153 |
154 } // namespace blink | 154 } // namespace blink |
155 | 155 |
156 #endif // HitTestResult_h | 156 #endif // HitTestResult_h |
OLD | NEW |