Chromium Code Reviews
DescriptionModify 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137061
Patch Set 1 : #Patch Set 2 : #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|
|||||||||||||||||||||||||||||||||||||