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

Issue 196043: Pretty-up the blocked popup view by sharing code from the status bubble. Bloc... (Closed)

Created:
11 years, 3 months ago by pink (ping after 24hrs)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, pam+watch_chromium.org, Ben Goodger (Google), Paweł Hajdan Jr.
Visibility:
Public.

Description

Pretty-up the blocked popup view by sharing code from the status bubble. Blocked Popup view is now themed as well. BUG=20815 TEST=popup blocking and status bubble still work. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25662

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -166 lines) Patch
M chrome/browser/cocoa/blocked_popup_container_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/blocked_popup_container_controller.mm View 8 chunks +47 lines, -15 lines 2 comments Download
M chrome/browser/cocoa/blocked_popup_container_controller_unittest.mm View 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/cocoa/bubble_view.h View 1 chunk +65 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/bubble_view.mm View 1 chunk +129 lines, -0 lines 2 comments Download
A chrome/browser/cocoa/bubble_view_unittest.mm View 1 chunk +71 lines, -0 lines 2 comments Download
M chrome/browser/cocoa/status_bubble_mac.mm View 8 chunks +16 lines, -150 lines 0 comments Download
M chrome/chrome.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
pink (ping after 24hrs)
11 years, 3 months ago (2009-09-08 17:04:56 UTC) #1
rohitrao (ping after 24h)
LGTM http://codereview.chromium.org/196043/diff/1/7 File chrome/browser/cocoa/blocked_popup_container_controller.mm (right): http://codereview.chromium.org/196043/diff/1/7#newcode119 Line 119: [closeButton_ setAlternateImage:nsimage_cache::ImageNamed(@"close_bar_p.pdf")]; Line too long. http://codereview.chromium.org/196043/diff/1/6 File ...
11 years, 3 months ago (2009-09-08 19:25:20 UTC) #2
pink (ping after 24hrs)
11 years, 3 months ago (2009-09-08 19:50:17 UTC) #3
http://codereview.chromium.org/196043/diff/1/7
File chrome/browser/cocoa/blocked_popup_container_controller.mm (right):

http://codereview.chromium.org/196043/diff/1/7#newcode119
Line 119: [closeButton_
setAlternateImage:nsimage_cache::ImageNamed(@"close_bar_p.pdf")];
On 2009/09/08 19:25:21, rohitrao wrote:
> Line too long.

Done.

http://codereview.chromium.org/196043/diff/1/6
File chrome/browser/cocoa/bubble_view.mm (right):

http://codereview.chromium.org/196043/diff/1/6#newcode101
Line 101: border = [NSBezierPath gtm_bezierPathWithRoundRect:bounds
On 2009/09/08 19:25:21, rohitrao wrote:
> Isn't this the same path as above?

good catch, this was from the original code.

http://codereview.chromium.org/196043/diff/1/3
File chrome/browser/cocoa/bubble_view_unittest.mm (right):

http://codereview.chromium.org/196043/diff/1/3#newcode49
Line 49: // Make sure things don't go haywire when given invalid or extra-long
strings
On 2009/09/08 19:25:21, rohitrao wrote:
> Is there any value in testing displaying extra-long strings?

No, not really. I can remove.

Powered by Google App Engine
This is Rietveld 408576698