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

Issue 23431009: Windows docking should get triggered by pressing against the screen edge (Closed)

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

Description

Windows docking should get triggered by pressing against the screen edge BUG=275801 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223237

Patch Set 1 : Windows docking should get triggered by pressing against the screen edge #

Total comments: 44

Patch Set 2 : Windows docking should get triggered by pressing against the screen edge (comments) #

Total comments: 2

Patch Set 3 : Windows docking should get triggered by pressing against the screen edge (comments) #

Patch Set 4 : Windows docking should get triggered by pressing against the screen edge (rebase) #

Total comments: 13

Patch Set 5 : Windows docking should get triggered by pressing against the screen edge (comments) #

Total comments: 2

Patch Set 6 : Windows docking should get triggered by pressing against the screen edge (comments) #

Total comments: 2

Patch Set 7 : Windows docking should get triggered by pressing against the screen edge (comments) #

Patch Set 8 : Windows docking should get triggered by pressing against the screen edge (warn) #

Total comments: 8

Patch Set 9 : Windows docking should get triggered by pressing against the screen edge (rebase) #

Patch Set 10 : Windows docking by pressing against the screen edge (remove docking from SnapSizer) #

Patch Set 11 : Windows docking by pressing against the screen edge (rebase) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -370 lines) Patch
M ash/wm/dock/docked_window_layout_manager.h View 1 2 3 4 5 6 7 8 9 10 6 chunks +11 lines, -5 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.cc View 1 2 3 4 5 6 7 8 9 10 chunks +62 lines, -21 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +17 lines, -94 lines 0 comments Download
M ash/wm/dock/docked_window_resizer.h View 1 2 3 4 chunks +0 lines, -13 lines 0 comments Download
M ash/wm/dock/docked_window_resizer.cc View 1 2 3 4 5 6 7 8 9 11 chunks +34 lines, -97 lines 0 comments Download
M ash/wm/dock/docked_window_resizer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 24 chunks +85 lines, -96 lines 0 comments Download
M ash/wm/window_util.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ash/wm/workspace/snap_sizer.h View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M ash/wm/workspace/snap_sizer.cc View 1 2 3 4 5 6 7 8 9 5 chunks +10 lines, -6 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer.h View 1 2 3 4 5 6 7 8 9 4 chunks +14 lines, -10 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer.cc View 1 2 3 4 5 6 7 8 9 9 chunks +88 lines, -26 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
varkha
Windows docking should get triggered by pressing against the screen edge 11
7 years, 3 months ago (2013-08-31 07:11:01 UTC) #1
varkha
Can you please take a look. This will need further simplification / change once https://codereview.chromium.org/23471004/ ...
7 years, 3 months ago (2013-09-04 16:35:08 UTC) #2
flackr
https://codereview.chromium.org/23431009/diff/54001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/23431009/diff/54001/ash/wm/dock/docked_window_layout_manager.cc#newcode33 ash/wm/dock/docked_window_layout_manager.cc:33: const int kMaxVerticalPercentage = 90; Just to simplify this ...
7 years, 3 months ago (2013-09-06 02:18:42 UTC) #3
varkha
https://chromiumcodereview.appspot.com/23431009/diff/54001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://chromiumcodereview.appspot.com/23431009/diff/54001/ash/wm/dock/docked_window_layout_manager.cc#newcode33 ash/wm/dock/docked_window_layout_manager.cc:33: const int kMaxVerticalPercentage = 90; On 2013/09/06 02:18:43, flackr ...
7 years, 3 months ago (2013-09-09 15:38:42 UTC) #4
flackr
https://chromiumcodereview.appspot.com/23431009/diff/54001/ash/wm/dock/docked_window_resizer.cc File ash/wm/dock/docked_window_resizer.cc (right): https://chromiumcodereview.appspot.com/23431009/diff/54001/ash/wm/dock/docked_window_resizer.cc#newcode264 ash/wm/dock/docked_window_resizer.cc:264: attached_panel = On 2013/09/09 15:38:42, varkha wrote: > On ...
7 years, 3 months ago (2013-09-09 19:06:57 UTC) #5
varkha
https://chromiumcodereview.appspot.com/23431009/diff/54001/ash/wm/dock/docked_window_resizer.cc File ash/wm/dock/docked_window_resizer.cc (right): https://chromiumcodereview.appspot.com/23431009/diff/54001/ash/wm/dock/docked_window_resizer.cc#newcode264 ash/wm/dock/docked_window_resizer.cc:264: attached_panel = On 2013/09/09 19:06:57, flackr wrote: > On ...
7 years, 3 months ago (2013-09-09 20:37:54 UTC) #6
flackr
https://chromiumcodereview.appspot.com/23431009/diff/92001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://chromiumcodereview.appspot.com/23431009/diff/92001/ash/wm/dock/docked_window_layout_manager.cc#newcode546 ash/wm/dock/docked_window_layout_manager.cc:546: int height = (*iter)->bounds().height(); nit: Storing height is unnecessary ...
7 years, 3 months ago (2013-09-10 17:59:43 UTC) #7
varkha
PTAL. https://chromiumcodereview.appspot.com/23431009/diff/92001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://chromiumcodereview.appspot.com/23431009/diff/92001/ash/wm/dock/docked_window_layout_manager.cc#newcode546 ash/wm/dock/docked_window_layout_manager.cc:546: int height = (*iter)->bounds().height(); On 2013/09/10 17:59:44, flackr ...
7 years, 3 months ago (2013-09-10 21:49:35 UTC) #8
flackr
https://chromiumcodereview.appspot.com/23431009/diff/92001/ash/wm/workspace/snap_sizer.cc File ash/wm/workspace/snap_sizer.cc (right): https://chromiumcodereview.appspot.com/23431009/diff/92001/ash/wm/workspace/snap_sizer.cc#newcode119 ash/wm/workspace/snap_sizer.cc:119: dock_layout_->UndockDraggedWindow(); On 2013/09/10 21:49:35, varkha wrote: > On 2013/09/10 ...
7 years, 3 months ago (2013-09-11 18:08:49 UTC) #9
varkha
https://chromiumcodereview.appspot.com/23431009/diff/92001/ash/wm/workspace/snap_sizer.cc File ash/wm/workspace/snap_sizer.cc (right): https://chromiumcodereview.appspot.com/23431009/diff/92001/ash/wm/workspace/snap_sizer.cc#newcode119 ash/wm/workspace/snap_sizer.cc:119: dock_layout_->UndockDraggedWindow(); On 2013/09/11 18:08:50, flackr wrote: > On 2013/09/10 ...
7 years, 3 months ago (2013-09-11 18:22:56 UTC) #10
flackr
Do the snap sizer changes require new tests? Otherwise lgtm.
7 years, 3 months ago (2013-09-11 18:29:23 UTC) #11
flackr
https://chromiumcodereview.appspot.com/23431009/diff/111001/ash/wm/dock/docked_window_resizer_unittest.cc File ash/wm/dock/docked_window_resizer_unittest.cc (right): https://chromiumcodereview.appspot.com/23431009/diff/111001/ash/wm/dock/docked_window_resizer_unittest.cc#newcode158 ash/wm/dock/docked_window_resizer_unittest.cc:158: 5); nit: As per the style guide http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Function_Calls#Function_Calls this ...
7 years, 3 months ago (2013-09-11 18:35:56 UTC) #12
varkha
On 2013/09/11 18:29:23, flackr wrote: > Do the snap sizer changes require new tests? > ...
7 years, 3 months ago (2013-09-11 18:36:12 UTC) #13
varkha
+sky@, could you please take a look?
7 years, 3 months ago (2013-09-11 18:36:53 UTC) #14
varkha
https://codereview.chromium.org/23431009/diff/111001/ash/wm/dock/docked_window_resizer_unittest.cc File ash/wm/dock/docked_window_resizer_unittest.cc (right): https://codereview.chromium.org/23431009/diff/111001/ash/wm/dock/docked_window_resizer_unittest.cc#newcode158 ash/wm/dock/docked_window_resizer_unittest.cc:158: 5); On 2013/09/11 18:35:56, flackr wrote: > nit: As ...
7 years, 3 months ago (2013-09-11 18:45:56 UTC) #15
sky
https://codereview.chromium.org/23431009/diff/121001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/23431009/diff/121001/ash/wm/dock/docked_window_layout_manager.cc#newcode30 ash/wm/dock/docked_window_layout_manager.cc:30: const int DockedWindowLayoutManager::kMinDockWidth = 200; Style guide says should ...
7 years, 3 months ago (2013-09-11 19:38:40 UTC) #16
varkha
https://codereview.chromium.org/23431009/diff/121001/ash/wm/workspace/snap_sizer.cc File ash/wm/workspace/snap_sizer.cc (right): https://codereview.chromium.org/23431009/diff/121001/ash/wm/workspace/snap_sizer.cc#newcode55 ash/wm/workspace/snap_sizer.cc:55: std::vector<int> BuildIdealWidthList(aura::Window* window, On 2013/09/11 19:38:40, sky wrote: > ...
7 years, 3 months ago (2013-09-11 20:02:10 UTC) #17
sky
Again, docking an snapping are two different concepts. They should be isolated in their classes.
7 years, 3 months ago (2013-09-11 22:18:10 UTC) #18
varkha
On 2013/09/11 22:18:10, sky wrote: > Again, docking an snapping are two different concepts. They ...
7 years, 3 months ago (2013-09-12 15:04:33 UTC) #19
sky
Yes, PhantomWindowController isn't really tied to snapping. It's about drawing possible destinations. Just update the ...
7 years, 3 months ago (2013-09-12 18:05:33 UTC) #20
varkha
PTAL. I have reworked it so that SnapSizer is only concerned with side tiling, but ...
7 years, 3 months ago (2013-09-12 19:49:23 UTC) #21
sky
Thanks, LGTM
7 years, 3 months ago (2013-09-13 16:25:31 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varkha@chromium.org/23431009/132001
7 years, 3 months ago (2013-09-13 16:54:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varkha@chromium.org/23431009/142001
7 years, 3 months ago (2013-09-14 02:57:45 UTC) #24
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-14 03:03:39 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varkha@chromium.org/23431009/142001
7 years, 3 months ago (2013-09-14 03:05:43 UTC) #26
commit-bot: I haz the power
7 years, 3 months ago (2013-09-14 11:49:30 UTC) #27
Message was sent while issue was closed.
Change committed as 223237

Powered by Google App Engine
This is Rietveld 408576698