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

Issue 10883069: Added restore functionality for maximize full/left/right (Closed)

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

Description

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Total comments: 14

Patch Set 4 : Third review #

Patch Set 5 : Addressed #

Total comments: 20

Patch Set 6 : addressed comments #

Patch Set 7 : Fixed build stopper #

Patch Set 8 : Added one more check for test purposes #

Patch Set 9 : Fixed unit test failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -45 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/base_layout_manager.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/base_layout_manager_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -5 lines 0 comments Download
M ash/wm/custom_frame_view_ash_unittest.cc View 1 2 chunks +126 lines, -0 lines 0 comments Download
M ash/wm/maximize_bubble_controller.h View 1 2 3 4 5 4 chunks +5 lines, -4 lines 0 comments Download
M ash/wm/maximize_bubble_controller.cc View 1 2 3 6 chunks +45 lines, -20 lines 0 comments Download
M ash/wm/workspace/frame_maximize_button.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ash/wm/workspace/frame_maximize_button.cc View 1 2 3 4 5 6 6 chunks +63 lines, -16 lines 0 comments Download
A ash/wm/workspace/maximize_bubble_frame_state.h View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager2.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Mr4D (OOO till 08-26)
Sky, as discussed, here is the restore (maximize/left/right) functionality. Please have a look!
8 years, 3 months ago (2012-08-27 21:14:24 UTC) #1
sky
Also, I don't think this addresses 141750. http://codereview.chromium.org/10883069/diff/1/ash/wm/custom_frame_view_ash.cc File ash/wm/custom_frame_view_ash.cc (right): http://codereview.chromium.org/10883069/diff/1/ash/wm/custom_frame_view_ash.cc#newcode151 ash/wm/custom_frame_view_ash.cc:151: maximize_button_->ToggleMaximize(); ToggleMaximized ...
8 years, 3 months ago (2012-08-27 22:18:16 UTC) #2
Mr4D (OOO till 08-26)
Addressed. Sorry that there is no describing patch name, but remote linux has a SERIOUS ...
8 years, 3 months ago (2012-08-28 01:30:25 UTC) #3
sky
http://codereview.chromium.org/10883069/diff/10001/ash/wm/workspace/frame_maximize_button.cc File ash/wm/workspace/frame_maximize_button.cc (right): http://codereview.chromium.org/10883069/diff/10001/ash/wm/workspace/frame_maximize_button.cc#newcode498 ash/wm/workspace/frame_maximize_button.cc:498: // Get the window coordinates on the screen for ...
8 years, 3 months ago (2012-08-28 15:38:36 UTC) #4
Mr4D (OOO till 08-26)
See comments. Again - remote linux took 2 enter's for one and the patch has ...
8 years, 3 months ago (2012-08-28 19:40:53 UTC) #5
sky
http://codereview.chromium.org/10883069/diff/16001/ash/wm/window_util.cc File ash/wm/window_util.cc (right): http://codereview.chromium.org/10883069/diff/16001/ash/wm/window_util.cc#newcode141 ash/wm/window_util.cc:141: window->SetProperty(aura::client::kShowStateKey, Don't maximize here, just set the bounds. http://codereview.chromium.org/10883069/diff/16001/ash/wm/window_util.h ...
8 years, 3 months ago (2012-08-28 20:46:36 UTC) #6
Mr4D (OOO till 08-26)
Hello sky! I was doing - most of what you requested. The other comments were ...
8 years, 3 months ago (2012-08-28 22:40:02 UTC) #7
Mr4D (OOO till 08-26)
Sky, addressed as discussed. Well - I hope so :) Please have another look!
8 years, 3 months ago (2012-08-29 16:26:09 UTC) #8
sky
http://codereview.chromium.org/10883069/diff/14002/ash/wm/base_layout_manager.cc File ash/wm/base_layout_manager.cc (right): http://codereview.chromium.org/10883069/diff/14002/ash/wm/base_layout_manager.cc#newcode140 ash/wm/base_layout_manager.cc:140: GetRestoreBoundsInParent(window).IsEmpty() && Use GetRestoreBoundsInScreen, which returns NULL if not ...
8 years, 3 months ago (2012-08-29 17:29:20 UTC) #9
Mr4D (OOO till 08-26)
Addressed. Please have another look! http://codereview.chromium.org/10883069/diff/14002/ash/wm/base_layout_manager.cc File ash/wm/base_layout_manager.cc (right): http://codereview.chromium.org/10883069/diff/14002/ash/wm/base_layout_manager.cc#newcode140 ash/wm/base_layout_manager.cc:140: GetRestoreBoundsInParent(window).IsEmpty() && On 2012/08/29 ...
8 years, 3 months ago (2012-08-29 18:57:34 UTC) #10
sky
LGTM http://codereview.chromium.org/10883069/diff/14002/ash/wm/workspace/frame_maximize_button.cc File ash/wm/workspace/frame_maximize_button.cc (right): http://codereview.chromium.org/10883069/diff/14002/ash/wm/workspace/frame_maximize_button.cc#newcode504 ash/wm/workspace/frame_maximize_button.cc:504: restore = *ash::GetRestoreBoundsInScreen(widget->GetNativeWindow()); On 2012/08/29 18:57:34, Mr4D wrote: ...
8 years, 3 months ago (2012-08-29 21:08:50 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/10883069/23003
8 years, 3 months ago (2012-08-29 21:28:22 UTC) #12
commit-bot: I haz the power
Try job failure for 10883069-23003 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 3 months ago (2012-08-29 23:26:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/10883069/23003
8 years, 3 months ago (2012-08-29 23:53:57 UTC) #14
commit-bot: I haz the power
Try job failure for 10883069-23003 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 3 months ago (2012-08-30 02:59:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/10883069/23003
8 years, 3 months ago (2012-08-30 03:26:30 UTC) #16
commit-bot: I haz the power
Try job failure for 10883069-23003 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-08-30 05:05:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/10883069/23003
8 years, 3 months ago (2012-08-30 14:25:37 UTC) #18
commit-bot: I haz the power
Change committed as 154226
8 years, 3 months ago (2012-08-30 19:27:26 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/10883069/31002
8 years, 3 months ago (2012-08-30 20:04:06 UTC) #20
commit-bot: I haz the power
Change committed as 154295
8 years, 3 months ago (2012-08-30 22:42:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/10883069/41001
8 years, 3 months ago (2012-08-31 01:52:32 UTC) #22
commit-bot: I haz the power
8 years, 3 months ago (2012-08-31 04:18:40 UTC) #23
Change committed as 154372

Powered by Google App Engine
This is Rietveld 408576698