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

Issue 2430183002: Move arrow scrolling into KeyboardEventManager. (Closed)

Created:
4 years, 2 months ago by aelias_OOO_until_Jul13
Modified:
4 years, 1 month ago
Reviewers:
skobes
CC:
blink-reviews, chongz, chromium-reviews, dcheng, dtapuska+blinkwatch_chromium.org, kinuko+watch, mlamouri+watch-blink_chromium.org, nzolghadr+blinkwatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move arrow scrolling into KeyboardEventManager. This moves the default arrow/pageup/home/end handler (resulting in a smooth scroll animation) next to all the other keyboard default handlers. Notes: - The spacebar scrolling and Ctrl-C/A codepaths in WebViewImpl were dead code and have likely been for years. These keys were already handled by WebCore before reaching WebViewImpl::keyEventDefault. So I simply deleted them. - One calendar layout test was timing out on Mac, relating to how Alt-Down is also a shortcut for opening the calendar month flyout. I couldn't repro any problem manually, and it only happens in a racy close-flyout-then-reopen scenario which seems like an artifact of test structure more than an intended test case, so I just merged the two parts of the test. BUG=657158 Committed: https://crrev.com/3f0b7ec4a4573fff9623546c348ee8fa9353d38c Cr-Commit-Position: refs/heads/master@{#427925}

Patch Set 1 #

Patch Set 2 : Use m_scrollManager directly #

Patch Set 3 : Rebase #

Patch Set 4 : Hacks to debug mac trybot #

Patch Set 5 : More logging #

Patch Set 6 : Try more deletions on trybot #

Patch Set 7 : Clean up and add WebViewTest #

Patch Set 8 : Rebase #

Patch Set 9 : Add more test cases #

Patch Set 10 : Fix test a different way #

Patch Set 11 : Spacing nit #

Total comments: 4

Patch Set 12 : FocusDirection change #

Patch Set 13 : Add keyEvent() null check to fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -289 lines) Patch
M third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations-expected.txt View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/input/KeyboardEventManager.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/KeyboardEventManager.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +96 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.h View 1 2 3 4 5 6 2 chunks +0 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 2 3 4 5 6 7 2 chunks +1 line, -119 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 5 6 2 chunks +0 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 3 chunks +0 lines, -115 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +94 lines, -0 lines 0 comments Download

Messages

Total messages: 59 (50 generated)
aelias_OOO_until_Jul13
Hi skobes@, PTAL.
4 years, 1 month ago (2016-10-26 04:34:36 UTC) #39
dtapuska
On 2016/10/26 04:34:36, aelias wrote: > Hi skobes@, PTAL. Does Ctrl-C/Ctrl-A still work for plugins? ...
4 years, 1 month ago (2016-10-26 14:55:20 UTC) #42
skobes
lgtm w/ nits https://codereview.chromium.org/2430183002/diff/200001/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp File third_party/WebKit/Source/core/input/KeyboardEventManager.cpp (right): https://codereview.chromium.org/2430183002/diff/200001/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp#newcode64 third_party/WebKit/Source/core/input/KeyboardEventManager.cpp:64: // on other platforms are suppressed ...
4 years, 1 month ago (2016-10-26 17:57:44 UTC) #43
aelias_OOO_until_Jul13
On 2016/10/26 at 14:55:20, dtapuska wrote: > On 2016/10/26 04:34:36, aelias wrote: > > Hi ...
4 years, 1 month ago (2016-10-26 19:27:39 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2430183002/220001
4 years, 1 month ago (2016-10-27 00:14:53 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/303714)
4 years, 1 month ago (2016-10-27 01:38:03 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2430183002/240001
4 years, 1 month ago (2016-10-27 01:59:22 UTC) #56
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 1 month ago (2016-10-27 03:22:56 UTC) #57
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 03:28:24 UTC) #59
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/3f0b7ec4a4573fff9623546c348ee8fa9353d38c
Cr-Commit-Position: refs/heads/master@{#427925}

Powered by Google App Engine
This is Rietveld 408576698