[LayoutNG] Introduce NGPaintFragmentTraversal::MoveToParent() and MoveToPrevious()
This patch inttroduces |MoveToParent()| and |MoveToPrevious()| in |NGPaintFragmentTraversal| class for the patch[1], which uses |MoveToPrevious()| to find text fragment in same line. This patch also utilize |MoveToParent()| in |MoveToNext()| to share code for improving code health. [1] http://crrev.com/c/1104082 [LayoutNG] Adapt accessibility module to LayoutNG; Bug: 774229 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng;luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: If65e3015b8f4ed768325c0e13df121c0bc378580 Reviewed-on: https://chromium-review.googlesource.com/1109609Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#569199}
Showing
Please register or sign in to comment