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

Issue 1907863002: Converts DockedWindowLayoutManager to common ash/wm types (Closed)

Created:
4 years, 8 months ago by sky
Modified:
4 years, 8 months ago
Reviewers:
varkha
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Converts DockedWindowLayoutManager to common ash/wm types There are still a couple of aura specific values here (ShellObserver). I will tackle that next. BUG=603369 TEST=none R=varkha@chromium.org Committed: https://crrev.com/3f7af881b9e91331d387ea22c63db69b99e46836 Cr-Commit-Position: refs/heads/master@{#388847}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 1

Patch Set 3 : explicit shutdown #

Total comments: 17

Patch Set 4 : feedback #

Patch Set 5 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+540 lines, -335 lines) Patch
M ash/ash.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M ash/shell.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M ash/wm/aura/aura_layout_manager_adapter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/wm/aura/wm_globals_aura.h View 3 chunks +15 lines, -1 line 0 comments Download
M ash/wm/aura/wm_globals_aura.cc View 4 chunks +34 lines, -0 lines 0 comments Download
M ash/wm/aura/wm_root_window_controller_aura.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/aura/wm_root_window_controller_aura.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M ash/wm/aura/wm_window_aura.h View 1 2 3 4 6 chunks +13 lines, -4 lines 0 comments Download
M ash/wm/aura/wm_window_aura.cc View 1 9 chunks +44 lines, -3 lines 0 comments Download
A ash/wm/common/wm_activation_observer.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
M ash/wm/common/wm_globals.h View 3 chunks +5 lines, -0 lines 0 comments Download
M ash/wm/common/wm_root_window_controller.h View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
A ash/wm/common/wm_snap_to_pixel_layout_manager.h View 1 1 chunk +39 lines, -0 lines 0 comments Download
A ash/wm/common/wm_snap_to_pixel_layout_manager.cc View 1 1 chunk +37 lines, -0 lines 0 comments Download
M ash/wm/common/wm_window.h View 7 chunks +28 lines, -3 lines 0 comments Download
M ash/wm/common/wm_window_observer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/wm/default_state.cc View 2 chunks +2 lines, -12 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.h View 17 chunks +37 lines, -36 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.cc View 1 50 chunks +192 lines, -214 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M ash/wm/dock/docked_window_resizer.cc View 8 chunks +7 lines, -18 lines 0 comments Download
M ash/wm/dock/docked_window_resizer_unittest.cc View 12 chunks +12 lines, -16 lines 0 comments Download
M ash/wm/window_resizer.cc View 2 chunks +3 lines, -11 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer.cc View 3 chunks +4 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
sky
4 years, 8 months ago (2016-04-21 04:24:53 UTC) #1
varkha
Shell::DeleteInstance deletes Shelf instance which resets window_tree_host_manager_ and so the GetPrimaryRootWindow call crashes. Probably need ...
4 years, 8 months ago (2016-04-21 14:56:09 UTC) #2
sky
Thanks for debugging my code. You were exactly right. Fixed. Take another look?
4 years, 8 months ago (2016-04-21 16:05:36 UTC) #3
varkha
Nice! https://codereview.chromium.org/1907863002/diff/40001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/1907863002/diff/40001/ash/root_window_controller.cc#newcode813 ash/root_window_controller.cc:813: aura::Window* docked_container = GetContainer(kShellWindowId_DockedContainer); Would it make sense ...
4 years, 8 months ago (2016-04-21 17:46:56 UTC) #4
sky
https://codereview.chromium.org/1907863002/diff/40001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/1907863002/diff/40001/ash/root_window_controller.cc#newcode813 ash/root_window_controller.cc:813: aura::Window* docked_container = GetContainer(kShellWindowId_DockedContainer); On 2016/04/21 17:46:55, varkha wrote: ...
4 years, 8 months ago (2016-04-21 18:03:05 UTC) #5
varkha
https://codereview.chromium.org/1907863002/diff/40001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/1907863002/diff/40001/ash/wm/dock/docked_window_layout_manager.cc#newcode762 ash/wm/dock/docked_window_layout_manager.cc:762: if (child->HasNonClientArea()) { On 2016/04/21 18:03:04, sky wrote: > ...
4 years, 8 months ago (2016-04-21 18:17:41 UTC) #6
sky
https://codereview.chromium.org/1907863002/diff/40001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/1907863002/diff/40001/ash/wm/dock/docked_window_layout_manager.cc#newcode762 ash/wm/dock/docked_window_layout_manager.cc:762: if (child->HasNonClientArea()) { On 2016/04/21 18:17:41, varkha wrote: > ...
4 years, 8 months ago (2016-04-21 18:18:59 UTC) #7
varkha
lgtm. https://codereview.chromium.org/1907863002/diff/40001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/1907863002/diff/40001/ash/wm/dock/docked_window_layout_manager.cc#newcode762 ash/wm/dock/docked_window_layout_manager.cc:762: if (child->HasNonClientArea()) { On 2016/04/21 18:18:59, sky wrote: ...
4 years, 8 months ago (2016-04-21 18:26:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907863002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907863002/80001
4 years, 8 months ago (2016-04-21 19:00:28 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-21 19:30:12 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:37:32 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3f7af881b9e91331d387ea22c63db69b99e46836
Cr-Commit-Position: refs/heads/master@{#388847}

Powered by Google App Engine
This is Rietveld 408576698