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

Issue 2484813002: Add child for parent_mus when params.parent_mus is not initialized. (Closed)

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

Description

Add child for parent_mus when params.parent_mus is not initialized. BUG=662967 Committed: https://crrev.com/42aac8ce7e34d1d18932bacf417c276f2ad2cf17 Cr-Commit-Position: refs/heads/master@{#431018}

Patch Set 1 #

Total comments: 3

Patch Set 2 : clean up code so parent_mus only adds child widget once. #

Patch Set 3 : Attempt to write unittest for InitNativeWidget in ui/views/mus/native_widget_mus.cc. #

Patch Set 4 : Use WindowTreeClient to add a new window WA that contains the child widget A. By setting child_para… #

Patch Set 5 : Rename non child widget #

Patch Set 6 : Fix typo #

Patch Set 7 : Fix typo #

Total comments: 9

Patch Set 8 : Clean up code and update test description. #

Patch Set 9 : Discard this patchset. Wrong branch committed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -7 lines) Patch
M ash/mus/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/test/wm_test_base.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -0 lines 0 comments Download
M ash/mus/test/wm_test_base.cc View 1 2 3 4 5 6 7 8 1 chunk +59 lines, -0 lines 0 comments Download
A ash/mus/window_manager_ash_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +56 lines, -0 lines 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 3 1 chunk +11 lines, -6 lines 0 comments Download
M ui/views/mus/native_widget_mus_unittest.cc View 1 2 3 4 5 6 7 3 chunks +51 lines, -1 line 0 comments Download

Messages

Total messages: 23 (11 generated)
mfomitchev
https://codereview.chromium.org/2484813002/diff/1/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (right): https://codereview.chromium.org/2484813002/diff/1/ui/views/mus/native_widget_mus.cc#newcode778 ui/views/mus/native_widget_mus.cc:778: if (params.parent_mus) Can we make it so we only ...
4 years, 1 month ago (2016-11-07 18:19:23 UTC) #2
thanhph
https://codereview.chromium.org/2484813002/diff/1/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (right): https://codereview.chromium.org/2484813002/diff/1/ui/views/mus/native_widget_mus.cc#newcode778 ui/views/mus/native_widget_mus.cc:778: if (params.parent_mus) On 2016/11/07 18:19:23, mfomitchev wrote: > Can ...
4 years, 1 month ago (2016-11-07 19:50:56 UTC) #3
mfomitchev
https://codereview.chromium.org/2484813002/diff/1/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (right): https://codereview.chromium.org/2484813002/diff/1/ui/views/mus/native_widget_mus.cc#newcode778 ui/views/mus/native_widget_mus.cc:778: if (params.parent_mus) On 2016/11/07 19:50:56, thanhph wrote: > On ...
4 years, 1 month ago (2016-11-07 20:16:47 UTC) #4
thanhph
sadrul@chromium.org: Please review changes in
4 years, 1 month ago (2016-11-09 15:37:13 UTC) #8
sadrul
lgtm
4 years, 1 month ago (2016-11-09 17:10:20 UTC) #9
mfomitchev
Some comments for the test. The main code change itself looks good. https://codereview.chromium.org/2484813002/diff/120001/ui/views/mus/native_widget_mus_unittest.cc File ui/views/mus/native_widget_mus_unittest.cc ...
4 years, 1 month ago (2016-11-09 17:44:20 UTC) #10
thanhph
https://codereview.chromium.org/2484813002/diff/120001/ui/views/mus/native_widget_mus_unittest.cc File ui/views/mus/native_widget_mus_unittest.cc (right): https://codereview.chromium.org/2484813002/diff/120001/ui/views/mus/native_widget_mus_unittest.cc#newcode19 ui/views/mus/native_widget_mus_unittest.cc:19: #include "ui/aura/client/aura_constants.h" On 2016/11/09 17:44:20, mfomitchev wrote: > Is ...
4 years, 1 month ago (2016-11-09 19:11:38 UTC) #11
mfomitchev
LGTM Pro tip: Use "Done" when you have addressed the comment. Use "Acknowledged" when you ...
4 years, 1 month ago (2016-11-09 19:20:09 UTC) #14
thanhph
On 2016/11/09 19:20:09, mfomitchev wrote: > LGTM > Pro tip: Use "Done" when you have ...
4 years, 1 month ago (2016-11-09 19:25:52 UTC) #15
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/2484813002/140001
4 years, 1 month ago (2016-11-09 20:02:07 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 1 month ago (2016-11-09 20:08:05 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 20:33:02 UTC) #23
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/42aac8ce7e34d1d18932bacf417c276f2ad2cf17
Cr-Commit-Position: refs/heads/master@{#431018}

Powered by Google App Engine
This is Rietveld 408576698