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

Issue 477823003: Clear restore bounds for user resize/drag actions. (Closed)

Created:
6 years, 3 months ago by Peter Wen
Modified:
6 years, 3 months ago
Reviewers:
flackr, varkha
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Project:
chromium
Visibility:
Public.

Description

Clear restore bounds for user resize/drag actions. When the window is not snapped, user resizes should always clear restore bounds. This allows user initiated resizes to not be unexpectedly ignored. BUG=405563 TEST=WorkspaceWindowResizerTest.RestoreClearedOnResize Committed: https://crrev.com/56e39c64d4538396ce669727ae1dd0c462478f74 Cr-Commit-Position: refs/heads/master@{#292228}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Fix docked window tests. #

Total comments: 2

Patch Set 4 : ] #

Total comments: 1

Patch Set 5 : ) #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -17 lines) Patch
M ash/wm/workspace/workspace_layout_manager.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M ash/wm/workspace/workspace_window_resizer.cc View 1 2 3 4 1 chunk +24 lines, -16 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
Peter Wen
wnwen@chromium.org changed reviewers: + flackr@chromium.org
6 years, 3 months ago (2014-08-26 15:21:57 UTC) #1
Peter Wen
6 years, 3 months ago (2014-08-26 15:21:57 UTC) #2
flackr
LGTM, can you name the specific test in CL description. I.e. TEST=WorkspaceWindowResizerTest.RestoreClearedOnResize
6 years, 3 months ago (2014-08-26 15:59:51 UTC) #3
Peter Wen
Done. Thanks for letting me know the proper way to note the new unittest.
6 years, 3 months ago (2014-08-26 17:21:56 UTC) #4
Peter Wen
The CQ bit was checked by wnwen@chromium.org
6 years, 3 months ago (2014-08-26 17:22:02 UTC) #5
Peter Wen
The CQ bit was unchecked by wnwen@chromium.org
6 years, 3 months ago (2014-08-26 17:22:43 UTC) #6
Peter Wen
The CQ bit was checked by wnwen@chromium.org
6 years, 3 months ago (2014-08-26 17:23:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wnwen@chromium.org/477823003/20001
6 years, 3 months ago (2014-08-26 17:25:00 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-26 18:30:44 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-26 19:00:15 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/8032)
6 years, 3 months ago (2014-08-26 19:00:16 UTC) #11
Peter Wen
wnwen@chromium.org changed reviewers: + varkha@chromium.org
6 years, 3 months ago (2014-08-26 20:28:02 UTC) #12
Peter Wen
+varkha@ to verify docked windows behave correctly when restore bounds are cleared on user resize/move.
6 years, 3 months ago (2014-08-26 20:28:02 UTC) #13
varkha
On 2014/08/26 20:28:02, Peter Wen wrote: > +varkha@ to verify docked windows behave correctly when ...
6 years, 3 months ago (2014-08-26 21:10:35 UTC) #14
varkha
https://codereview.chromium.org/477823003/diff/40001/ash/wm/workspace/workspace_window_resizer.cc File ash/wm/workspace/workspace_window_resizer.cc (right): https://codereview.chromium.org/477823003/diff/40001/ash/wm/workspace/workspace_window_resizer.cc#newcode470 ash/wm/workspace/workspace_window_resizer.cc:470: if (!dock_layout_->is_dragged_window_docked()) { nit: Can be merged into an ...
6 years, 3 months ago (2014-08-26 21:20:03 UTC) #15
varkha
wnwen@, what is the bad scenario that you are trying to fix? Does this scenario ...
6 years, 3 months ago (2014-08-26 22:03:35 UTC) #16
Peter Wen
On 2014/08/26 22:03:35, varkha wrote: > wnwen@, what is the bad scenario that you are ...
6 years, 3 months ago (2014-08-27 13:32:03 UTC) #17
Peter Wen
https://codereview.chromium.org/477823003/diff/40001/ash/wm/workspace/workspace_window_resizer.cc File ash/wm/workspace/workspace_window_resizer.cc (right): https://codereview.chromium.org/477823003/diff/40001/ash/wm/workspace/workspace_window_resizer.cc#newcode470 ash/wm/workspace/workspace_window_resizer.cc:470: if (!dock_layout_->is_dragged_window_docked()) { On 2014/08/26 21:20:03, varkha wrote: > ...
6 years, 3 months ago (2014-08-27 13:32:57 UTC) #18
varkha
I see. So is it the opening of virtual keyboard that sets the restore bounds? ...
6 years, 3 months ago (2014-08-27 14:55:28 UTC) #19
Peter Wen
On 2014/08/27 14:55:28, varkha wrote: > I see. So is it the opening of virtual ...
6 years, 3 months ago (2014-08-27 15:07:31 UTC) #20
varkha
lgtm
6 years, 3 months ago (2014-08-27 15:32:42 UTC) #21
Peter Wen
The CQ bit was checked by wnwen@chromium.org
6 years, 3 months ago (2014-08-27 15:37:40 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wnwen@chromium.org/477823003/80001
6 years, 3 months ago (2014-08-27 15:38:20 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-27 15:50:05 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 15:51:55 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/47032) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/9549) ios_rel_device ...
6 years, 3 months ago (2014-08-27 15:51:56 UTC) #26
Peter Wen
The CQ bit was checked by wnwen@chromium.org
6 years, 3 months ago (2014-08-27 19:08:36 UTC) #27
Peter Wen
The CQ bit was unchecked by wnwen@chromium.org
6 years, 3 months ago (2014-08-27 19:08:40 UTC) #28
Peter Wen
The CQ bit was checked by wnwen@chromium.org
6 years, 3 months ago (2014-08-27 19:08:41 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wnwen@chromium.org/477823003/80001
6 years, 3 months ago (2014-08-27 19:09:16 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-27 19:21:57 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 19:23:15 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/47127) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/9624) ios_rel_device ...
6 years, 3 months ago (2014-08-27 19:23:16 UTC) #33
varkha
rebase?
6 years, 3 months ago (2014-08-27 20:05:45 UTC) #34
Peter Wen
The CQ bit was checked by wnwen@chromium.org
6 years, 3 months ago (2014-08-27 20:27:26 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wnwen@chromium.org/477823003/100001
6 years, 3 months ago (2014-08-27 20:29:08 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 7e4eb56b2e8b13acd831fb251aa3f429991d99b5
6 years, 3 months ago (2014-08-27 21:29:24 UTC) #37
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:54:13 UTC) #38
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/56e39c64d4538396ce669727ae1dd0c462478f74
Cr-Commit-Position: refs/heads/master@{#292228}

Powered by Google App Engine
This is Rietveld 408576698