Index: Source/core/rendering/HitTestResult.h |
diff --git a/Source/core/rendering/HitTestResult.h b/Source/core/rendering/HitTestResult.h |
index a6cadadfb56318d625afc60dcfdb10d7cd93dff6..12936e529e3263882de43a99394600e140770bbf 100644 |
--- a/Source/core/rendering/HitTestResult.h |
+++ b/Source/core/rendering/HitTestResult.h |
@@ -24,6 +24,8 @@ |
#include "core/rendering/HitTestLocation.h" |
#include "core/rendering/HitTestRequest.h" |
+// TODO: We should |enum CursorDirective| to its own header file from RenderObject.h. |
+#include "core/rendering/RenderObject.h" |
#include "platform/geometry/FloatQuad.h" |
#include "platform/geometry/FloatRect.h" |
#include "platform/geometry/LayoutRect.h" |
@@ -41,6 +43,7 @@ class HTMLMediaElement; |
class Image; |
class KURL; |
class Node; |
+class PositionWithAffinity; |
class RenderObject; |
class RenderRegion; |
class Scrollbar; |
@@ -78,10 +81,11 @@ public: |
IntPoint roundedPointInInnerNodeFrame() const { return roundedIntPoint(pointInInnerNodeFrame()); } |
Frame* innerNodeFrame() const; |
- // The hit-tested point in the coordinates of the inner node. |
+ // The hit-tested point in the coordinates of |innerPossiblyPseudoNode()| |
+ // rather htan |innerNode()|. |
const LayoutPoint& localPoint() const { return m_localPoint; } |
void setLocalPoint(const LayoutPoint& p) { m_localPoint = p; } |
- |
+ PositionWithAffinity position() const; |
RenderObject* renderer() const; |
void setToNodesInDocumentTreeScope(); |