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

Unified Diff: ui/views/corewm/tooltip_controller_test_helper.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
Index: ui/views/corewm/tooltip_controller_test_helper.h
diff --git a/ui/views/corewm/tooltip_controller_test_helper.h b/ui/views/corewm/tooltip_controller_test_helper.h
index 8f28f1591c8cd24586ec9dec228d812749bc4341..f46aa4e8ed82f43f73ae6ca317f9ac35fdda363b 100644
--- a/ui/views/corewm/tooltip_controller_test_helper.h
+++ b/ui/views/corewm/tooltip_controller_test_helper.h
@@ -38,9 +38,9 @@ class TooltipControllerTestHelper {
void FireTooltipShownTimer();
bool IsTooltipShownTimerRunning();
bool IsTooltipVisible();
- static void TrimTooltipToFit(int max_width,
+ static void TrimTooltipToFit(float max_width,
string16* text,
- int* width,
+ float* width,
int* line_count);
private:

Powered by Google App Engine
This is Rietveld 408576698