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

Issue 10823025: Adding new maximize menu according to spec (Closed)

Created:
8 years, 5 months ago by Mr4D (OOO till 08-26)
Modified:
8 years, 4 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, tfarina, alicet1, sadrul, msw+watch_chromium.org, ben+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Adding new maximize menu according to specification. BUG=132686 TEST=Visually tested Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150012

Patch Set 1 #

Patch Set 2 : Merged with trunk #

Patch Set 3 : Fixed merging issues #

Total comments: 4

Patch Set 4 : Added protection against moving / sizing, handled trnasparency and focus #

Patch Set 5 : Addressed comments #

Patch Set 6 : Found some edge cases for menu destruction #

Total comments: 56

Patch Set 7 : Addressed comment #

Patch Set 8 : Removed radial #

Total comments: 151

Patch Set 9 : Addressed second round of reviews #

Patch Set 10 : Added snap_types.h #

Total comments: 11

Patch Set 11 : Minor reformatting #

Patch Set 12 : Adding mouse watcher #

Total comments: 36

Patch Set 13 : Addressed review #

Patch Set 14 : Addressed review #

Patch Set 15 : Fixed trybot problems #

Total comments: 2

Patch Set 16 : Fixed problem with full screen applications #

Total comments: 26

Patch Set 17 : git try #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1020 lines, -123 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -0 lines 0 comments Download
M ash/ash_strings.grd View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -4 lines 0 comments Download
M ash/wm/frame_painter.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -14 lines 0 comments Download
A ash/wm/maximize_bubble_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +88 lines, -0 lines 0 comments Download
A ash/wm/maximize_bubble_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +682 lines, -0 lines 0 comments Download
M ash/wm/workspace/frame_maximize_button.h View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +34 lines, -17 lines 0 comments Download
M ash/wm/workspace/frame_maximize_button.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 9 chunks +116 lines, -55 lines 0 comments Download
M ash/wm/workspace/phantom_window_controller.h View 1 2 3 4 5 6 3 chunks +10 lines, -1 line 0 comments Download
M ash/wm/workspace/phantom_window_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +13 lines, -8 lines 0 comments Download
A ash/wm/workspace/snap_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +0 lines, -7 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_fullscreen_close_hover.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_fullscreen_close_normal.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_fullscreen_close_pressed.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_fullscreen_restore_hover.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_fullscreen_restore_normal.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_fullscreen_restore_pressed.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_fullscreen_separator.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_close_hover.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_close_normal.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_close_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_minimize_hover.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_minimize_normal.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_minimize_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_restore_hover.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_restore_normal.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_restore_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_snap_left_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_snap_minimize_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_snap_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_maximized_snap_right_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_snap_left_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_snap_minimize_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_snap_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D ui/resources/default_100_percent/aura/window_snap_right_pressed.png View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
M ui/resources/ui_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +40 lines, -40 lines 0 comments Download
M ui/views/bubble/bubble_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_delegate.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
Mr4D (OOO till 08-26)
Sky, I am still waiting for some artwork to come in, but that should not ...
8 years, 5 months ago (2012-07-25 22:39:27 UTC) #1
msw
Drive-by for bubble_delegate.[h|cc], I didn't look elsewhere. http://codereview.chromium.org/10823025/diff/4001/ui/views/bubble/bubble_delegate.h File ui/views/bubble/bubble_delegate.h (right): http://codereview.chromium.org/10823025/diff/4001/ui/views/bubble/bubble_delegate.h#newcode88 ui/views/bubble/bubble_delegate.h:88: // Get ...
8 years, 5 months ago (2012-07-25 23:11:55 UTC) #2
Mr4D (OOO till 08-26)
Addressed comments. Have another look! http://codereview.chromium.org/10823025/diff/4001/ui/views/bubble/bubble_delegate.h File ui/views/bubble/bubble_delegate.h (right): http://codereview.chromium.org/10823025/diff/4001/ui/views/bubble/bubble_delegate.h#newcode88 ui/views/bubble/bubble_delegate.h:88: // Get the arrow's ...
8 years, 5 months ago (2012-07-26 01:17:20 UTC) #3
Mr4D (OOO till 08-26)
I assume that sky might not have time to look at this so I asked ...
8 years, 4 months ago (2012-07-30 23:47:05 UTC) #4
tfarina
On Mon, Jul 30, 2012 at 8:47 PM, <skuhne@chromium.org> wrote: > I assume that sky ...
8 years, 4 months ago (2012-07-31 02:21:03 UTC) #5
sky
As discussed, Stefan is going to pull out the radial menu changes from this cl ...
8 years, 4 months ago (2012-07-31 16:11:06 UTC) #6
sky
I removed Brett since he isn't appropriate for this.
8 years, 4 months ago (2012-07-31 16:11:29 UTC) #7
Mr4D (OOO till 08-26)
Addressed and radial removed. Please have another look! http://codereview.chromium.org/10823025/diff/4002/ash/wm/window_maximize.cc File ash/wm/window_maximize.cc (right): http://codereview.chromium.org/10823025/diff/4002/ash/wm/window_maximize.cc#newcode5 ash/wm/window_maximize.cc:5: // ...
8 years, 4 months ago (2012-08-01 20:48:21 UTC) #8
sky
http://codereview.chromium.org/10823025/diff/3019/ash/wm/maximize_bubble_controller.cc File ash/wm/maximize_bubble_controller.cc (right): http://codereview.chromium.org/10823025/diff/3019/ash/wm/maximize_bubble_controller.cc#newcode36 ash/wm/maximize_bubble_controller.cc:36: enum RadialMenuCommands { Remove this. http://codereview.chromium.org/10823025/diff/3019/ash/wm/maximize_bubble_controller.cc#newcode66 ash/wm/maximize_bubble_controller.cc:66: const int ...
8 years, 4 months ago (2012-08-02 18:30:30 UTC) #9
msw
Try closely reviewing your own CLs before requesting review. That helps you catch nits, etc. ...
8 years, 4 months ago (2012-08-02 18:56:59 UTC) #10
msw
Please also update the CL title, description, and TEST=
8 years, 4 months ago (2012-08-02 18:58:24 UTC) #11
Mr4D (OOO till 08-26)
Updated. Please have another look! http://codereview.chromium.org/10823025/diff/3019/ash/wm/maximize_bubble_controller.cc File ash/wm/maximize_bubble_controller.cc (right): http://codereview.chromium.org/10823025/diff/3019/ash/wm/maximize_bubble_controller.cc#newcode11 ash/wm/maximize_bubble_controller.cc:11: #include "base/command_line.h" I removed ...
8 years, 4 months ago (2012-08-02 23:10:38 UTC) #12
sky
http://codereview.chromium.org/10823025/diff/13002/ash/wm/maximize_bubble_controller.cc File ash/wm/maximize_bubble_controller.cc (right): http://codereview.chromium.org/10823025/diff/13002/ash/wm/maximize_bubble_controller.cc#newcode389 ash/wm/maximize_bubble_controller.cc:389: mouse_watcher_->Start(); Don't you want to wait until you know ...
8 years, 4 months ago (2012-08-03 19:42:00 UTC) #13
msw
Sorry if some of these comments no longer apply, I drafted them amid your uploading ...
8 years, 4 months ago (2012-08-03 19:58:54 UTC) #14
Mr4D (OOO till 08-26)
Addressed! Please have another look! http://codereview.chromium.org/10823025/diff/13002/ash/wm/maximize_bubble_controller.cc File ash/wm/maximize_bubble_controller.cc (right): http://codereview.chromium.org/10823025/diff/13002/ash/wm/maximize_bubble_controller.cc#newcode389 ash/wm/maximize_bubble_controller.cc:389: mouse_watcher_->Start(); No. Because of ...
8 years, 4 months ago (2012-08-03 20:39:28 UTC) #15
sky
http://codereview.chromium.org/10823025/diff/13002/ash/wm/workspace/frame_maximize_button.cc File ash/wm/workspace/frame_maximize_button.cc (right): http://codereview.chromium.org/10823025/diff/13002/ash/wm/workspace/frame_maximize_button.cc#newcode311 ash/wm/workspace/frame_maximize_button.cc:311: gfx::Point screen_location = gfx::Screen::GetCursorScreenPoint(); On 2012/08/03 20:39:28, Mr4D wrote: ...
8 years, 4 months ago (2012-08-03 20:43:08 UTC) #16
Mr4D (OOO till 08-26)
Okay, done. Please have another look! http://codereview.chromium.org/10823025/diff/13002/ash/wm/workspace/frame_maximize_button.cc File ash/wm/workspace/frame_maximize_button.cc (right): http://codereview.chromium.org/10823025/diff/13002/ash/wm/workspace/frame_maximize_button.cc#newcode311 ash/wm/workspace/frame_maximize_button.cc:311: gfx::Point screen_location = ...
8 years, 4 months ago (2012-08-03 20:47:31 UTC) #17
sky
LGTM http://codereview.chromium.org/10823025/diff/13002/ash/wm/workspace/frame_maximize_button.cc File ash/wm/workspace/frame_maximize_button.cc (right): http://codereview.chromium.org/10823025/diff/13002/ash/wm/workspace/frame_maximize_button.cc#newcode146 ash/wm/workspace/frame_maximize_button.cc:146: if (!window_ && parent()) { On 2012/08/03 20:39:28, ...
8 years, 4 months ago (2012-08-03 23:10:16 UTC) #18
Mr4D (OOO till 08-26)
Sky, many thanks for your review! I was however running into one last minute crash ...
8 years, 4 months ago (2012-08-04 00:42:23 UTC) #19
msw
IIRC, the bots may have trouble with a patch that contains new image resources as ...
8 years, 4 months ago (2012-08-04 01:21:30 UTC) #20
Mr4D (OOO till 08-26)
Addressed http://codereview.chromium.org/10823025/diff/7010/ash/ash.gyp File ash/ash.gyp (right): http://codereview.chromium.org/10823025/diff/7010/ash/ash.gyp#newcode257 ash/ash.gyp:257: 'wm/maximize_bubble_controller.cc', On 2012/08/04 01:21:30, msw wrote: > nit: ...
8 years, 4 months ago (2012-08-04 02:56:22 UTC) #21
msw
Please provide a meaningful CL description. I still think some code could be merged with ...
8 years, 4 months ago (2012-08-04 03:11:55 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/10823025/19003
8 years, 4 months ago (2012-08-04 03:20:38 UTC) #23
commit-bot: I haz the power
8 years, 4 months ago (2012-08-04 04:39:41 UTC) #24
Change committed as 150012

Powered by Google App Engine
This is Rietveld 408576698