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

Issue 1703683003: The key event should be stopped propagation when it's been processed as an accelerator. (Closed)

Created:
4 years, 10 months ago by Shu Chen
Modified:
4 years, 10 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, tfarina, afakhry
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

The key event should be stopped propagation when it's been processed as an accelerator. BUG=587345 Committed: https://crrev.com/f46e41598c3205fac6c4f2f994839014cefeb7ba Cr-Commit-Position: refs/heads/master@{#376933}

Patch Set 1 #

Patch Set 2 : Do StopPropagation() in DNWA/NWA. #

Total comments: 2

Patch Set 3 : moved the logic to widget.cc. #

Patch Set 4 : add a test. #

Patch Set 5 : CQ green. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -16 lines) Patch
M ui/views/mus/native_widget_mus.cc View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 2 2 chunks +1 line, -7 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M ui/views/widget/widget.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/widget/widget_interactive_uitest.cc View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (10 generated)
Shu Chen
Scott, can you please take a look? Thanks
4 years, 10 months ago (2016-02-17 09:05:47 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1703683003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1703683003/1
4 years, 10 months ago (2016-02-17 09:07:03 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/51078) linux_chromium_gn_chromeos_rel on ...
4 years, 10 months ago (2016-02-17 09:22:30 UTC) #5
sky
+sadrul Please add test coverage. Stopping propagation entirely may have unexpected consequences. What handler is ...
4 years, 10 months ago (2016-02-17 18:15:11 UTC) #8
sadrul
https://codereview.chromium.org/1703683003/diff/20001/ui/views/widget/native_widget_aura.cc File ui/views/widget/native_widget_aura.cc (right): https://codereview.chromium.org/1703683003/diff/20001/ui/views/widget/native_widget_aura.cc#newcode881 ui/views/widget/native_widget_aura.cc:881: } Should this code just move into Widget::OnKeyEvent()? That ...
4 years, 10 months ago (2016-02-17 21:17:55 UTC) #9
Shu Chen
On 2016/02/17 18:15:11, sky wrote: > +sadrul > Please add test coverage. > Stopping propagation ...
4 years, 10 months ago (2016-02-18 00:19:15 UTC) #10
Shu Chen
https://codereview.chromium.org/1703683003/diff/20001/ui/views/widget/native_widget_aura.cc File ui/views/widget/native_widget_aura.cc (right): https://codereview.chromium.org/1703683003/diff/20001/ui/views/widget/native_widget_aura.cc#newcode881 ui/views/widget/native_widget_aura.cc:881: } On 2016/02/17 21:17:55, sadrul wrote: > Should this ...
4 years, 10 months ago (2016-02-18 00:29:54 UTC) #11
Shu Chen
sky@, I've added a test. Can you please take another look? Thanks
4 years, 10 months ago (2016-02-18 04:44:56 UTC) #12
sky
On Wed, Feb 17, 2016 at 4:19 PM, <shuchen@chromium.org> wrote: > On 2016/02/17 18:15:11, sky ...
4 years, 10 months ago (2016-02-18 17:49:54 UTC) #13
Shu Chen
On 2016/02/18 17:49:54, sky wrote: > On Wed, Feb 17, 2016 at 4:19 PM, <mailto:shuchen@chromium.org> ...
4 years, 10 months ago (2016-02-19 00:29:50 UTC) #14
Shu Chen
On 2016/02/19 00:29:50, Shu Chen wrote: > On 2016/02/18 17:49:54, sky wrote: > > On ...
4 years, 10 months ago (2016-02-19 00:30:24 UTC) #15
sky
On 2016/02/19 00:30:24, Shu Chen wrote: > On 2016/02/19 00:29:50, Shu Chen wrote: > > ...
4 years, 10 months ago (2016-02-19 00:56:16 UTC) #16
sadrul
On 2016/02/19 00:56:16, sky wrote: > On 2016/02/19 00:30:24, Shu Chen wrote: > > On ...
4 years, 10 months ago (2016-02-19 21:30:55 UTC) #17
sky
I'm going to LGTM this. I find the current state of affairs rather confusing, but ...
4 years, 10 months ago (2016-02-19 23:19:27 UTC) #18
Shu Chen
On 2016/02/19 21:30:55, sadrul wrote: > On 2016/02/19 00:56:16, sky wrote: > > On 2016/02/19 ...
4 years, 10 months ago (2016-02-20 06:39:17 UTC) #19
Shu Chen
landing this to catch the M49 stable cut on 2/25.
4 years, 10 months ago (2016-02-23 03:00:23 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1703683003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1703683003/60001
4 years, 10 months ago (2016-02-23 03:03:17 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/129025)
4 years, 10 months ago (2016-02-23 03:53:07 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1703683003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1703683003/80001
4 years, 10 months ago (2016-02-23 05:33:15 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-23 06:18:40 UTC) #29
commit-bot: I haz the power
4 years, 10 months ago (2016-02-23 06:19:57 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f46e41598c3205fac6c4f2f994839014cefeb7ba
Cr-Commit-Position: refs/heads/master@{#376933}

Powered by Google App Engine
This is Rietveld 408576698