Index: Source/core/editing/VisiblePosition.h |
diff --git a/Source/core/editing/VisiblePosition.h b/Source/core/editing/VisiblePosition.h |
index d0a4d776bfdb4c053d2d75cee562797e70c3d422..0ed2f100a88bbe52c225d3e8532c81fe216d28aa 100644 |
--- a/Source/core/editing/VisiblePosition.h |
+++ b/Source/core/editing/VisiblePosition.h |
@@ -112,8 +112,6 @@ public: |
// Rect is local to the returned layoutObject |
LayoutRect localCaretRect(LayoutObject*&) const; |
- // Bounds of (possibly transformed) caret in absolute coords |
- IntRect absoluteCaretBounds() const; |
DECLARE_TRACE(); |
@@ -134,6 +132,10 @@ private: |
TextAffinity m_affinity; |
}; |
+// TODO(yosin) We should move |absoluteCaretBoundsOf()| to "VisibleUnits.cpp". |
+// Bounds of (possibly transformed) caret in absolute coords |
+CORE_EXPORT IntRect absoluteCaretBoundsOf(const VisiblePosition&); |
+ |
// Abs x/y position of the caret ignoring transforms. |
// TODO(yosin) navigation with transforms should be smarter. |
// TODO(yosin) We should move a glboal funciton |