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

Issue 135733002: [FastTextAutosizer] Incorporate accessibility and device scale factors (Closed)

Created:
6 years, 11 months ago by pdr.
Modified:
6 years, 11 months ago
Reviewers:
skobes
CC:
blink-reviews, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, zoltan1
Visibility:
Public.

Description

[FastTextAutosizer] Incorporate accessibility and device scale factors This patch incorporates the accessibility font scale factor and the device scale adjustment into the multiplier calculation. For performance, these scale factors are only accessed in prepareRenderViewInfo. In addition, a debug-only assert has been added to ensure prepareRenderViewInfo is called before the multiplier is calculated. With this patch we pass 1 additional test! BUG=333124 R=skobes NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165014

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update after reviewer comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -7 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/FastTextAutosizer.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M Source/core/rendering/FastTextAutosizer.cpp View 1 5 chunks +20 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
pdr.
6 years, 11 months ago (2014-01-11 22:06:50 UTC) #1
skobes
lgtm https://codereview.chromium.org/135733002/diff/1/Source/core/rendering/FastTextAutosizer.cpp File Source/core/rendering/FastTextAutosizer.cpp (right): https://codereview.chromium.org/135733002/diff/1/Source/core/rendering/FastTextAutosizer.cpp#newcode237 Source/core/rendering/FastTextAutosizer.cpp:237: float multiplier = min(blockWidth, (float) m_layoutWidth) / m_windowWidth; ...
6 years, 11 months ago (2014-01-13 19:10:13 UTC) #2
pdr.
https://codereview.chromium.org/135733002/diff/1/Source/core/rendering/FastTextAutosizer.cpp File Source/core/rendering/FastTextAutosizer.cpp (right): https://codereview.chromium.org/135733002/diff/1/Source/core/rendering/FastTextAutosizer.cpp#newcode237 Source/core/rendering/FastTextAutosizer.cpp:237: float multiplier = min(blockWidth, (float) m_layoutWidth) / m_windowWidth; On ...
6 years, 11 months ago (2014-01-13 19:49:11 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pdr@chromium.org/135733002/80001
6 years, 11 months ago (2014-01-13 19:49:29 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=22549
6 years, 11 months ago (2014-01-14 00:04:23 UTC) #5
pdr.
On 2014/01/14 00:04:23, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 11 months ago (2014-01-14 00:34:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pdr@chromium.org/135733002/80001
6 years, 11 months ago (2014-01-14 00:35:48 UTC) #7
commit-bot: I haz the power
6 years, 11 months ago (2014-01-14 00:36:36 UTC) #8
Message was sent while issue was closed.
Change committed as 165014

Powered by Google App Engine
This is Rietveld 408576698