summaryrefslogtreecommitdiffstats
path: root/WebCore/editing/VisiblePosition.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/editing/VisiblePosition.h')
-rw-r--r--WebCore/editing/VisiblePosition.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/WebCore/editing/VisiblePosition.h b/WebCore/editing/VisiblePosition.h
index 79f3a57..403c816 100644
--- a/WebCore/editing/VisiblePosition.h
+++ b/WebCore/editing/VisiblePosition.h
@@ -90,8 +90,14 @@ public:
m_deepPosition.getInlineBoxAndOffset(m_affinity, primaryDirection, inlineBox, caretOffset);
}
- IntRect caretRect() const;
-
+ // Rect is local to the returned renderer
+ IntRect localCaretRect(RenderObject*&) const;
+ // Bounds of (possibly transformed) caret in absolute coords
+ IntRect absoluteCaretBounds() const;
+ // Abs x position of the caret ignoring transforms.
+ // FIXME: navigation with transforms should be smarter.
+ int xOffsetForVerticalNavigation() const;
+
#ifndef NDEBUG
void formatForDebugger(char* buffer, unsigned length) const;
void showTreeForThis() const;