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

Issue 1459463004: mus: Allow the WM to specify the windows that can have active children. (Closed)

Created:
5 years, 1 month ago by sadrul
Modified:
5 years, 1 month ago
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, penghuang+watch-mandoline_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mus: Allow the WM to specify the windows that can have active children. . The sample WindowManager creates various containers, and marks the container for user windows to be allowed to have active windows. Other containers may also be allowed to have active children in the future. . For mandoline, the BrowserWindow (which is the WM) marks the root as being able to contain active windows. Consequently, the browser window can be properly activated. . Raise a Window to the top when it becomes active. BUG=548422 Committed: https://crrev.com/5b2aedd64f34977e6ef73e22681f4f0dbdc0ec42 Cr-Commit-Position: refs/heads/master@{#361274}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 9

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : test #

Patch Set 8 : cleanup #

Patch Set 9 : tot-merge #

Patch Set 10 : tot-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -48 lines) Patch
M components/mus/public/cpp/tests/window_server_test_base.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/public/cpp/tests/window_server_test_base.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/public/interfaces/window_tree_host.mojom View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/mus/ws/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/ws/focus_controller.h View 1 2 3 4 5 6 7 8 5 chunks +13 lines, -4 lines 0 comments Download
M components/mus/ws/focus_controller.cc View 1 2 3 4 5 6 7 8 4 chunks +48 lines, -15 lines 0 comments Download
A + components/mus/ws/focus_controller_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -6 lines 0 comments Download
M components/mus/ws/focus_controller_observer.h View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -3 lines 0 comments Download
M components/mus/ws/focus_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +10 lines, -2 lines 0 comments Download
M components/mus/ws/window_manager_client_apptest.cc View 1 2 3 4 5 6 7 5 chunks +79 lines, -2 lines 0 comments Download
M components/mus/ws/window_tree_host_impl.h View 1 2 3 4 5 6 7 8 5 chunks +11 lines, -0 lines 0 comments Download
M components/mus/ws/window_tree_host_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +29 lines, -1 line 0 comments Download
M components/mus/ws/window_tree_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +20 lines, -15 lines 0 comments Download
M mandoline/ui/desktop_ui/browser_window.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M mash/wm/window_manager_application.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
sadrul
Still working on new tests, but there's enough code here to explain what I am ...
5 years, 1 month ago (2015-11-19 00:23:57 UTC) #3
Ben Goodger (Google)
https://codereview.chromium.org/1459463004/diff/60001/components/mus/public/interfaces/window_tree_host.mojom File components/mus/public/interfaces/window_tree_host.mojom (right): https://codereview.chromium.org/1459463004/diff/60001/components/mus/public/interfaces/window_tree_host.mojom#newcode32 components/mus/public/interfaces/window_tree_host.mojom:32: SetActivationParent(uint32 window_id, bool enable); how about AddActivationParent & RemoveActivationParent? ...
5 years, 1 month ago (2015-11-19 07:26:25 UTC) #4
sadrul
https://codereview.chromium.org/1459463004/diff/60001/components/mus/public/interfaces/window_tree_host.mojom File components/mus/public/interfaces/window_tree_host.mojom (right): https://codereview.chromium.org/1459463004/diff/60001/components/mus/public/interfaces/window_tree_host.mojom#newcode32 components/mus/public/interfaces/window_tree_host.mojom:32: SetActivationParent(uint32 window_id, bool enable); On 2015/11/19 07:26:24, Ben Goodger ...
5 years, 1 month ago (2015-11-19 19:33:34 UTC) #5
sadrul
Added an apptest. PTAL
5 years, 1 month ago (2015-11-21 08:49:23 UTC) #6
Ben Goodger (Google)
lgtm https://codereview.chromium.org/1459463004/diff/60001/components/mus/ws/focus_controller.cc File components/mus/ws/focus_controller.cc (right): https://codereview.chromium.org/1459463004/diff/60001/components/mus/ws/focus_controller.cc#newcode67 components/mus/ws/focus_controller.cc:67: // focused. On 2015/11/19 19:33:34, sadrul wrote: > ...
5 years, 1 month ago (2015-11-23 22:29:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459463004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459463004/180001
5 years, 1 month ago (2015-11-24 07:40:03 UTC) #10
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 1 month ago (2015-11-24 07:46:15 UTC) #11
commit-bot: I haz the power
5 years, 1 month ago (2015-11-24 07:47:16 UTC) #12
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/5b2aedd64f34977e6ef73e22681f4f0dbdc0ec42
Cr-Commit-Position: refs/heads/master@{#361274}

Powered by Google App Engine
This is Rietveld 408576698