Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(14)

Issue 1177043016: [SP] Add a drawing recorder before painting caps lock indicator in password fields. (Closed)

Created:
4 years, 10 months ago by wkorman
Modified:
4 years, 10 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[SP] Add a drawing recorder before painting caps lock indicator in password fields. Note we only draw a caps lock indicator on Mac OSX. BUG=501485, 460200 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197427

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add layout tests and caps lock override hook for Internals. #

Total comments: 2

Patch Set 3 : Restore current caps lock state when resetting Internals. #

Patch Set 4 : Don't need to specify inline in tests. #

Total comments: 2

Patch Set 5 : Rename test method to setCapsLockState. #

Patch Set 6 : Need to rebaseline new tests under virtual/antialiasedtext as well. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -6 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/caps-lock-indicator-disabled.html View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/caps-lock-indicator-enabled.html View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutTextControlSingleLine.cpp View 1 2 chunks +5 lines, -1 line 0 comments Download
M Source/core/testing/Internals.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
M Source/core/testing/Internals.idl View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/PlatformKeyboardEvent.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M Source/platform/PlatformKeyboardEvent.cpp View 1 2 chunks +16 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
wkorman
A few notes: - I don't have a repro yet so can't put together a ...
4 years, 10 months ago (2015-06-18 20:03:20 UTC) #2
chrishtr
Also, let's get a test. https://codereview.chromium.org/1177043016/diff/1/Source/core/layout/LayoutTextControlSingleLine.cpp File Source/core/layout/LayoutTextControlSingleLine.cpp (right): https://codereview.chromium.org/1177043016/diff/1/Source/core/layout/LayoutTextControlSingleLine.cpp#newcode89 Source/core/layout/LayoutTextControlSingleLine.cpp:89: LayoutObjectDrawingRecorder recorder(*paintInfo.context, *this, paintInfo.phase, ...
4 years, 10 months ago (2015-06-18 20:09:02 UTC) #3
wkorman
Added tests. https://codereview.chromium.org/1177043016/diff/1/Source/core/layout/LayoutTextControlSingleLine.cpp File Source/core/layout/LayoutTextControlSingleLine.cpp (right): https://codereview.chromium.org/1177043016/diff/1/Source/core/layout/LayoutTextControlSingleLine.cpp#newcode89 Source/core/layout/LayoutTextControlSingleLine.cpp:89: LayoutObjectDrawingRecorder recorder(*paintInfo.context, *this, paintInfo.phase, snappedRect); On 2015/06/18 ...
4 years, 10 months ago (2015-06-18 22:26:04 UTC) #4
leviw_travelin_and_unemployed
https://codereview.chromium.org/1177043016/diff/20001/Source/core/testing/Internals.cpp File Source/core/testing/Internals.cpp (right): https://codereview.chromium.org/1177043016/diff/20001/Source/core/testing/Internals.cpp#newcode2442 Source/core/testing/Internals.cpp:2442: PlatformKeyboardEvent::setCurrentCapsLockState(enabled ? In the past we've had issues with ...
4 years, 10 months ago (2015-06-18 22:33:48 UTC) #6
wkorman
https://codereview.chromium.org/1177043016/diff/20001/Source/core/testing/Internals.cpp File Source/core/testing/Internals.cpp (right): https://codereview.chromium.org/1177043016/diff/20001/Source/core/testing/Internals.cpp#newcode2442 Source/core/testing/Internals.cpp:2442: PlatformKeyboardEvent::setCurrentCapsLockState(enabled ? On 2015/06/18 at 22:33:48, leviw wrote: > ...
4 years, 10 months ago (2015-06-18 22:49:38 UTC) #7
chrishtr
lgtm Check strict cull rect before committing. https://codereview.chromium.org/1177043016/diff/60001/Source/core/testing/Internals.h File Source/core/testing/Internals.h (right): https://codereview.chromium.org/1177043016/diff/60001/Source/core/testing/Internals.h#newcode366 Source/core/testing/Internals.h:366: void setCurrentCapsLockState(bool ...
4 years, 10 months ago (2015-06-18 23:21:31 UTC) #8
wkorman
https://codereview.chromium.org/1177043016/diff/60001/Source/core/testing/Internals.h File Source/core/testing/Internals.h (right): https://codereview.chromium.org/1177043016/diff/60001/Source/core/testing/Internals.h#newcode366 Source/core/testing/Internals.h:366: void setCurrentCapsLockState(bool enabled); On 2015/06/18 at 23:21:30, chrishtr wrote: ...
4 years, 10 months ago (2015-06-18 23:32:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177043016/80001
4 years, 10 months ago (2015-06-18 23:33:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177043016/100001
4 years, 10 months ago (2015-06-19 02:06:13 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2015-06-19 03:28:46 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197427

Powered by Google App Engine
This is Rietveld 408576698