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

Issue 1907153002: mash/wm: Fix detecting container windows. (Closed)

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

Description

mash/wm: Fix detecting container windows. Now that not all container windows are direct children of the root window, it is necessary to consult the RootWindowController to find the container windows. Also, instead of checking whether a direct child of the root, RootWindowController needs to look at the local-id of a window to determine whether it's a container window or not. BUG=605668 Committed: https://crrev.com/0a064b94c18ee6d1d251c8d381aa8c22372e6248 Cr-Commit-Position: refs/heads/master@{#389152}

Patch Set 1 #

Patch Set 2 : fix-gn-check #

Total comments: 7

Patch Set 3 : . #

Patch Set 4 : self-nits #

Total comments: 2

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -23 lines) Patch
M mash/wm/BUILD.gn View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
A mash/wm/disconnected_app_handler.h View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A mash/wm/disconnected_app_handler.cc View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M mash/wm/root_window_controller.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M mash/wm/window_manager.h View 1 2 4 chunks +4 lines, -2 lines 0 comments Download
M mash/wm/window_manager.cc View 1 2 3 4 chunks +28 lines, -20 lines 0 comments Download
M mash/wm/window_manager_unittest.cc View 3 chunks +83 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
sadrul
4 years, 8 months ago (2016-04-22 00:36:05 UTC) #2
sky
https://codereview.chromium.org/1907153002/diff/20001/mash/wm/root_window_controller.cc File mash/wm/root_window_controller.cc (right): https://codereview.chromium.org/1907153002/diff/20001/mash/wm/root_window_controller.cc#newcode77 mash/wm/root_window_controller.cc:77: window->local_id() < ContainerToLocalId(mojom::Container::COUNT); The default local_id is -1, should ...
4 years, 8 months ago (2016-04-22 15:23:42 UTC) #3
sky
https://codereview.chromium.org/1907153002/diff/20001/mash/wm/window_manager.cc File mash/wm/window_manager.cc (right): https://codereview.chromium.org/1907153002/diff/20001/mash/wm/window_manager.cc#newcode48 mash/wm/window_manager.cc:48: // Observe all the containers and their child windows. ...
4 years, 8 months ago (2016-04-22 15:25:40 UTC) #4
sadrul
https://codereview.chromium.org/1907153002/diff/20001/mash/wm/root_window_controller.cc File mash/wm/root_window_controller.cc (right): https://codereview.chromium.org/1907153002/diff/20001/mash/wm/root_window_controller.cc#newcode77 mash/wm/root_window_controller.cc:77: window->local_id() < ContainerToLocalId(mojom::Container::COUNT); On 2016/04/22 15:23:41, sky wrote: > ...
4 years, 8 months ago (2016-04-22 16:06:06 UTC) #5
sky
LGTM https://codereview.chromium.org/1907153002/diff/60001/mash/wm/disconnected_app_handler.h File mash/wm/disconnected_app_handler.h (right): https://codereview.chromium.org/1907153002/diff/60001/mash/wm/disconnected_app_handler.h#newcode14 mash/wm/disconnected_app_handler.h:14: class DisconnectedAppHandler : public mus::WindowTracker { Add a ...
4 years, 8 months ago (2016-04-22 16:34:27 UTC) #6
sadrul
https://codereview.chromium.org/1907153002/diff/60001/mash/wm/disconnected_app_handler.h File mash/wm/disconnected_app_handler.h (right): https://codereview.chromium.org/1907153002/diff/60001/mash/wm/disconnected_app_handler.h#newcode14 mash/wm/disconnected_app_handler.h:14: class DisconnectedAppHandler : public mus::WindowTracker { On 2016/04/22 16:34:27, ...
4 years, 8 months ago (2016-04-22 17:08:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907153002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907153002/80001
4 years, 8 months ago (2016-04-22 17:09:33 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-22 17:37:01 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:49:17 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0a064b94c18ee6d1d251c8d381aa8c22372e6248
Cr-Commit-Position: refs/heads/master@{#389152}

Powered by Google App Engine
This is Rietveld 408576698