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

Unified Diff: ui/views/widget/tooltip_manager_win.h

Issue 24883002: Uses and returns the fractional width in text eliding (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix round-down problems Created 7 years, 2 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
« ui/gfx/canvas.h ('K') | « ui/views/widget/tooltip_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/tooltip_manager_win.h
diff --git a/ui/views/widget/tooltip_manager_win.h b/ui/views/widget/tooltip_manager_win.h
index 9af03a4447e2f9022f4a6de7577cb966b2fca8a3..d2c450d7d38464a135abd77e88dcdcbde8160fc1 100644
--- a/ui/views/widget/tooltip_manager_win.h
+++ b/ui/views/widget/tooltip_manager_win.h
@@ -126,7 +126,7 @@ class TooltipManagerWin : public TooltipManager {
int line_count_;
// Width of the last tooltip.
- int tooltip_width_;
+ float tooltip_width_;
DISALLOW_COPY_AND_ASSIGN(TooltipManagerWin);
};
« ui/gfx/canvas.h ('K') | « ui/views/widget/tooltip_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698