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

Issue 248019: [Mac] Create HyperlinkButtonCell and make the "Get themes" button an instance (Closed)

Created:
11 years, 2 months ago by Robert Sesek
Modified:
9 years, 7 months ago
Reviewers:
TVL, Nico
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

[Mac] Create HyperlinkButtonCell and make the "Get themes" button an instance * Creates a HyperlinkButtonCell that can be used in conjuction with a NSButton to display the control as a hyperlink (blue underliend text), rather than a normal Cocoa control. * Switch the "Get themes..." button in Preferences to be one. BUG=17989, 21414 TEST=Preferences-->Personal Stuff, "Get themes..." is a hyperlink. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27479

Patch Set 1 #

Total comments: 15

Patch Set 2 : Address Thakis' comments #

Patch Set 3 : Add unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -24 lines) Patch
M chrome/app/nibs/Preferences.xib View 1 2 23 chunks +20 lines, -24 lines 0 comments Download
A chrome/browser/cocoa/hyperlink_button_cell.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/hyperlink_button_cell.mm View 1 2 1 chunk +105 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/hyperlink_button_cell_unittest.mm View 1 chunk +85 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Robert Sesek
11 years, 2 months ago (2009-09-28 17:27:18 UTC) #1
Nico
Looks pretty good, some minor comments & a few questions. http://codereview.chromium.org/248019/diff/1/3 File chrome/browser/cocoa/hyperlink_button_cell.h (right): http://codereview.chromium.org/248019/diff/1/3#newcode15 ...
11 years, 2 months ago (2009-09-28 17:39:46 UTC) #2
TVL
why are we making the button in prefs a hyperlink? did windows make this switch? ...
11 years, 2 months ago (2009-09-28 18:17:10 UTC) #3
Nico
Yes, see one of the two bugs in the BUGS line: http://crbug.com/21414 . The ui ...
11 years, 2 months ago (2009-09-28 18:20:48 UTC) #4
Robert Sesek
http://codereview.chromium.org/248019/diff/1/3 File chrome/browser/cocoa/hyperlink_button_cell.h (right): http://codereview.chromium.org/248019/diff/1/3#newcode15 Line 15: @property (retain) NSURL* url; On 2009/09/28 17:39:46, Nico ...
11 years, 2 months ago (2009-09-28 21:09:10 UTC) #5
Nico
11 years, 2 months ago (2009-09-29 02:03:23 UTC) #6
LGTM assuming you add the usual AddRemove and Display tests for cells.

Powered by Google App Engine
This is Rietveld 408576698