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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 // The hit-tested point in the coordinates of the inner node. | 124 // The hit-tested point in the coordinates of the inner node. |
125 const LayoutPoint& localPoint() const { return m_localPoint; } | 125 const LayoutPoint& localPoint() const { return m_localPoint; } |
126 void setNodeAndPosition(Node* node, const LayoutPoint& p) { | 126 void setNodeAndPosition(Node* node, const LayoutPoint& p) { |
127 m_localPoint = p; | 127 m_localPoint = p; |
128 setInnerNode(node); | 128 setInnerNode(node); |
129 } | 129 } |
130 | 130 |
131 PositionWithAffinity position() const; | 131 PositionWithAffinity position() const; |
132 LayoutObject* layoutObject() const; | 132 LayoutObject* layoutObject() const; |
133 | 133 |
134 void setToShadowHostIfInUserAgentShadowRoot(); | 134 void setToShadowHostIfInRestrictedShadowRoot(); |
135 | 135 |
136 const HitTestLocation& hitTestLocation() const { return m_hitTestLocation; } | 136 const HitTestLocation& hitTestLocation() const { return m_hitTestLocation; } |
137 const HitTestRequest& hitTestRequest() const { return m_hitTestRequest; } | 137 const HitTestRequest& hitTestRequest() const { return m_hitTestRequest; } |
138 | 138 |
139 void setInnerNode(Node*); | 139 void setInnerNode(Node*); |
140 HTMLAreaElement* imageAreaForImage() const; | 140 HTMLAreaElement* imageAreaForImage() const; |
141 void setURLElement(Element*); | 141 void setURLElement(Element*); |
142 void setScrollbar(Scrollbar*); | 142 void setScrollbar(Scrollbar*); |
143 void setIsOverFrameViewBase(bool b) { m_isOverFrameViewBase = b; } | 143 void setIsOverFrameViewBase(bool b) { m_isOverFrameViewBase = b; } |
144 | 144 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 | 213 |
214 mutable Member<NodeSet> m_listBasedTestResult; | 214 mutable Member<NodeSet> m_listBasedTestResult; |
215 String m_canvasRegionId; | 215 String m_canvasRegionId; |
216 }; | 216 }; |
217 | 217 |
218 } // namespace blink | 218 } // namespace blink |
219 | 219 |
220 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult); | 220 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult); |
221 | 221 |
222 #endif // HitTestResult_h | 222 #endif // HitTestResult_h |
OLD | NEW |