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

Issue 2904993003: chromeos: changes how DisplayManagerObservers are notified (Closed)

Created:
3 years, 7 months ago by sky
Modified:
3 years, 7 months ago
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: changes how DisplayManagerObservers are notified This patch makes it such that in manual display mode (controlled via WindowManagerWindowTreeFactory) DisplayManagerObservers are only notified when the WindowManager calls SetDisplayConfiguration(). Having a separate function allows the WindowManager to add/remove displays and then trigger notifying client. This is necessary so that the clients see a consistent state. BUG=706589 TEST=covered by tests R=erg@chromium.org, tsepez@chromium.org Review-Url: https://codereview.chromium.org/2904993003 Cr-Commit-Position: refs/heads/master@{#475076} Committed: https://chromium.googlesource.com/chromium/src/+/2771709f0236929814545a8738053b227d44a170

Patch Set 1 #

Patch Set 2 : merge #

Patch Set 3 : cleanup #

Patch Set 4 : merge #

Patch Set 5 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+706 lines, -136 lines) Patch
M ash/mus/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/mus/bridge/shell_port_mash.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M ash/mus/bridge/shell_port_mash.cc View 1 2 3 5 chunks +7 lines, -4 lines 0 comments Download
A ash/mus/display_synchronizer.h View 1 chunk +40 lines, -0 lines 0 comments Download
A ash/mus/display_synchronizer.cc View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
M ash/mus/window_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/mus/window_manager.cc View 1 3 chunks +18 lines, -12 lines 0 comments Download
M services/ui/public/interfaces/window_manager.mojom View 1 1 chunk +10 lines, -0 lines 0 comments Download
M services/ui/service.h View 2 chunks +0 lines, -15 lines 0 comments Download
M services/ui/service.cc View 1 2 3 4 4 chunks +14 lines, -8 lines 0 comments Download
M services/ui/ws/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/display.h View 1 chunk +2 lines, -0 lines 0 comments Download
M services/ui/ws/display.cc View 2 chunks +8 lines, -2 lines 0 comments Download
A services/ui/ws/display_creation_config.h View 1 chunk +25 lines, -0 lines 0 comments Download
M services/ui/ws/display_manager.h View 6 chunks +31 lines, -3 lines 0 comments Download
M services/ui/ws/display_manager.cc View 6 chunks +115 lines, -6 lines 0 comments Download
M services/ui/ws/test_utils.h View 2 chunks +28 lines, -0 lines 0 comments Download
M services/ui/ws/test_utils.cc View 3 chunks +49 lines, -0 lines 0 comments Download
M services/ui/ws/user_display_manager.h View 2 chunks +11 lines, -0 lines 0 comments Download
M services/ui/ws/user_display_manager.cc View 2 chunks +14 lines, -5 lines 0 comments Download
M services/ui/ws/user_display_manager_unittest.cc View 1 chunk +0 lines, -46 lines 0 comments Download
M services/ui/ws/window_manager_state.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M services/ui/ws/window_manager_window_tree_factory.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M services/ui/ws/window_server.h View 3 chunks +9 lines, -0 lines 0 comments Download
M services/ui/ws/window_server.cc View 4 chunks +13 lines, -1 line 0 comments Download
M services/ui/ws/window_server_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_server_delegate.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M services/ui/ws/window_tree.h View 1 chunk +5 lines, -0 lines 0 comments Download
M services/ui/ws/window_tree.cc View 1 6 chunks +15 lines, -16 lines 0 comments Download
M services/ui/ws/window_tree_unittest.cc View 8 chunks +157 lines, -8 lines 0 comments Download
M ui/aura/mus/window_manager_delegate.h View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 chunks +18 lines, -0 lines 0 comments Download
M ui/aura/test/mus/test_window_manager_client.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/aura/test/mus/test_window_manager_client.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M ui/display/display.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/display/display_list.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/display/display_list.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
sky
tsepez: mojom erg: the rest
3 years, 7 months ago (2017-05-26 14:12:44 UTC) #9
Tom Sepez
lgtm
3 years, 7 months ago (2017-05-26 16:41:43 UTC) #10
Elliot Glaysher
lgtm
3 years, 7 months ago (2017-05-26 17:13:17 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/2904993003/10042
3 years, 7 months ago (2017-05-26 17:48:48 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 19:04:26 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:10042) as
https://chromium.googlesource.com/chromium/src/+/2771709f0236929814545a873805...

Powered by Google App Engine
This is Rietveld 408576698