Introduce FlatTreeTraversal:: AncestorsOf()
This patch introduces |FlatTreeTraversal::AncestorsOf()| as |NodeTraversal|. This patch is a preparation of the patch[1]. Note: The patch[2] introduces |FlatTreeTraversal::InclusiveAncestorsOf()|. [1] http://crrev.com/c/737981 Introduce TextOffsetMapping to simplify word/paragraph selection [2] http://crrev.com/c/742770 Introduce FlatTreeTraversal::InclusiveAncestorsOf Bug: 778507 Change-Id: I5f76f00c06a4e02b5981600049af11853fa2f60b Reviewed-on: https://chromium-review.googlesource.com/923443Reviewed-by:Hayato Ito <hayato@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#537237}
Showing
Please register or sign in to comment