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

Issue 891013003: Delete RenderTextWin and RenderTextPango. (Closed)

Created:
5 years, 10 months ago by Daniel Erat
Modified:
5 years, 10 months ago
Reviewers:
msw, ckocagil
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete RenderTextWin and RenderTextPango. Windows, Linux, and Chrome OS use the cross-platform RenderTextHarfBuzz class as of M40. Remove the platform-specific RenderText implementations. Also update chrome://flags so that only Mac users can control whether RenderTextHarfBuzz is used. RenderTextMac is still used there by default. BUG=321868, 398885 Committed: https://crrev.com/a55b0115d7f52cd51a309eca15b08aa68d139455 Cr-Commit-Position: refs/heads/master@{#314242}

Patch Set 1 #

Patch Set 2 : merge #

Patch Set 3 : attempted compilation fixes for mac and win #

Patch Set 4 : another mac update and merge #

Patch Set 5 : gn update #

Total comments: 4

Patch Set 6 : update switch comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -2232 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 chunks +9 lines, -8 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 4 1 chunk +3 lines, -12 lines 0 comments Download
M ui/gfx/gfx.gyp View 2 chunks +0 lines, -6 lines 0 comments Download
M ui/gfx/render_text.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ui/gfx/render_text.cc View 1 2 2 chunks +11 lines, -12 lines 0 comments Download
M ui/gfx/render_text_mac.cc View 1 chunk +0 lines, -4 lines 0 comments Download
D ui/gfx/render_text_ozone.cc View 1 chunk +0 lines, -13 lines 0 comments Download
D ui/gfx/render_text_pango.h View 1 chunk +0 lines, -89 lines 0 comments Download
D ui/gfx/render_text_pango.cc View 1 chunk +0 lines, -535 lines 0 comments Download
M ui/gfx/render_text_unittest.cc View 1 2 3 14 chunks +11 lines, -127 lines 0 comments Download
D ui/gfx/render_text_win.h View 1 chunk +0 lines, -147 lines 0 comments Download
D ui/gfx/render_text_win.cc View 1 chunk +0 lines, -1261 lines 0 comments Download
M ui/gfx/switches.h View 2 chunks +4 lines, -2 lines 0 comments Download
M ui/gfx/switches.cc View 1 2 3 4 5 2 chunks +6 lines, -6 lines 0 comments Download
M ui/gfx/win/direct_write.cc View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Daniel Erat
let me know what you think about landing this now that M40 has shipped on ...
5 years, 10 months ago (2015-02-02 18:03:15 UTC) #2
msw
lgtm with nits. https://codereview.chromium.org/891013003/diff/80001/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (left): https://codereview.chromium.org/891013003/diff/80001/ui/gfx/render_text_unittest.cc#oldcode2065 ui/gfx/render_text_unittest.cc:2065: render_text->SetText(WideToUTF16(L"x\x25B6y")); I wonder if we could ...
5 years, 10 months ago (2015-02-02 22:52:55 UTC) #3
Daniel Erat
thanks (and welcome back)! https://codereview.chromium.org/891013003/diff/80001/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (left): https://codereview.chromium.org/891013003/diff/80001/ui/gfx/render_text_unittest.cc#oldcode2065 ui/gfx/render_text_unittest.cc:2065: render_text->SetText(WideToUTF16(L"x\x25B6y")); On 2015/02/02 22:52:55, msw ...
5 years, 10 months ago (2015-02-02 23:10:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/891013003/100001
5 years, 10 months ago (2015-02-02 23:13:47 UTC) #6
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-03 01:59:36 UTC) #7
ckocagil
\o/
5 years, 10 months ago (2015-02-03 02:00:26 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 02:00:29 UTC) #9
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a55b0115d7f52cd51a309eca15b08aa68d139455
Cr-Commit-Position: refs/heads/master@{#314242}

Powered by Google App Engine
This is Rietveld 408576698