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

Unified Diff: ui/gfx/text_elider.h

Issue 614103007: Error in popup on Link (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/gfx/text_elider.h
diff --git a/ui/gfx/text_elider.h b/ui/gfx/text_elider.h
index 9d77afa04f01f2437d1ce579cf4a65331c00f71d..45258959073592f0c7ad13f8f0357f6640a555a3 100644
--- a/ui/gfx/text_elider.h
+++ b/ui/gfx/text_elider.h
@@ -150,7 +150,8 @@ GFX_EXPORT int ElideRectangleText(const base::string16& text,
float available_pixel_width,
int available_pixel_height,
WordWrapBehavior wrap_behavior,
- std::vector<base::string16>* lines);
+ std::vector<base::string16>* lines,
+ float* max_width);
// Truncates |string| to |length| characters. This breaks the string according
// to the specified |break_type|, which must be either WORD_BREAK or
« no previous file with comments | « ui/gfx/canvas_skia.cc ('k') | ui/gfx/text_elider.cc » ('j') | ui/gfx/text_elider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698