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

Issue 1824733006: Suppress mouseup/down when button is NoButton (Closed)

Created:
4 years, 9 months ago by Navid Zolghadr
Modified:
4 years, 8 months ago
Reviewers:
mustaq, dtapuska, Rick Byers
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Suppress mouseup/down when button is NoButton Chrome sends the mousedown/up in some cases when the 4th/5th button is pressed/released without actually sending that button value as we don't have yet the plumbing needed for that. BUG=574959 Committed: https://crrev.com/620c6710dc14652ce936417c04a355c529cd89c1 Cr-Commit-Position: refs/heads/master@{#383812}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removing redundant braces #

Total comments: 1

Patch Set 3 : Moving the checks to the origin #

Patch Set 4 : Change to HandledSuppressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
Navid Zolghadr
ptal
4 years, 9 months ago (2016-03-23 17:57:39 UTC) #3
dtapuska
https://codereview.chromium.org/1824733006/diff/1/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1824733006/diff/1/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1693 third_party/WebKit/Source/core/input/EventHandler.cpp:1693: if (mouseEventType != EventTypeNames::mousemove && mouseEvent.button() == NoButton) { ...
4 years, 9 months ago (2016-03-23 18:37:31 UTC) #5
mustaq
https://codereview.chromium.org/1824733006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1824733006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1382 third_party/WebKit/Source/core/input/EventHandler.cpp:1382: clickEventResult = WebInputEventResult::HandledSystem; I think we should make those ...
4 years, 9 months ago (2016-03-23 19:13:26 UTC) #6
Navid Zolghadr
ptal. Dave, also does HandledSystem make sense in this case or should I return NotHandled?
4 years, 9 months ago (2016-03-24 14:46:04 UTC) #7
dtapuska
On 2016/03/24 14:46:04, Navid Zolghadr wrote: > ptal. > > Dave, also does HandledSystem make ...
4 years, 9 months ago (2016-03-24 15:01:07 UTC) #8
Navid Zolghadr
On 2016/03/24 15:01:07, dtapuska wrote: > On 2016/03/24 14:46:04, Navid Zolghadr wrote: > > ptal. ...
4 years, 9 months ago (2016-03-24 15:11:39 UTC) #9
mustaq
On 2016/03/24 15:11:39, Navid Zolghadr wrote: > On 2016/03/24 15:01:07, dtapuska wrote: > > On ...
4 years, 9 months ago (2016-03-24 15:43:44 UTC) #10
dtapuska
On 2016/03/24 15:43:44, mustaq wrote: > On 2016/03/24 15:11:39, Navid Zolghadr wrote: > > On ...
4 years, 9 months ago (2016-03-24 15:52:25 UTC) #11
Navid Zolghadr
ptal. I changed it to HandledSuppressed.
4 years, 9 months ago (2016-03-24 15:59:48 UTC) #12
dtapuska
On 2016/03/24 15:59:48, Navid Zolghadr wrote: > ptal. > > I changed it to HandledSuppressed. ...
4 years, 9 months ago (2016-03-24 16:02:07 UTC) #13
mustaq
lgtm
4 years, 9 months ago (2016-03-24 16:05:38 UTC) #14
Rick Byers
Sorry for the delay - I'd written something last week but apparently I didn't actually ...
4 years, 8 months ago (2016-03-29 16:09:43 UTC) #15
Rick Byers
Sorry for the delay - I'd written something last week but apparently I didn't actually ...
4 years, 8 months ago (2016-03-29 16:09:45 UTC) #16
Navid Zolghadr
On 2016/03/29 16:09:45, Rick Byers wrote: > Sorry for the delay - I'd written something ...
4 years, 8 months ago (2016-03-29 16:21:18 UTC) #17
mustaq
On 2016/03/29 16:21:18, Navid Zolghadr wrote: > On 2016/03/29 16:09:45, Rick Byers wrote: > > ...
4 years, 8 months ago (2016-03-29 16:25:20 UTC) #18
Navid Zolghadr
On 2016/03/29 16:25:20, mustaq wrote: > On 2016/03/29 16:21:18, Navid Zolghadr wrote: > > On ...
4 years, 8 months ago (2016-03-29 16:26:59 UTC) #19
Rick Byers
On 2016/03/29 16:26:59, Navid Zolghadr wrote: > On 2016/03/29 16:25:20, mustaq wrote: > > On ...
4 years, 8 months ago (2016-03-29 19:20:35 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1824733006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1824733006/60001
4 years, 8 months ago (2016-03-29 19:39:18 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-03-29 20:48:41 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 20:50:20 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/620c6710dc14652ce936417c04a355c529cd89c1
Cr-Commit-Position: refs/heads/master@{#383812}

Powered by Google App Engine
This is Rietveld 408576698