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

Issue 8633019: Itemize and layout text lazily in RenderTextWin. (Closed)

Created:
9 years, 1 month ago by Alexei Svitkine (slow)
Modified:
9 years ago
Reviewers:
msw, sky
CC:
chromium-reviews, xji
Visibility:
Public.

Description

Itemize and layout text lazily in RenderTextWin. This matches what is done in render_text_linux.cc and avoids doing unnecessary work unless needed. BUG=none TEST=Run chrome.exe with command-line --use-pure-views. Edit text in the omnibox. It should work as before. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111983

Patch Set 1 #

Total comments: 12

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -5 lines) Patch
M ui/gfx/render_text_win.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M ui/gfx/render_text_win.cc View 1 2 16 chunks +35 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Alexei Svitkine (slow)
msw: review sky: OWNERS review
9 years, 1 month ago (2011-11-22 18:55:19 UTC) #1
Alexei Svitkine (slow)
On 2011/11/22 18:55:19, Alexei Svitkine wrote: > msw: review > sky: OWNERS review ping
9 years ago (2011-11-28 19:32:29 UTC) #2
Alexei Svitkine (slow)
This change overlaps a little bit with: http://codereview.chromium.org/8536047/ So it will need to be adjusted ...
9 years ago (2011-11-28 20:24:55 UTC) #3
msw
http://codereview.chromium.org/8633019/diff/1/ui/gfx/render_text_win.cc File ui/gfx/render_text_win.cc (right): http://codereview.chromium.org/8633019/diff/1/ui/gfx/render_text_win.cc#newcode148 ui/gfx/render_text_win.cc:148: string_width_(0) { Init needs_layout_ http://codereview.chromium.org/8633019/diff/1/ui/gfx/render_text_win.cc#newcode293 ui/gfx/render_text_win.cc:293: SelectionModel RenderTextWin::LeftEndSelectionModel() { ...
9 years ago (2011-11-28 21:15:45 UTC) #4
sky
I'm rubber stamping, but you need to wait for approval from Mike: LGTM
9 years ago (2011-11-28 21:56:49 UTC) #5
Alexei Svitkine (slow)
http://codereview.chromium.org/8633019/diff/1/ui/gfx/render_text_win.cc File ui/gfx/render_text_win.cc (right): http://codereview.chromium.org/8633019/diff/1/ui/gfx/render_text_win.cc#newcode148 ui/gfx/render_text_win.cc:148: string_width_(0) { On 2011/11/28 21:15:46, msw wrote: > Init ...
9 years ago (2011-11-28 21:58:13 UTC) #6
msw
LGTM; thanks!
9 years ago (2011-11-28 22:18:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/8633019/11001
9 years ago (2011-11-29 15:30:06 UTC) #8
commit-bot: I haz the power
Try job failure for 8633019-11001 (retry) on linux_rel for steps "browser_tests, ui_tests". It's a second ...
9 years ago (2011-11-29 17:14:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/8633019/11001
9 years ago (2011-11-29 17:34:53 UTC) #10
commit-bot: I haz the power
9 years ago (2011-11-29 18:55:30 UTC) #11
Change committed as 111983

Powered by Google App Engine
This is Rietveld 408576698