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

Issue 2567293004: Makes WindowTreeHost::InitHost() not Show the window (Closed)

Created:
4 years ago by sky
Modified:
4 years ago
CC:
chromium-reviews, sadrul, nyquist+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, extensions-reviews_chromium.org, maniscalco+watch-blimp_chromium.org, bgoldman+watch-blimp_chromium.org, lcwu+watch_chromium.org, jam, gcasto+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, darin-cc_chromium.org, khushalsagar+watch-blimp_chromium.org, halliwell+watch_chromium.org, kalyank, scf+watch-blimp_chromium.org, mlamouri+watch-content_chromium.org, lethalantidote+watch-blimp_chromium.org, Peter Beverloo, chromium-apps-reviews_chromium.org, alokp+watch_chromium.org, jochen+watch_chromium.org, rjkroege, anandc+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, tfarina, steimel+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes WindowTreeHost::InitHost() not Show the window Users of WindowTreeHost may want to show it at different times, and should be able to do that. BUG=672150 TEST=covered by tests R=ben@chromium.org, sadrul@chromium.org Committed: https://crrev.com/746d0103f209a2b2bf1765d3ac3ec365b99e32d5 Cr-Commit-Position: refs/heads/master@{#438363}

Patch Set 1 #

Patch Set 2 : tweak #

Total comments: 2

Patch Set 3 : WTF::Show shows window #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -19 lines) Patch
M ash/display/mirror_window_controller.cc View 1 chunk +1 line, -0 lines 1 comment Download
M ash/display/window_tree_host_manager.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/host/ash_window_tree_host_x11_unittest.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M blimp/engine/session/blimp_engine_session.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/browser/cast_content_window.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/shell_platform_data_aura.cc View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/shell/browser/shell_screen.cc View 1 chunk +1 line, -0 lines 0 comments Download
M headless/lib/browser/headless_browser_impl.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M headless/lib/browser/headless_screen.cc View 1 chunk +1 line, -0 lines 0 comments Download
M mash/simple_wm/simple_wm.cc View 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/window_manager_client_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client_unittest.cc View 1 2 5 chunks +7 lines, -12 lines 0 comments Download
M ui/aura/mus/window_tree_host_mus.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ui/aura/mus/window_tree_host_mus.cc View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M ui/aura/test/test_screen.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/window_event_dispatcher_unittest.cc View 6 chunks +6 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
sky
sadrul: ui/aura ben: the rest (which is just adding a bunch of calls to Show() ...
4 years ago (2016-12-13 18:51:09 UTC) #2
mfomitchev
https://codereview.chromium.org/2567293004/diff/20001/ui/aura/window_tree_host.cc File ui/aura/window_tree_host.cc (left): https://codereview.chromium.org/2567293004/diff/20001/ui/aura/window_tree_host.cc#oldcode66 ui/aura/window_tree_host.cc:66: window()->Show(); Why not add this to WindowTreeHost::Show? Otherwise clients ...
4 years ago (2016-12-13 19:33:53 UTC) #5
Ben Goodger (Google)
lgtm with mfomitchev's suggestion which seems good also
4 years ago (2016-12-13 21:34:58 UTC) #8
sky
https://codereview.chromium.org/2567293004/diff/20001/ui/aura/window_tree_host.cc File ui/aura/window_tree_host.cc (left): https://codereview.chromium.org/2567293004/diff/20001/ui/aura/window_tree_host.cc#oldcode66 ui/aura/window_tree_host.cc:66: window()->Show(); On 2016/12/13 19:33:53, mfomitchev wrote: > Why not ...
4 years ago (2016-12-13 21:38:46 UTC) #9
mfomitchev
https://codereview.chromium.org/2567293004/diff/40001/ash/display/mirror_window_controller.cc File ash/display/mirror_window_controller.cc (right): https://codereview.chromium.org/2567293004/diff/40001/ash/display/mirror_window_controller.cc#newcode195 ash/display/mirror_window_controller.cc:195: host->window()->Show(); We are already calling host->Show() below, so we ...
4 years ago (2016-12-13 22:30:32 UTC) #12
sky
On 2016/12/13 22:30:32, mfomitchev wrote: > https://codereview.chromium.org/2567293004/diff/40001/ash/display/mirror_window_controller.cc > File ash/display/mirror_window_controller.cc (right): > > https://codereview.chromium.org/2567293004/diff/40001/ash/display/mirror_window_controller.cc#newcode195 > ...
4 years ago (2016-12-13 23:21:17 UTC) #15
mfomitchev
On 2016/12/13 23:21:17, sky wrote: > On 2016/12/13 22:30:32, mfomitchev wrote: > > > https://codereview.chromium.org/2567293004/diff/40001/ash/display/mirror_window_controller.cc ...
4 years ago (2016-12-14 00:13:28 UTC) #16
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/2567293004/40001
4 years ago (2016-12-14 00:29:24 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-14 00:37:41 UTC) #22
commit-bot: I haz the power
4 years ago (2016-12-14 00:41:01 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/746d0103f209a2b2bf1765d3ac3ec365b99e32d5
Cr-Commit-Position: refs/heads/master@{#438363}

Powered by Google App Engine
This is Rietveld 408576698