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

Issue 2863913004: chromeos: makes mus send keyevents to display root when nothing has focus (Closed)

Created:
3 years, 7 months ago by sky
Modified:
3 years, 7 months ago
Reviewers:
sadrul
CC:
chromium-reviews, rjkroege, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: makes mus send keyevents to display root when nothing has focus Prior to this change if no windows have focus then the KeyEvent is dropped. This change makes it so that if no windows have focus then the KeyEvent is targetted to the window manager. This makes it so accelerators work in mushrome (accelerators in mushrome are implemented using classic-ash mechanism, *not* as accelerators registered with mus). BUG=717676 TEST=covered by tests R=sadrul@chromium.org Review-Url: https://codereview.chromium.org/2863913004 Cr-Commit-Position: refs/heads/master@{#470032} Committed: https://chromium.googlesource.com/chromium/src/+/9af279fc5d9475d998c2080bb62be6a732279827

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : moar #

Total comments: 2

Patch Set 4 : GetClientVisibleRoot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -25 lines) Patch
M ash/mus/accelerators/accelerator_controller_registrar.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/cursor_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M services/ui/ws/display.h View 1 chunk +2 lines, -2 lines 0 comments Download
M services/ui/ws/window_manager_display_root.h View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M services/ui/ws/window_manager_display_root.cc View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M services/ui/ws/window_manager_state.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_manager_state.cc View 1 2 3 4 chunks +17 lines, -5 lines 0 comments Download
M services/ui/ws/window_server.cc View 1 2 3 1 chunk +1 line, -12 lines 0 comments Download
M services/ui/ws/window_tree_unittest.cc View 1 2 1 chunk +16 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
sky
3 years, 7 months ago (2017-05-05 22:19:58 UTC) #1
sadrul
lgtm https://codereview.chromium.org/2863913004/diff/40001/services/ui/ws/window_manager_state.cc File services/ui/ws/window_manager_state.cc (right): https://codereview.chromium.org/2863913004/diff/40001/services/ui/ws/window_manager_state.cc#newcode393 services/ui/ws/window_manager_state.cc:393: return display_root->root()->children()[0]; Maybe there should be a WindowManagerDisplayRoot::Get[Client]VisibleRoot() ...
3 years, 7 months ago (2017-05-08 15:24:19 UTC) #8
sky
https://codereview.chromium.org/2863913004/diff/40001/services/ui/ws/window_manager_state.cc File services/ui/ws/window_manager_state.cc (right): https://codereview.chromium.org/2863913004/diff/40001/services/ui/ws/window_manager_state.cc#newcode393 services/ui/ws/window_manager_state.cc:393: return display_root->root()->children()[0]; On 2017/05/08 15:24:19, sadrul wrote: > Maybe ...
3 years, 7 months ago (2017-05-08 15:53:00 UTC) #9
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/2863913004/60001
3 years, 7 months ago (2017-05-08 15:53:37 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/209627)
3 years, 7 months ago (2017-05-08 16:12:17 UTC) #14
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/2863913004/60001
3 years, 7 months ago (2017-05-08 16:54:17 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/209754)
3 years, 7 months ago (2017-05-08 17:10:37 UTC) #18
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/2863913004/60001
3 years, 7 months ago (2017-05-08 17:13:55 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 17:24:05 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/9af279fc5d9475d998c2080bb62b...

Powered by Google App Engine
This is Rietveld 408576698