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

Issue 326093004: MacViews: Enable RenderTextHarfBuzz to get Textfields to work. (Closed)

Created:
6 years, 6 months ago by Andre
Modified:
6 years, 6 months ago
Reviewers:
msw
CC:
chromium-reviews, mac-views-reviews_chromium.org
Visibility:
Public.

Description

MacViews: Enable RenderTextHarfBuzz to get Textfields to work. Textfields require RenderTextHarfBuzz to work properly on the Mac because RenderTextMac's implementation is not complete. But RenderTextMac is used by the Cocoa UI to perform string sizing and elliding, HarfBuzz will not give the same answers. So for now we turn on HarfBuzz conditionally on OS_MACOSX and TOOLKIT_VIEWS. TextFieldModel and StyledLabel unit tests now pass without failures. BUG=378134 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276341

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix for msw #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M ui/gfx/render_text.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Andre
6 years, 6 months ago (2014-06-10 22:48:52 UTC) #1
msw
lgtm with a minor optional nit. https://codereview.chromium.org/326093004/diff/1/ui/gfx/render_text.cc File ui/gfx/render_text.cc (right): https://codereview.chromium.org/326093004/diff/1/ui/gfx/render_text.cc#newcode416 ui/gfx/render_text.cc:416: // views::Textfield requires ...
6 years, 6 months ago (2014-06-10 23:23:47 UTC) #2
Andre
The CQ bit was checked by andresantoso@chromium.org
6 years, 6 months ago (2014-06-10 23:41:17 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andresantoso@chromium.org/326093004/20001
6 years, 6 months ago (2014-06-10 23:45:03 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 11:02:04 UTC) #5
Message was sent while issue was closed.
Change committed as 276341

Powered by Google App Engine
This is Rietveld 408576698