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

Issue 2439953005: Support NSFlagsChanged in ui::EventFromNative. (Closed)

Created:
4 years, 2 months ago by alshabalin
Modified:
4 years, 1 month ago
CC:
chromium-reviews, mac-reviews_chromium.org, tdresser+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support NSFlagsChanged in ui::EventFromNative. On Windows and Linux pressing modifier only keys produce key pressed and key released events but on Mac this wasn't the case. This change adds support for NSFlagsChanged to equalize. BUG=659854 Committed: https://crrev.com/e9e6f93ed2bbd520915f9545ec97b2a33211d2ae Cr-Commit-Position: refs/heads/master@{#428607}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Unify NSFlagsChanged handling between content and ui/events. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -78 lines) Patch
M content/browser/renderer_host/input/web_input_event_builders_mac.mm View 1 2 chunks +2 lines, -75 lines 0 comments Download
M ui/events/cocoa/cocoa_event_utils.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/cocoa/cocoa_event_utils.mm View 1 2 chunks +73 lines, -0 lines 0 comments Download
M ui/events/cocoa/events_mac.mm View 1 2 chunks +2 lines, -3 lines 0 comments Download
M ui/events/cocoa/events_mac_unittest.mm View 1 2 chunks +42 lines, -0 lines 0 comments Download
M ui/events/test/cocoa_test_event_utils.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M ui/events/test/cocoa_test_event_utils.mm View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
alshabalin
PTAL
4 years, 2 months ago (2016-10-22 07:17:45 UTC) #3
sadrul
+tapted@
4 years, 1 month ago (2016-10-24 14:50:19 UTC) #5
tapted
Is there an overarching bug that this CL is fixing? (can you set a BUG=?) ...
4 years, 1 month ago (2016-10-25 06:55:10 UTC) #6
alshabalin
On 2016/10/25 06:55:10, tapted wrote: > Is there an overarching bug that this CL is ...
4 years, 1 month ago (2016-10-26 09:14:26 UTC) #7
alshabalin
On 2016/10/26 09:14:26, alshabalin wrote: > On 2016/10/25 06:55:10, tapted wrote: > > Is there ...
4 years, 1 month ago (2016-10-26 09:28:10 UTC) #8
tapted
On 2016/10/26 09:28:10, alshabalin wrote: > On 2016/10/26 09:14:26, alshabalin wrote: > > On 2016/10/25 ...
4 years, 1 month ago (2016-10-27 00:33:05 UTC) #9
alshabalin
+ aelias for content/browser/renderer_host/input https://codereview.chromium.org/2439953005/diff/1/ui/events/cocoa/events_mac.mm File ui/events/cocoa/events_mac.mm (right): https://codereview.chromium.org/2439953005/diff/1/ui/events/cocoa/events_mac.mm#newcode80 ui/events/cocoa/events_mac.mm:80: return EventTypeForFlagsChanged(native_event.modifierFlags, On 2016/10/27 00:33:05, ...
4 years, 1 month ago (2016-10-28 19:58:14 UTC) #12
alshabalin
On 2016/10/27 00:33:05, tapted wrote: > On 2016/10/26 09:28:10, alshabalin wrote: > > On 2016/10/26 ...
4 years, 1 month ago (2016-10-28 20:09:09 UTC) #13
tapted
lgtm
4 years, 1 month ago (2016-10-28 23:11:16 UTC) #14
aelias_OOO_until_Jul13
content/browser lgtm
4 years, 1 month ago (2016-10-29 00:26:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2439953005/20001
4 years, 1 month ago (2016-10-29 05:25:26 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/292675)
4 years, 1 month ago (2016-10-29 05:34:22 UTC) #19
sadrul
stamp lgtm
4 years, 1 month ago (2016-10-29 05:41:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2439953005/20001
4 years, 1 month ago (2016-10-29 06:01:59 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-29 06:39:59 UTC) #24
commit-bot: I haz the power
4 years, 1 month ago (2016-10-29 06:42:27 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e9e6f93ed2bbd520915f9545ec97b2a33211d2ae
Cr-Commit-Position: refs/heads/master@{#428607}

Powered by Google App Engine
This is Rietveld 408576698