commit | 3638f51b033ad950d63f9186f7d0329a4eed48c9 | [log] [tgz] |
---|---|---|
author | yoichio <yoichio@chromium.org> | Mon May 22 10:52:02 2017 |
committer | Commit bot <commit-bot@chromium.org> | Mon May 22 10:52:02 2017 |
tree | b0880270631f2eebc4c919c984c02e0e2fc7cab7 | |
parent | bfb763ee9499a5f88993910c2401ac5550e9ac38 [diff] |
Use current selection when tab navigation. This CL lets FrameSelection::RevealSelection() use VisibleUnits::ComputeTextRect() to compute current selection range instead of LayoutSelection::Bounds() of last selection range. VisibleUnits.cpp::ComputeTextRect(): templatize to define flat tree version. BUG=712986 Review-Url: https://codereview.chromium.org/2894803002 Cr-Commit-Position: refs/heads/master@{#473546}