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

Issue 776483002: Use the setting to determine whether showing context menu on mouse up. (Closed)

Created:
6 years ago by zino
Modified:
6 years ago
Reviewers:
haraken, Rick Byers
CC:
blink-reviews, blink-reviews-events_chromium.org, dglazkov+blink, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use the setting to determine whether showing context menu on mouse up. We can use a new web setting[1] instead of macro to detect the platform. If the setting is true, will be shown context menu on mouse up. (only windows) If it is false, will be shown on mouse down. (most platforms) [1] Dependency: https://crrev.com/775553002 (blink side) [2] Dependency: https://crrev.com/753373006 (chromium side) BUG=438544 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186483

Patch Set 1 #

Total comments: 2

Patch Set 2 : add layout test and exclude modifiers part. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -19 lines) Patch
A LayoutTests/fast/events/show-context-menu-on-mouse-up.html View 1 1 chunk +47 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/show-context-menu-on-mouse-up-expected.txt View 1 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 1 chunk +3 lines, -4 lines 1 comment Download
M Source/web/WebViewImpl.cpp View 1 2 chunks +15 lines, -15 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
zino
Dear Rick, Please take a look.
6 years ago (2014-12-02 18:02:25 UTC) #2
Rick Byers
Nice, I love removing #ifdefs ;-) Please add a simple LayoutTest that verifies the two ...
6 years ago (2014-12-02 19:33:07 UTC) #3
zino
Please take a look. I added @haraken as reviewer for web/*. Thank you. https://codereview.chromium.org/776483002/diff/1/Source/web/WebViewImpl.cpp File ...
6 years ago (2014-12-03 12:32:25 UTC) #6
Rick Byers
LGTM, thanks! https://codereview.chromium.org/776483002/diff/40001/Source/core/page/EventHandler.cpp File Source/core/page/EventHandler.cpp (right): https://codereview.chromium.org/776483002/diff/40001/Source/core/page/EventHandler.cpp#newcode2833 Source/core/page/EventHandler.cpp:2833: eventType = PlatformEvent::MouseReleased; Note to other reviewers: ...
6 years ago (2014-12-03 13:50:20 UTC) #7
haraken
web/ LGTM
6 years ago (2014-12-03 15:11:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/776483002/40001
6 years ago (2014-12-04 06:32:25 UTC) #10
commit-bot: I haz the power
6 years ago (2014-12-04 07:53:49 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186483

Powered by Google App Engine
This is Rietveld 408576698