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

Issue 2470963002: Makes it possible for clients to directly create WindowTreeHostMus (Closed)

Created:
4 years, 1 month ago by sky
Modified:
4 years, 1 month ago
Reviewers:
sadrul
CC:
chromium-reviews, kalyank, sadrul, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes it possible for clients to directly create WindowTreeHostMus Views code needs this so that it can subclass WindowTreeHostMus. In particular views code wants to subclass WindowTreeHostMus. As a result of this I changed around the following: . Got rid of the extra window that was sometimes around in WindowTreeHostMus (yay!) . Made bounds in WindowTreeHostMus always screen relative, no more offset and other magic. To get this right I need to fix the server side too, 661270, I'll do that separately. . Made ownership clearer. Now that WindowTreeHostMus is either explicitly created, or passed to client code it's clear who owns it. BUG=659155 TEST=covered by tests R=sadrul@chromium.org Committed: https://crrev.com/f125d4f174b291f6ada877cfa401ed2db9e13e12 Cr-Commit-Position: refs/heads/master@{#429327}

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : compile #

Patch Set 4 : includes #

Total comments: 8

Patch Set 5 : merge to trunk #

Patch Set 6 : nuke comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -435 lines) Patch
M ui/aura/mus/mus_types.h View 1 chunk +15 lines, -5 lines 0 comments Download
M ui/aura/mus/window_manager_delegate.h View 1 2 chunks +6 lines, -4 lines 0 comments Download
M ui/aura/mus/window_mus.h View 1 2 3 4 5 4 chunks +4 lines, -15 lines 0 comments Download
M ui/aura/mus/window_port_mus.h View 1 2 chunks +3 lines, -5 lines 0 comments Download
M ui/aura/mus/window_port_mus.cc View 1 17 chunks +5 lines, -40 lines 0 comments Download
M ui/aura/mus/window_tree_client.h View 1 5 chunks +18 lines, -19 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 14 chunks +78 lines, -150 lines 0 comments Download
M ui/aura/mus/window_tree_client_delegate.h View 1 2 chunks +3 lines, -4 lines 0 comments Download
M ui/aura/mus/window_tree_client_unittest.cc View 10 chunks +40 lines, -38 lines 0 comments Download
M ui/aura/mus/window_tree_host_mus.h View 3 chunks +6 lines, -45 lines 0 comments Download
M ui/aura/mus/window_tree_host_mus.cc View 1 5 chunks +16 lines, -75 lines 0 comments Download
M ui/aura/mus/window_tree_host_mus_delegate.h View 1 chunk +15 lines, -5 lines 0 comments Download
M ui/aura/test/aura_test_base.h View 2 chunks +3 lines, -2 lines 0 comments Download
M ui/aura/test/aura_test_base.cc View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M ui/aura/test/aura_test_helper.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/aura/window.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ui/aura/window_port.h View 1 2 chunks +2 lines, -11 lines 0 comments Download
M ui/aura/window_port_local.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M ui/aura/window_port_local.cc View 1 1 chunk +1 line, -6 lines 0 comments Download
M ui/views/mus/mus_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/mus/mus_client.cc View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
sky
4 years, 1 month ago (2016-11-01 21:29:44 UTC) #1
sadrul
https://codereview.chromium.org/2470963002/diff/60001/ui/aura/mus/window_mus.h File ui/aura/mus/window_mus.h (right): https://codereview.chromium.org/2470963002/diff/60001/ui/aura/mus/window_mus.h#newcode58 ui/aura/mus/window_mus.h:58: // exceptions (such as the root of a WindowTreeHost) ...
4 years, 1 month ago (2016-11-02 16:03:04 UTC) #14
sky
https://codereview.chromium.org/2470963002/diff/60001/ui/aura/mus/window_mus.h File ui/aura/mus/window_mus.h (right): https://codereview.chromium.org/2470963002/diff/60001/ui/aura/mus/window_mus.h#newcode58 ui/aura/mus/window_mus.h:58: // exceptions (such as the root of a WindowTreeHost) ...
4 years, 1 month ago (2016-11-02 16:53:23 UTC) #15
sadrul
lgtm
4 years, 1 month ago (2016-11-02 16:58:59 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/2470963002/100001
4 years, 1 month ago (2016-11-02 17:36:49 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-02 17:49:15 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 17:56:45 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f125d4f174b291f6ada877cfa401ed2db9e13e12
Cr-Commit-Position: refs/heads/master@{#429327}

Powered by Google App Engine
This is Rietveld 408576698