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

Unified Diff: ui/gfx/break_list.h

Issue 16867016: Windows implementation of multiline RenderText (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: min height/baseline; update tests Created 7 years, 3 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 | « no previous file | ui/gfx/render_text.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/break_list.h
diff --git a/ui/gfx/break_list.h b/ui/gfx/break_list.h
index 932d5452708da5d4a83604fd0f67f948c4af7118..4b549fcb8dddc6b027616eb914b06c40c4c87aea 100644
--- a/ui/gfx/break_list.h
+++ b/ui/gfx/break_list.h
@@ -44,6 +44,7 @@ class BreakList {
// Set the max position and trim any breaks at or beyond that position.
void SetMax(size_t max);
+ size_t max() const { return max_; }
// Get the break applicable to |position| (at or preceeding |position|).
typename std::vector<Break>::iterator GetBreak(size_t position);
« no previous file with comments | « no previous file | ui/gfx/render_text.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698