Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Issue 3014004: Change mac notifications UI to match the new mocks. Introduce a new utility ... (Closed)

Created:
10 years, 5 months ago by John Gregg
Modified:
9 years ago
Reviewers:
TVL, Nico
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Change mac notifications UI to match the new mocks. Introduce a new utility view which provides an image based button that changes on hover and press. Refer to the bug for screenshots of the current and desired UI. Screenshot of what results from this patch is visible at http://www.corp.google.com/~johnnyg/49490patch.png XIB change: change height of title bar, change bindings of buttons. BUG=49190 TEST=notifications on the mac Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54326

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 14

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+404 lines, -196 lines) Patch
M chrome/app/nibs/Notification.xib View 1 2 3 4 12 chunks +27 lines, -80 lines 0 comments Download
A chrome/browser/cocoa/hover_button.h View 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/hover_button.mm View 1 chunk +97 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/hover_close_button.h View 2 chunks +2 lines, -23 lines 0 comments Download
M chrome/browser/cocoa/hover_close_button.mm View 3 chunks +1 line, -77 lines 0 comments Download
A chrome/browser/cocoa/hover_image_button.h View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/hover_image_button.mm View 1 2 3 4 1 chunk +65 lines, -0 lines 3 comments Download
A chrome/browser/cocoa/hover_image_button_unittest.mm View 3 4 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/notifications/balloon_controller.h View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/notifications/balloon_controller.mm View 1 2 3 4 5 5 chunks +52 lines, -7 lines 0 comments Download
M chrome/browser/cocoa/notifications/balloon_view.mm View 1 2 3 4 3 chunks +14 lines, -5 lines 0 comments Download
M chrome/browser/notifications/balloon_collection_mac.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 2 chunks +5 lines, -0 lines 1 comment Download
M chrome/chrome_tests.gypi View 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
John Gregg
10 years, 5 months ago (2010-07-15 22:01:00 UTC) #1
Nico
Land the new png file in its own CL, else you can't use the trybots ...
10 years, 5 months ago (2010-07-15 22:07:41 UTC) #2
John Gregg
On 2010/07/15 22:07:41, Nico wrote: > Land the new png file in its own CL, ...
10 years, 5 months ago (2010-07-15 22:10:26 UTC) #3
Nico
A few nits below. In general, we try to keep the mac UI resolution independent. ...
10 years, 5 months ago (2010-07-15 22:12:13 UTC) #4
John Gregg
New patch posted which uses a PDF and contains a unit test.
10 years, 4 months ago (2010-07-27 18:55:27 UTC) #5
Nico
As said before, land the pdf in a separate cl http://codereview.chromium.org/3014004/diff/18001/19004 File chrome/browser/cocoa/hover_image_button.mm (right): http://codereview.chromium.org/3014004/diff/18001/19004#newcode34 ...
10 years, 4 months ago (2010-07-27 20:13:39 UTC) #6
John Gregg
http://codereview.chromium.org/3014004/diff/18001/19004 File chrome/browser/cocoa/hover_image_button.mm (right): http://codereview.chromium.org/3014004/diff/18001/19004#newcode34 chrome/browser/cocoa/hover_image_button.mm:34: [self commonInit]; On 2010/07/27 20:13:39, Nico wrote: > you ...
10 years, 4 months ago (2010-07-27 21:01:46 UTC) #7
John Gregg
ping on the latest CL? Thanks
10 years, 4 months ago (2010-07-28 21:56:36 UTC) #8
Nico
Sorry, missed this On Tue, Jul 27, 2010 at 2:01 PM, <[email protected]> wrote: > > ...
10 years, 4 months ago (2010-07-28 22:04:07 UTC) #9
John Gregg
> Oh, I see. Can you pull out the common code between the two classes ...
10 years, 4 months ago (2010-07-29 00:03:50 UTC) #10
Nico
lg http://codereview.chromium.org/3014004/diff/35001/36007 File chrome/browser/cocoa/hover_image_button.mm (right): http://codereview.chromium.org/3014004/diff/35001/36007#newcode13 chrome/browser/cocoa/hover_image_button.mm:13: - (void)setTrackingEnabled:(BOOL)enabled; remvoe http://codereview.chromium.org/3014004/diff/35001/36007#newcode17 chrome/browser/cocoa/hover_image_button.mm:17: - (void)commonInit; reove ...
10 years, 4 months ago (2010-07-29 16:12:59 UTC) #11
TVL
10 years, 4 months ago (2010-08-09 20:08:54 UTC) #12
http://codereview.chromium.org/3014004/diff/35001/36013
File chrome/chrome_browser.gypi (right):

http://codereview.chromium.org/3014004/diff/35001/36013#newcode3118
chrome/chrome_browser.gypi:3118: 'app/nibs/Notification.xib',
This doesn't appear to have any localized resources in it and is triggering a
warning in the build.  Is it supposed to have localized resources?

Powered by Google App Engine
This is Rietveld 408576698