summaryrefslogtreecommitdiffstats
path: root/base/string16_unittest.cc
diff options
context:
space:
mode:
authorasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-15 02:43:10 +0000
committerasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-15 02:43:10 +0000
commit49f47568522c5a83c851f4333592521a1dae86dd (patch)
tree6ec1337c70abcf2478700f2dd0878f340ac864b7 /base/string16_unittest.cc
parent3342f48dd4eab0bcc4381a4cab16c4f7e31c41fa (diff)
downloadchromium_src-49f47568522c5a83c851f4333592521a1dae86dd.zip
chromium_src-49f47568522c5a83c851f4333592521a1dae86dd.tar.gz
chromium_src-49f47568522c5a83c851f4333592521a1dae86dd.tar.bz2
Modify ui::ElideRectangleText() to honor trailing newlines.
Trailing whitespace without a \n character is still trimmed away. Adds additional tests for this. Also, makes the code use ContainsOnlyWhitespace() from base and makes the implementation of ContainsOnlyWhitespace() shorter (based on the code that was in text_elider.cc.) BUG=126297 TEST=New tests in text_elider_unittest.cc Review URL: https://chromiumcodereview.appspot.com/10386016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string16_unittest.cc')
0 files changed, 0 insertions, 0 deletions