0
Files
src/ui
pkasting fc33692651 Improve text elision in TruncateString().
* 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}
2015-09-23 06:00:06 +00:00
..
2015-09-18 19:59:32 +00:00
2015-09-18 19:59:32 +00:00
2015-09-22 03:35:44 +00:00

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.