VR: Add ellipsis on truncated URLs

Desktop / Chromium - cjgrant [chromium.org] - 20 June 2017 11:33 EDT

This change switches from pure truncationg to ellipsis-based truncation, but maintains the bail-out mechanism in case we cannot display the complete URL.


Review-Url: https://codereview.chromium.org/2944923002 Cr-Commit-Position: refs/heads/master@{#480828}

02866ac VR: Add ellipsis on truncated URLs.
.../android/vr_shell/textures/url_bar_texture.cc | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)

Upstream: git.chromium.org

  • Share