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

Issue 11103042: New custom styling for action box menu on Os X. (Closed)

Created:
8 years, 2 months ago by beaudoin
Modified:
8 years, 2 months ago
CC:
chromium-reviews, stromme
Visibility:
Public.

Description

New custom styling for action box menu on Os X. BUG=138118 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162058

Patch Set 1 : #

Patch Set 2 : Check that icon exists before setting it. #

Total comments: 20

Patch Set 3 : Answered first set of comments by Scott. #

Total comments: 29

Patch Set 4 : Answered shess second round of comments. #

Total comments: 10

Patch Set 5 : Answered shess third round of comments. #

Total comments: 4

Patch Set 6 : Answered shess final round of comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+698 lines, -227 lines) Patch
A + chrome/app/nibs/ActionBoxMenuItem.xib View 1 2 9 chunks +180 lines, -197 lines 0 comments Download
M chrome/browser/ui/cocoa/base_bubble_controller.mm View 1 2 3 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/info_bubble_view.h View 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/info_bubble_view.mm View 1 2 3 chunks +10 lines, -1 line 0 comments Download
A chrome/browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.h View 1 2 3 4 1 chunk +97 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.mm View 1 2 3 4 5 1 chunk +363 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/plus_decoration.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/plus_decoration.mm View 1 2 3 3 chunks +19 lines, -28 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_nibs.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_nibs.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
beaudoin
@ben : For c/* @shess : For c/app/nibs/* and c/b/ui/cocoa/* This replaces the native menu ...
8 years, 2 months ago (2012-10-12 01:45:10 UTC) #1
Ben Goodger (Google)
Note that you can always TBR gyp changes like this to me. LGTM.
8 years, 2 months ago (2012-10-12 21:44:43 UTC) #2
Scott Hess - ex-Googler
checkpoint, I need to finish other stuff today. http://codereview.chromium.org/11103042/diff/7001/chrome/browser/ui/cocoa/info_bubble_view.mm File chrome/browser/ui/cocoa/info_bubble_view.mm (right): http://codereview.chromium.org/11103042/diff/7001/chrome/browser/ui/cocoa/info_bubble_view.mm#newcode22 chrome/browser/ui/cocoa/info_bubble_view.mm:22: backgroundColor_.reset([NSColor ...
8 years, 2 months ago (2012-10-12 23:02:47 UTC) #3
beaudoin
Answered first round of comments. http://codereview.chromium.org/11103042/diff/7001/chrome/browser/ui/cocoa/info_bubble_view.mm File chrome/browser/ui/cocoa/info_bubble_view.mm (right): http://codereview.chromium.org/11103042/diff/7001/chrome/browser/ui/cocoa/info_bubble_view.mm#newcode22 chrome/browser/ui/cocoa/info_bubble_view.mm:22: backgroundColor_.reset([NSColor whiteColor]); On 2012/10/12 ...
8 years, 2 months ago (2012-10-13 00:20:55 UTC) #4
Scott Hess - ex-Googler
Some more feedback. This really feels like you're re-implementing an NSMatrix of custom NSButtonCell. I ...
8 years, 2 months ago (2012-10-15 06:06:35 UTC) #5
beaudoin
We considered using NSMatrix/NSButtonCell but in the end decided to imitate AvatarMenuBubbleController that has roughly ...
8 years, 2 months ago (2012-10-15 16:42:57 UTC) #6
Scott Hess - ex-Googler
On 2012/10/15 16:42:57, beaudoin wrote: > We considered using NSMatrix/NSButtonCell but in the end decided ...
8 years, 2 months ago (2012-10-15 21:15:18 UTC) #7
beaudoin
I've added the need for unit test to a separate crbug.com/155971 http://codereview.chromium.org/11103042/diff/19001/chrome/browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.mm File chrome/browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.mm (right): ...
8 years, 2 months ago (2012-10-15 22:38:38 UTC) #8
Scott Hess - ex-Googler
I'm going to say LGTM. I think -items can go. Suggest either mentioning nil/NSNotFound case ...
8 years, 2 months ago (2012-10-15 23:03:22 UTC) #9
beaudoin
Thanks for the review! Wrapped up the final fixes, submitting now. http://codereview.chromium.org/11103042/diff/12012/chrome/browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.mm File chrome/browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.mm (right): ...
8 years, 2 months ago (2012-10-15 23:31:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/11103042/18014
8 years, 2 months ago (2012-10-15 23:31:27 UTC) #11
commit-bot: I haz the power
Change committed as 162058
8 years, 2 months ago (2012-10-16 03:04:32 UTC) #12
Nico
Why isn't this just a popup menu? This looks like a badly reimplemented regular menu.
8 years, 2 months ago (2012-10-17 17:26:34 UTC) #13
beaudoin
On 2012/10/17 17:26:34, Nico wrote: > Why isn't this just a popup menu? This looks ...
8 years, 2 months ago (2012-10-17 17:34:50 UTC) #14
Ben Goodger (Google)
8 years, 2 months ago (2012-10-17 17:35:40 UTC) #15
After seeing what this looks like I agree. I talked to glen yesterday and
he said it's supposed to be a bubble, not a menu. So that's what should be
done instead.


On Wed, Oct 17, 2012 at 10:26 AM, <thakis@chromium.org> wrote:

> Why isn't this just a popup menu? This looks like a badly reimplemented
> regular
> menu.
>
>
https://chromiumcodereview.**appspot.com/11103042/<https://chromiumcodereview...
>

Powered by Google App Engine
This is Rietveld 408576698