Index: third_party/WebKit/Source/core/editing/InlineBoxTraversal.h |
diff --git a/third_party/WebKit/Source/core/editing/InlineBoxTraversal.h b/third_party/WebKit/Source/core/editing/InlineBoxTraversal.h |
index e7c1b374b93619b863212381c6f4f1a827e18bc1..1c56972fb3bd387ab9ee556933e53c4c49db2bff 100644 |
--- a/third_party/WebKit/Source/core/editing/InlineBoxTraversal.h |
+++ b/third_party/WebKit/Source/core/editing/InlineBoxTraversal.h |
@@ -18,6 +18,12 @@ class InlineBoxTraversal final { |
public: |
// TODO(yosin): We should take |bidi_level| from |InlineBox::BidiLevel()|, |
// once all call sites satisfy it. |
+ |
+ // Returns |InlineBox| which is less than or equal to |bidi_level| of |
+ // left/right of specified |InlineBox|. |
+ static InlineBox* FindLeftBidiRun(const InlineBox&, unsigned bidi_level); |
+ static InlineBox* FindRightBidiRun(const InlineBox&, unsigned bidi_level); |
+ |
// Find left boundary variations |
static InlineBox* FindLeftBoundaryOfBidiRunIgnoringLineBreak( |
const InlineBox&, |