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

Issue 302593002: Use changed_button_flags() when converting MouseEvent to blink::WebMouseEvent. (Closed)

Created:
6 years, 7 months ago by joleksy
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Use changed_button_flags() when converting MouseEvent to blink::WebMouseEvent. Event::flags() contains all the buttons that are being held down during the event, while MouseEvent::changed_button_flags() contains the buttons that are actually pressed/released during the event (and this is what we really are interested in). This fixes the issue with LMB being pressed while RMB is being held down. Without the fix, we always get blink::WebMouseEvent::ButtonRight in blink::WebMouseEvent::button. Committed: https://crrev.com/87e6b0f6d72b12e4b0308b035d1c06f2beb90feb Cr-Commit-Position: refs/heads/master@{#293487}

Patch Set 1 #

Patch Set 2 : Only use changed_button_flags() for MousePressed & MouseReleased. #

Patch Set 3 : Use changed_button_flags() only if it is set. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -3 lines) Patch
M content/browser/renderer_host/web_input_event_aura.cc View 1 2 1 chunk +12 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (1 generated)
joleksy
@reviewer: does it look ok to you?
6 years, 7 months ago (2014-05-26 06:53:42 UTC) #1
Ben Goodger (Google)
lgtm
6 years, 6 months ago (2014-05-27 15:54:37 UTC) #2
joleksy
On 2014/05/27 15:54:37, Ben Goodger (Google) wrote: > lgtm Hey, do we have a chance ...
6 years, 3 months ago (2014-09-04 07:33:22 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joleksy@opera.com/302593002/20001
6 years, 3 months ago (2014-09-05 07:37:56 UTC) #5
joleksy
On 2014/09/05 07:37:56, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 3 months ago (2014-09-05 07:41:44 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as c4471b43ad445a76fa0a1408b85c11c945d2e830
6 years, 3 months ago (2014-09-05 10:09:26 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/87e6b0f6d72b12e4b0308b035d1c06f2beb90feb Cr-Commit-Position: refs/heads/master@{#293487}
6 years, 3 months ago (2014-09-10 03:38:23 UTC) #8
Lei Zhang
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/563713002/ by thestig@chromium.org. ...
6 years, 3 months ago (2014-09-11 09:33:45 UTC) #9
joleksy
On 2014/09/11 09:33:45, Lei Zhang wrote: > A revert of this CL (patchset #2 id:20001) ...
6 years, 3 months ago (2014-09-11 11:28:50 UTC) #10
joleksy
On 2014/09/11 11:28:50, joleksy wrote: > On 2014/09/11 09:33:45, Lei Zhang wrote: > > A ...
6 years, 3 months ago (2014-09-11 12:00:46 UTC) #11
joleksy
Not sure if the update mail was sent when the issue was closed so I ...
6 years, 3 months ago (2014-09-11 13:57:08 UTC) #12
joleksy
On 2014/09/11 13:57:08, joleksy wrote: > Not sure if the update mail was sent when ...
6 years, 3 months ago (2014-09-18 14:02:25 UTC) #13
joleksy
6 years, 3 months ago (2014-09-22 07:44:06 UTC) #14
Message was sent while issue was closed.
On 2014/09/18 14:02:25, joleksy wrote:
> On 2014/09/11 13:57:08, joleksy wrote:
> > Not sure if the update mail was sent when the issue was closed so I am
sending
> > message again after reopening Fixed the DCHECK.
> 
> Hello?:-)

Seems to be forgotten so I created a new one:
https://codereview.chromium.org/585393002/

Powered by Google App Engine
This is Rietveld 408576698