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

Unified Diff: ui/gfx/render_text_win.h

Issue 8633019: Itemize and layout text lazily in RenderTextWin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_win.h
===================================================================
--- ui/gfx/render_text_win.h (revision 111778)
+++ ui/gfx/render_text_win.h (working copy)
@@ -80,6 +80,7 @@
private:
virtual size_t IndexOfAdjacentGrapheme(size_t index, bool next) OVERRIDE;
+ void EnsureLayout();
void ItemizeLogicalText();
void LayoutVisualText();
@@ -116,6 +117,8 @@
scoped_array<int> visual_to_logical_;
scoped_array<int> logical_to_visual_;
+ bool needs_layout_;
+
DISALLOW_COPY_AND_ASSIGN(RenderTextWin);
};
« no previous file with comments | « no previous file | ui/gfx/render_text_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698