DescriptionSeparate selection highlight from pango layout, highlight selection using skia.
Cache substring bounds to avoid unnecessary g_free. Consolidate drawing functions with RenderTextWin. Remove UpdateLayout() from RenderText::SetSelectionModel().
BUG=103647
TEST=TextfieldViewModelTest; Manual test selection highlight on bidi text.
(Do not really know how to test "fi" ligature part. But since the selection
highlight is not done by using pango attribute, I would assume that solves the problem).
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112188
Patch Set 1 #Patch Set 2 : remove UpdateLayout() in RenderText::SetSelectionModel() #Patch Set 3 : fix a lint error #Patch Set 4 : save selection visual bounds to minimize g_free calls #Patch Set 5 : fix an lint error #
Total comments: 34
Patch Set 6 : address comments #
Total comments: 7
Patch Set 7 : sync #Patch Set 8 : synchistory #
Total comments: 4
Patch Set 9 : address comments #
Total comments: 6
Patch Set 10 : address comments #
Messages
Total messages: 18 (0 generated)
|