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

Unified Diff: chrome/browser/cocoa/hyperlink_button_cell.h

Issue 248019: [Mac] Create HyperlinkButtonCell and make the "Get themes" button an instance (Closed)
Patch Set: Add unit test Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/nibs/Preferences.xib ('k') | chrome/browser/cocoa/hyperlink_button_cell.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/hyperlink_button_cell.h
diff --git a/chrome/browser/cocoa/hyperlink_button_cell.h b/chrome/browser/cocoa/hyperlink_button_cell.h
new file mode 100644
index 0000000000000000000000000000000000000000..00639ce57d80164e3e8a7f3501033faef7ceb418
--- /dev/null
+++ b/chrome/browser/cocoa/hyperlink_button_cell.h
@@ -0,0 +1,16 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import <Cocoa/Cocoa.h>
+#include "base/scoped_nsobject.h"
+
+// A HyperlinkButtonCell is used to create an NSButton that looks and acts
+// like a hyperlink. The default styling is to look like blue, underlined text
+// and to have the pointingHand cursor on mouse over.
+@interface HyperlinkButtonCell : NSButtonCell {
+ scoped_nsobject<NSColor> textColor_;
+}
+@property (retain) NSColor* textColor;
+
+@end
« no previous file with comments | « chrome/app/nibs/Preferences.xib ('k') | chrome/browser/cocoa/hyperlink_button_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698