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

Issue 11087037: Dont allow the user to 'resize a window out of the workarea' (Closed)

Created:
8 years, 2 months ago by Mr4D (OOO till 08-26)
Modified:
8 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Dont allow the user to 'resize a window out of the workarea' BUG=151255 TEST=unit test & visual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162390

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed the 10 pixel overhang. #

Total comments: 4

Patch Set 3 : Used area constnat from window layout manager #

Patch Set 4 : Fixed problem with ExtendedDesktop unit test #

Total comments: 8

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -32 lines) Patch
M ash/wm/window_resizer.cc View 1 2 3 4 3 chunks +63 lines, -27 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager2.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager2.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 1 2 2 chunks +61 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Mr4D (OOO till 08-26)
Please have a look!
8 years, 2 months ago (2012-10-09 22:00:34 UTC) #1
sky
If we really want to enforce there is always 10 pixels on screen, then we ...
8 years, 2 months ago (2012-10-09 23:58:53 UTC) #2
Mr4D (OOO till 08-26)
I removed the 10 pixel overhang and commented at your change request. I have however ...
8 years, 2 months ago (2012-10-10 23:14:35 UTC) #3
sky
http://codereview.chromium.org/11087037/diff/3003/ash/wm/window_resizer.cc File ash/wm/window_resizer.cc (right): http://codereview.chromium.org/11087037/diff/3003/ash/wm/window_resizer.cc#newcode104 ash/wm/window_resizer.cc:104: const int WindowResizer::kMinimumOnScreenSize = 0; 0? This should be ...
8 years, 2 months ago (2012-10-11 00:48:29 UTC) #4
Mr4D (OOO till 08-26)
Please see the comments. Note: The bug was to avoid being able to resize a ...
8 years, 2 months ago (2012-10-11 19:41:13 UTC) #5
sky
The resolution of the thread, and I talked with Alex to verify this, is that ...
8 years, 2 months ago (2012-10-11 21:26:48 UTC) #6
Mr4D (OOO till 08-26)
Ahh. Somehow that was not clear from the eMail thread. It was said to have ...
8 years, 2 months ago (2012-10-12 00:42:23 UTC) #7
Mr4D (OOO till 08-26)
Size and move operations are now staying within the given bounds. Please have another look.
8 years, 2 months ago (2012-10-16 15:27:36 UTC) #8
sky
http://codereview.chromium.org/11087037/diff/25001/ash/ash.gyp File ash/ash.gyp (right): http://codereview.chromium.org/11087037/diff/25001/ash/ash.gyp#newcode572 ash/ash.gyp:572: 'wm/workspace/workspace_layout_manager2.h', Why are you adding this here? It's listed ...
8 years, 2 months ago (2012-10-16 22:57:46 UTC) #9
Mr4D (OOO till 08-26)
Have another look http://codereview.chromium.org/11087037/diff/25001/ash/ash.gyp File ash/ash.gyp (right): http://codereview.chromium.org/11087037/diff/25001/ash/ash.gyp#newcode572 ash/ash.gyp:572: 'wm/workspace/workspace_layout_manager2.h', Done. http://codereview.chromium.org/11087037/diff/25001/ash/wm/window_resizer.cc File ash/wm/window_resizer.cc (right): ...
8 years, 2 months ago (2012-10-17 00:05:17 UTC) #10
sky
LGTM
8 years, 2 months ago (2012-10-17 00:23:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/11087037/27002
8 years, 2 months ago (2012-10-17 00:33:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/11087037/27002
8 years, 2 months ago (2012-10-17 11:14:28 UTC) #13
commit-bot: I haz the power
8 years, 2 months ago (2012-10-17 13:31:31 UTC) #14
Change committed as 162390

Powered by Google App Engine
This is Rietveld 408576698