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

Issue 232573002: Deliver Menu key event after sending context menu event (Closed)

Created:
6 years, 8 months ago by anish.p
Modified:
6 years, 8 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Deliver Menu key event after sending context menu event BUG=168845 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171830

Patch Set 1 #

Patch Set 2 : Propagating of key event to DOM before sending it to context menu #

Patch Set 3 : Test case similar to DOMContextMenu #

Patch Set 4 : Layout test for menu key event #

Patch Set 5 : Layout test for menu key event #

Total comments: 4

Patch Set 6 : Order of menu events and disabling test for mac #

Patch Set 7 : Fix for Layout test failure on windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -43 lines) Patch
A + LayoutTests/platform/linux/fast/events/keydown-menu-key.html View 1 2 3 4 5 6 2 chunks +6 lines, -15 lines 0 comments Download
A LayoutTests/platform/linux/fast/events/keydown-menu-key-expected.txt View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
A + LayoutTests/platform/win/fast/events/keydown-menu-key.html View 1 2 3 4 5 6 2 chunks +6 lines, -15 lines 0 comments Download
A LayoutTests/platform/win/fast/events/keydown-menu-key-expected.txt View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 chunks +13 lines, -13 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
anish.p
6 years, 8 months ago (2014-04-10 06:42:20 UTC) #1
anish.p
This behavior is similar to Firefox now.
6 years, 8 months ago (2014-04-10 09:02:50 UTC) #2
Nate Chapin
On 2014/04/10 09:02:50, anish.p wrote: > This behavior is similar to Firefox now. I'll defer ...
6 years, 8 months ago (2014-04-11 15:58:46 UTC) #3
adamk
...and unfortunately I have to defer as well, to tkent, to whom I send all ...
6 years, 8 months ago (2014-04-14 17:03:53 UTC) #4
tkent
Looks a reasonable change. Please add a test.
6 years, 8 months ago (2014-04-15 05:04:54 UTC) #5
anish.p
On 2014/04/15 05:04:54, tkent wrote: > Looks a reasonable change. > Please add a test. ...
6 years, 8 months ago (2014-04-15 11:40:26 UTC) #6
tkent
We should not add new manual test. Please make a layout test or a unit ...
6 years, 8 months ago (2014-04-16 01:29:35 UTC) #7
anish.p
Added a layout test and removed earlier manual test patch. Please take a look.
6 years, 8 months ago (2014-04-16 04:58:32 UTC) #8
tkent
https://codereview.chromium.org/232573002/diff/70001/LayoutTests/fast/events/keydown-menu-key-expected.txt File LayoutTests/fast/events/keydown-menu-key-expected.txt (right): https://codereview.chromium.org/232573002/diff/70001/LayoutTests/fast/events/keydown-menu-key-expected.txt#newcode1 LayoutTests/fast/events/keydown-menu-key-expected.txt:1: This test verifies the keycode sent when we press ...
6 years, 8 months ago (2014-04-16 05:18:40 UTC) #9
anish.p
Please have a look. I made changes as per review comments. https://codereview.chromium.org/232573002/diff/70001/LayoutTests/fast/events/keydown-menu-key-expected.txt File LayoutTests/fast/events/keydown-menu-key-expected.txt (right): ...
6 years, 8 months ago (2014-04-16 06:50:25 UTC) #10
tkent
The test failed on windows. Please investigate it. https://storage.googleapis.com/chromium-layout-test-archives/win_blink_rel/3992/layout-test-results/results.html
6 years, 8 months ago (2014-04-16 08:38:21 UTC) #11
anish.p
On Windows, KeyUp triggers context menu. In my opinion, thats why test failed. I do ...
6 years, 8 months ago (2014-04-16 09:03:43 UTC) #12
tkent
lgtm
6 years, 8 months ago (2014-04-17 01:49:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anish.p@samsung.com/232573002/110001
6 years, 8 months ago (2014-04-17 01:49:47 UTC) #14
commit-bot: I haz the power
6 years, 8 months ago (2014-04-17 02:53:43 UTC) #15
Message was sent while issue was closed.
Change committed as 171830

Powered by Google App Engine
This is Rietveld 408576698