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

Issue 19054013: Implement automatic layout and stacking for docked windows (Closed)

Created:
7 years, 5 months ago by varkha
Modified:
7 years, 5 months ago
Reviewers:
flackr, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@issue_233331_sized
Visibility:
Public.

Description

Implement automatic layout and stacking for docked windows. BUG=233334 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213380

Patch Set 1 : Implement automatic layout and stacking #

Patch Set 2 : Implement automatic layout and stacking (published a flag) #

Total comments: 14

Patch Set 3 : Implement automatic layout and stacking (separate CL for attached panels and comments) #

Total comments: 4

Patch Set 4 : Implement automatic layout and stacking (separate CL for attached panels and comments) #

Patch Set 5 : Implement automatic layout and stacking (simplification) #

Total comments: 8

Patch Set 6 : Implement automatic layout and stacking (nits) #

Total comments: 3

Patch Set 7 : Implement automatic layout and stacking (unit tests and comments) #

Total comments: 4

Patch Set 8 : Implement automatic layout and stacking (nits) #

Patch Set 9 : Implement automatic layout and stacking (test on win_aura) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -40 lines) Patch
M ash/wm/dock/docked_window_layout_manager.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.cc View 1 2 3 4 5 6 7 10 chunks +149 lines, -26 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +138 lines, -6 lines 0 comments Download
M ash/wm/dock/docked_window_resizer_unittest.cc View 4 chunks +10 lines, -6 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
varkha
Please take an early look. More unit tests pending but I wanted to start looking ...
7 years, 5 months ago (2013-07-12 01:31:14 UTC) #1
flackr
https://codereview.chromium.org/19054013/diff/16001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/19054013/diff/16001/ash/wm/dock/docked_window_layout_manager.cc#newcode549 ash/wm/dock/docked_window_layout_manager.cc:549: visible_windows.push_back(position_info); The window position is entirely based on the ...
7 years, 5 months ago (2013-07-16 22:05:45 UTC) #2
varkha
Unit tests still pending. https://codereview.chromium.org/19054013/diff/16001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/19054013/diff/16001/ash/wm/dock/docked_window_layout_manager.cc#newcode549 ash/wm/dock/docked_window_layout_manager.cc:549: visible_windows.push_back(position_info); On 2013/07/16 22:05:45, flackr ...
7 years, 5 months ago (2013-07-18 21:56:59 UTC) #3
flackr
Nice! Much cleaner and easier to read :-) https://codereview.chromium.org/19054013/diff/40001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/19054013/diff/40001/ash/wm/dock/docked_window_layout_manager.cc#newcode504 ash/wm/dock/docked_window_layout_manager.cc:504: y_pos))); ...
7 years, 5 months ago (2013-07-18 22:16:53 UTC) #4
varkha
https://codereview.chromium.org/19054013/diff/40001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/19054013/diff/40001/ash/wm/dock/docked_window_layout_manager.cc#newcode504 ash/wm/dock/docked_window_layout_manager.cc:504: y_pos))); I think it may still need clamping in ...
7 years, 5 months ago (2013-07-18 22:58:14 UTC) #5
flackr
https://codereview.chromium.org/19054013/diff/44001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/19054013/diff/44001/ash/wm/dock/docked_window_layout_manager.cc#newcode496 ash/wm/dock/docked_window_layout_manager.cc:496: std::min(work_area.bottom()- bounds.height(), nit: Space before minus https://codereview.chromium.org/19054013/diff/44001/ash/wm/dock/docked_window_layout_manager.cc#newcode498 ash/wm/dock/docked_window_layout_manager.cc:498: y_pos ...
7 years, 5 months ago (2013-07-18 23:18:41 UTC) #6
varkha
https://codereview.chromium.org/19054013/diff/44001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/19054013/diff/44001/ash/wm/dock/docked_window_layout_manager.cc#newcode496 ash/wm/dock/docked_window_layout_manager.cc:496: std::min(work_area.bottom()- bounds.height(), On 2013/07/18 23:18:41, flackr wrote: > nit: ...
7 years, 5 months ago (2013-07-19 16:52:01 UTC) #7
flackr
https://codereview.chromium.org/19054013/diff/50001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/19054013/diff/50001/ash/wm/dock/docked_window_layout_manager.cc#newcode114 ash/wm/dock/docked_window_layout_manager.cc:114: void DockedWindowLayoutManager::FinishDragging() { I think you need to observe ...
7 years, 5 months ago (2013-07-19 17:53:32 UTC) #8
varkha
Possibly more tests to be added. https://codereview.chromium.org/19054013/diff/50001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/19054013/diff/50001/ash/wm/dock/docked_window_layout_manager.cc#newcode114 ash/wm/dock/docked_window_layout_manager.cc:114: void DockedWindowLayoutManager::FinishDragging() { ...
7 years, 5 months ago (2013-07-20 01:26:25 UTC) #9
flackr
LGTM with nits. https://codereview.chromium.org/19054013/diff/50001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/19054013/diff/50001/ash/wm/dock/docked_window_layout_manager.cc#newcode114 ash/wm/dock/docked_window_layout_manager.cc:114: void DockedWindowLayoutManager::FinishDragging() { On 2013/07/20 01:26:25, ...
7 years, 5 months ago (2013-07-22 21:19:49 UTC) #10
varkha
For OWNERS review. sky@, please take a look. https://codereview.chromium.org/19054013/diff/58001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/19054013/diff/58001/ash/wm/dock/docked_window_layout_manager.cc#newcode493 ash/wm/dock/docked_window_layout_manager.cc:493: double ...
7 years, 5 months ago (2013-07-23 14:33:12 UTC) #11
sky
LGTM
7 years, 5 months ago (2013-07-23 18:01:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varkha@chromium.org/19054013/73001
7 years, 5 months ago (2013-07-23 20:50:51 UTC) #13
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=62533
7 years, 5 months ago (2013-07-24 00:12:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varkha@chromium.org/19054013/97001
7 years, 5 months ago (2013-07-24 01:47:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varkha@chromium.org/19054013/51005
7 years, 5 months ago (2013-07-24 06:21:57 UTC) #16
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 10:00:57 UTC) #17
Message was sent while issue was closed.
Change committed as 213380

Powered by Google App Engine
This is Rietveld 408576698