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

Issue 2843193002: chromeos: fix focus for mushrome (Closed)

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

Description

chromeos: fix focus for mushrome There were two issues preventing focus from working correctly: . In ash there is a single FocusClient used. FocusSynchronizer didn't work well with this, and as a result never told mus about focus changes. . Mushrome mode was never configuring activation parents in mus. This meant even once the previous item was fixed mus would ignore the focus request. The fix is to move configuration of activation parents to the right place. BUG=none TEST=covered by tests R=msw@chromium.org Review-Url: https://codereview.chromium.org/2843193002 Cr-Commit-Position: refs/heads/master@{#467581} Committed: https://chromium.googlesource.com/chromium/src/+/68612719a16f976f78ab504a98295dc120d14852

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 34

Patch Set 3 : merge #

Patch Set 4 : feedback #

Total comments: 8

Patch Set 5 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -63 lines) Patch
M ash/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M ash/aura/shell_port_classic.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ash/aura/shell_port_classic.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ash/mus/bridge/shell_port_mash.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ash/mus/bridge/shell_port_mash.cc View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M ash/mus/window_manager.cc View 1 2 3 2 chunks +0 lines, -8 lines 0 comments Download
A ash/mus/window_manager_common_unittests.cc View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 3 chunks +11 lines, -0 lines 0 comments Download
M ash/shell_port.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ash/test/ash_test_helper.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/mus/focus_synchronizer.h View 3 chunks +13 lines, -1 line 0 comments Download
M ui/aura/mus/focus_synchronizer.cc View 1 2 3 3 chunks +19 lines, -3 lines 0 comments Download
M ui/aura/mus/window_tree_client.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 3 13 chunks +46 lines, -49 lines 0 comments Download
A ui/aura/test/mus/test_window_manager_client.h View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
A ui/aura/test/mus/test_window_manager_client.cc View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download
M ui/aura/test/mus/test_window_tree_client_setup.h View 3 chunks +7 lines, -0 lines 0 comments Download
M ui/aura/test/mus/test_window_tree_client_setup.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M ui/aura/test/mus/window_tree_client_private.h View 2 chunks +3 lines, -0 lines 0 comments Download
M ui/aura/test/mus/window_tree_client_private.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
sky
3 years, 7 months ago (2017-04-26 21:43:13 UTC) #1
msw
Perhaps riajiang@ or perkj@ should review the FocusSynchronizer change? https://codereview.chromium.org/2843193002/diff/20001/ash/aura/shell_port_classic.h File ash/aura/shell_port_classic.h (right): https://codereview.chromium.org/2843193002/diff/20001/ash/aura/shell_port_classic.h#newcode88 ash/aura/shell_port_classic.h:88: ...
3 years, 7 months ago (2017-04-26 23:01:09 UTC) #4
sky
https://codereview.chromium.org/2843193002/diff/20001/ash/aura/shell_port_classic.h File ash/aura/shell_port_classic.h (right): https://codereview.chromium.org/2843193002/diff/20001/ash/aura/shell_port_classic.h#newcode88 ash/aura/shell_port_classic.h:88: void OnCreatedRootWindowContainers( On 2017/04/26 23:01:07, msw wrote: > nit: ...
3 years, 7 months ago (2017-04-26 23:30:29 UTC) #6
msw
lgtm with minor nits. I think I sufficiently understand the need for the singleton config, ...
3 years, 7 months ago (2017-04-26 23:44:46 UTC) #8
sky
+ria to look at focus_synchronizer changes when you have a chance. https://codereview.chromium.org/2843193002/diff/60001/ash/mus/window_manager_common_unittests.cc File ash/mus/window_manager_common_unittests.cc (right): ...
3 years, 7 months ago (2017-04-27 02:49:41 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/2843193002/80001
3 years, 7 months ago (2017-04-27 02:50:14 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/68612719a16f976f78ab504a98295dc120d14852
3 years, 7 months ago (2017-04-27 04:45:17 UTC) #18
riajiang
3 years, 7 months ago (2017-04-28 15:14:15 UTC) #19
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698