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

Issue 2387013003: Adds OnChildWindowVisibilityChanged to ui::WindowObserver (Closed)

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

Description

Adds OnChildWindowVisibilityChanged to ui::WindowObserver as well as making all visible functions take the 'visible' to match usage of aura. OnChildWindowVisibilityChanged() is unfortunate given OnWindowVisibilityChanged() is also sent, but it's the only way I can match existing behavior. I came across this ordering dependency as part of getting workspace tests running. It may be we end up adding a LayoutManager to mus and pulling OnChildWindowVisibilityChanged into it. But for now I'm going with just the OnChildWindowVisibilityChanged. BUG=none TEST=none R=jamescook@chromium.org Committed: https://crrev.com/59515676ad3dca16bd37bfdfdc00519817b7eb2c Cr-Commit-Position: refs/heads/master@{#422615}

Patch Set 1 #

Patch Set 2 : fix test #

Total comments: 8

Patch Set 3 : merge #

Patch Set 4 : feedback #

Patch Set 5 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -123 lines) Patch
M ash/mus/bridge/mus_layout_manager_adapter.h View 1 chunk +2 lines, -18 lines 0 comments Download
M ash/mus/bridge/mus_layout_manager_adapter.cc View 3 chunks +8 lines, -23 lines 0 comments Download
M ash/mus/bridge/wm_window_mus.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ash/mus/bridge/wm_window_mus.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M ash/mus/workspace/workspace_layout_manager_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M services/ui/public/cpp/tests/window_unittest.cc View 1 2 3 6 chunks +27 lines, -21 lines 0 comments Download
M services/ui/public/cpp/window.h View 1 chunk +4 lines, -4 lines 0 comments Download
M services/ui/public/cpp/window.cc View 4 chunks +19 lines, -13 lines 0 comments Download
M services/ui/public/cpp/window_observer.h View 1 2 3 1 chunk +18 lines, -2 lines 0 comments Download
M services/ui/ws/window_manager_client_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/native_widget_mus.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 2 3 4 13 chunks +35 lines, -31 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
sky
4 years, 2 months ago (2016-10-03 17:06:53 UTC) #1
James Cook
LGTM. It looks like you've got two CL descriptions mushed together -- maybe take some ...
4 years, 2 months ago (2016-10-03 20:33:08 UTC) #10
sky
https://codereview.chromium.org/2387013003/diff/20001/services/ui/public/cpp/tests/window_unittest.cc File services/ui/public/cpp/tests/window_unittest.cc (right): https://codereview.chromium.org/2387013003/diff/20001/services/ui/public/cpp/tests/window_unittest.cc#newcode723 services/ui/public/cpp/tests/window_unittest.cc:723: // Set visible to existing walue and werify no ...
4 years, 2 months ago (2016-10-03 20:52:13 UTC) #11
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/2387013003/60001
4 years, 2 months ago (2016-10-03 20:53:32 UTC) #14
commit-bot: I haz the power
Failed to apply patch for ui/views/mus/native_widget_mus.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 2 months ago (2016-10-03 22:49:51 UTC) #17
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/2387013003/80001
4 years, 2 months ago (2016-10-03 22:56:33 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-04 00:11:54 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 00:15:22 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/59515676ad3dca16bd37bfdfdc00519817b7eb2c
Cr-Commit-Position: refs/heads/master@{#422615}

Powered by Google App Engine
This is Rietveld 408576698