Index: Source/core/rendering/InlineTextBox.h |
diff --git a/Source/core/rendering/InlineTextBox.h b/Source/core/rendering/InlineTextBox.h |
index 3d6fdee393a0937202080eed206ddc7893808c02..a3b9dcc7b5b6a304c0a4805beafe94c4808552c5 100644 |
--- a/Source/core/rendering/InlineTextBox.h |
+++ b/Source/core/rendering/InlineTextBox.h |
@@ -159,6 +159,11 @@ public: |
bool containsCaretOffset(int offset) const; // false for offset after line break |
+ // Fills a vector with the pixel width of each character. |
+ void characterWidths(Vector<float>&) const; |
+ |
+ bool isRTL() const; |
+ |
private: |
InlineTextBox* m_prevTextBox; // The previous box that also uses our RenderObject |
InlineTextBox* m_nextTextBox; // The next box that also uses our RenderObject |