Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1174)

Unified Diff: ui/views/corewm/tooltip_aura_unittest.cc

Issue 312233003: Add fade eliding for Views Labels; related cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refine alignment check; minor additional cleanup. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/corewm/tooltip_aura.cc ('k') | ui/views/examples/label_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/tooltip_aura_unittest.cc
diff --git a/ui/views/corewm/tooltip_aura_unittest.cc b/ui/views/corewm/tooltip_aura_unittest.cc
index 7b03f609e48c51cf7410b5d82a9091e0c017c53b..1e8981ad79191329c56dccad7d0d6383c9e2b977 100644
--- a/ui/views/corewm/tooltip_aura_unittest.cc
+++ b/ui/views/corewm/tooltip_aura_unittest.cc
@@ -86,8 +86,8 @@ TEST_F(TooltipAuraTest, TrimTooltipToFitTests) {
EXPECT_NEAR(max_pixel_width, width, 5);
EXPECT_EQ(1, line_count);
EXPECT_EQ(gfx::ElideText(UTF8ToUTF16(std::string('a', max_pixel_width)),
- font_list,
- max_pixel_width, gfx::ELIDE_AT_END), tooltip);
+ font_list, max_pixel_width, gfx::ELIDE_TAIL),
+ tooltip);
#endif
// Normal small tooltip should stay as is.
« no previous file with comments | « ui/views/corewm/tooltip_aura.cc ('k') | ui/views/examples/label_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698