
* When doing word-breaking in the middle of the first word in a string with leading whitespace, we would incorrectly truncate the entire string. * When doing word-breaking in whitespace after a word, we would incorrectly omit that word from the truncated string. This also adds more tests and organizes them a bit more readably. BUG=none TEST=Select up to but not including the 'f' in the string "aaaaaaaaa bbbbbbbbb ccccccccc ddddddddd eeeeeeeee f". Right-click the selection and look at the "Search Google for..." string. It should include 'e's. Review URL: https://codereview.chromium.org/1340423006 Cr-Commit-Position: refs/heads/master@{#350310}
This directory contains discrete components used to build Chromium's user interface. Each subdirectory must be an isolated component that lists its dependencies in a DEPS file. See subdirectory README.chromium files for specific information about each component.