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

Issue 2295003002: mash: Remove WmRootWindowControllerObserver. (Closed)

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

Description

mash: Remove WmRootWindowControllerObserver. WorkAreaChanged -> DisplayObserver::OnDisplayMetricsChanged. ShelfAlignmentChanged -> ShellObserver::ShelfAlignmentChanged TODO: Add checks for matching Display id? (didn't happen previously) Notify ShelfLayoutManager of alignment changes before ShellObserver. (to replace RootWindowControllerObserverImpl's apparent intent) Add default empty DisplayObserver function impls. BUG=NONE TEST=No behavior changes. R=sky@chromium.org Committed: https://crrev.com/b2f3c132f2ab37ee750170dc3a9041dc8f726118 Cr-Commit-Position: refs/heads/master@{#415698}

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 6

Patch Set 3 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -190 lines) Patch
M ash/ash.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M ash/aura/wm_root_window_controller_aura.h View 3 chunks +1 line, -14 lines 0 comments Download
M ash/aura/wm_root_window_controller_aura.cc View 4 chunks +1 line, -31 lines 0 comments Download
M ash/common/shelf/shelf_layout_manager.h View 2 chunks +0 lines, -4 lines 0 comments Download
M ash/common/shelf/shelf_layout_manager.cc View 3 chunks +1 line, -40 lines 0 comments Download
M ash/common/shelf/wm_shelf.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/wm/dock/docked_window_layout_manager.h View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/common/wm/dock/docked_window_layout_manager.cc View 1 2 5 chunks +27 lines, -22 lines 0 comments Download
M ash/common/wm/workspace/workspace_layout_manager.h View 4 chunks +6 lines, -5 lines 0 comments Download
M ash/common/wm/workspace/workspace_layout_manager.cc View 1 2 5 chunks +22 lines, -15 lines 0 comments Download
M ash/common/wm_root_window_controller.h View 5 chunks +0 lines, -11 lines 0 comments Download
M ash/common/wm_root_window_controller.cc View 1 chunk +0 lines, -10 lines 0 comments Download
D ash/common/wm_root_window_controller_observer.h View 1 chunk +0 lines, -26 lines 0 comments Download
M ash/mus/bridge/wm_root_window_controller_mus.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/mus/bridge/wm_root_window_controller_mus.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/display/display_observer.h View 1 chunk +3 lines, -3 lines 0 comments Download
M ui/display/display_observer.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
msw
Hey Scott, please take a look; thanks!
4 years, 3 months ago (2016-08-31 00:51:50 UTC) #3
sky
https://codereview.chromium.org/2295003002/diff/20001/ash/common/wm/dock/docked_window_layout_manager.cc File ash/common/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/2295003002/diff/20001/ash/common/wm/dock/docked_window_layout_manager.cc#newcode779 ash/common/wm/dock/docked_window_layout_manager.cc:779: Relayout(); Should this early out if display id is ...
4 years, 3 months ago (2016-08-31 16:04:31 UTC) #8
msw
Please take another look; thanks! https://codereview.chromium.org/2295003002/diff/20001/ash/common/wm/dock/docked_window_layout_manager.cc File ash/common/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/2295003002/diff/20001/ash/common/wm/dock/docked_window_layout_manager.cc#newcode779 ash/common/wm/dock/docked_window_layout_manager.cc:779: Relayout(); On 2016/08/31 16:04:30, ...
4 years, 3 months ago (2016-08-31 17:07:32 UTC) #9
sky
LGTM https://codereview.chromium.org/2295003002/diff/20001/ash/common/wm/dock/docked_window_layout_manager.cc File ash/common/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/2295003002/diff/20001/ash/common/wm/dock/docked_window_layout_manager.cc#newcode779 ash/common/wm/dock/docked_window_layout_manager.cc:779: Relayout(); On 2016/08/31 17:07:32, msw wrote: > On ...
4 years, 3 months ago (2016-08-31 17:45:41 UTC) #12
msw
https://codereview.chromium.org/2295003002/diff/20001/ash/common/wm/dock/docked_window_layout_manager.cc File ash/common/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/2295003002/diff/20001/ash/common/wm/dock/docked_window_layout_manager.cc#newcode779 ash/common/wm/dock/docked_window_layout_manager.cc:779: Relayout(); On 2016/08/31 17:45:41, sky wrote: > On 2016/08/31 ...
4 years, 3 months ago (2016-08-31 17:55:29 UTC) #13
sky
You are right. I like landing with new checks. On Wed, Aug 31, 2016 at ...
4 years, 3 months ago (2016-08-31 18:04:34 UTC) #14
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/2295003002/40001
4 years, 3 months ago (2016-08-31 18:42:40 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-31 18:47:51 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 18:50:21 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b2f3c132f2ab37ee750170dc3a9041dc8f726118
Cr-Commit-Position: refs/heads/master@{#415698}

Powered by Google App Engine
This is Rietveld 408576698