| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 const AtomicString& altDisplayString() const; | 147 const AtomicString& altDisplayString() const; |
| 148 Image* image() const; | 148 Image* image() const; |
| 149 IntRect imageRect() const; | 149 IntRect imageRect() const; |
| 150 KURL absoluteImageURL() const; | 150 KURL absoluteImageURL() const; |
| 151 KURL absoluteMediaURL() const; | 151 KURL absoluteMediaURL() const; |
| 152 KURL absoluteLinkURL() const; | 152 KURL absoluteLinkURL() const; |
| 153 String textContent() const; | 153 String textContent() const; |
| 154 bool isLiveLink() const; | 154 bool isLiveLink() const; |
| 155 bool isContentEditable() const; | 155 bool isContentEditable() const; |
| 156 | 156 |
| 157 const String& canvasRegionId() const { return m_canvasRegionId; } |
| 158 void setCanvasRegionId(const String& id) { m_canvasRegionId = id; } |
| 159 |
| 157 bool isOverLink() const; | 160 bool isOverLink() const; |
| 158 | 161 |
| 159 bool isCacheable() const { return m_cacheable; } | 162 bool isCacheable() const { return m_cacheable; } |
| 160 void setCacheable(bool cacheable) { m_cacheable = cacheable; } | 163 void setCacheable(bool cacheable) { m_cacheable = cacheable; } |
| 161 | 164 |
| 162 // TODO(pdr): When using the default rect argument, this function does not | 165 // TODO(pdr): When using the default rect argument, this function does not |
| 163 // check if the tapped area is entirely contained by the HitTestLocation's | 166 // check if the tapped area is entirely contained by the HitTestLocation's |
| 164 // bounding box. Callers should pass a LayoutRect as the third parameter so | 167 // bounding box. Callers should pass a LayoutRect as the third parameter so |
| 165 // hit testing can early-out when a tapped area is covered. | 168 // hit testing can early-out when a tapped area is covered. |
| 166 ListBasedHitTestBehavior addNodeToListBasedTestResult( | 169 ListBasedHitTestBehavior addNodeToListBasedTestResult( |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 LayoutPoint m_localPoint; // A point in the local coordinate space of | 204 LayoutPoint m_localPoint; // A point in the local coordinate space of |
| 202 // m_innerNode's layoutObject.Allows us to | 205 // m_innerNode's layoutObject.Allows us to |
| 203 // efficiently determine where inside the | 206 // efficiently determine where inside the |
| 204 // layoutObject we hit on subsequent operations. | 207 // layoutObject we hit on subsequent operations. |
| 205 Member<Element> m_innerURLElement; | 208 Member<Element> m_innerURLElement; |
| 206 Member<Scrollbar> m_scrollbar; | 209 Member<Scrollbar> m_scrollbar; |
| 207 bool m_isOverWidget; // Returns true if we are over a widget (and not in the | 210 bool m_isOverWidget; // Returns true if we are over a widget (and not in the |
| 208 // border/padding area of a LayoutPart for example). | 211 // border/padding area of a LayoutPart for example). |
| 209 | 212 |
| 210 mutable Member<NodeSet> m_listBasedTestResult; | 213 mutable Member<NodeSet> m_listBasedTestResult; |
| 214 String m_canvasRegionId; |
| 211 }; | 215 }; |
| 212 | 216 |
| 213 } // namespace blink | 217 } // namespace blink |
| 214 | 218 |
| 215 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult); | 219 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult); |
| 216 | 220 |
| 217 #endif // HitTestResult_h | 221 #endif // HitTestResult_h |
| OLD | NEW |