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

Issue 788173002: Should set the modifiers for web mouse event on Mac. (Closed)

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

Description

Should set the modifiers for web mouse event on Mac. We should add the mouse modifiers when creating web mouse event from NSEvent. The modifiers can be used for MouseEvent.buttons attribute. BUG=440483 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187089

Patch Set 1 #

Patch Set 2 : fixed #

Total comments: 2

Patch Set 3 : fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M Source/web/WebInputEventFactoryMac.mm View 1 2 1 chunk +12 lines, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
zino
PTAL. I think we need a test to create web mouse event from NSEvent. However, ...
6 years ago (2014-12-11 16:21:34 UTC) #2
haraken
https://codereview.chromium.org/788173002/diff/20001/Source/web/WebInputEventFactoryMac.mm File Source/web/WebInputEventFactoryMac.mm (right): https://codereview.chromium.org/788173002/diff/20001/Source/web/WebInputEventFactoryMac.mm#newcode725 Source/web/WebInputEventFactoryMac.mm:725: if ([NSEvent pressedMouseButtons] & 1 << 0) Don't we ...
6 years ago (2014-12-11 16:24:14 UTC) #3
zino
Please take a look. Thank you. :) https://codereview.chromium.org/788173002/diff/20001/Source/web/WebInputEventFactoryMac.mm File Source/web/WebInputEventFactoryMac.mm (right): https://codereview.chromium.org/788173002/diff/20001/Source/web/WebInputEventFactoryMac.mm#newcode725 Source/web/WebInputEventFactoryMac.mm:725: if ([NSEvent ...
6 years ago (2014-12-11 17:01:28 UTC) #4
haraken
On 2014/12/11 17:01:28, zino wrote: > Please take a look. > > Thank you. :) ...
6 years ago (2014-12-11 23:28:53 UTC) #6
Rick Byers
LGTM Note that there is Source/web/tests/WebInputEventFactoryTestMac.mm for unit tests for this file. But I've previously ...
6 years ago (2014-12-12 21:16:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/788173002/60001
6 years ago (2014-12-13 02:45:21 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/41458)
6 years ago (2014-12-13 04:48:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/788173002/60001
6 years ago (2014-12-13 05:34:34 UTC) #13
commit-bot: I haz the power
6 years ago (2014-12-13 07:49:00 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187089

Powered by Google App Engine
This is Rietveld 408576698