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

Side by Side Diff: chrome/browser/ui/cocoa/static_text_view.h

Issue 7610011: Update Sad Tab help text and link. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix message centering. Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import <Cocoa/Cocoa.h>
6
7 // StaticTextView is an NSTextView subclass for unselectable, linkable UI text.
8 // This subclass doesn't show the text caret or IBeamCursor, whereas the base
9 // class NSTextView displays both with full keyboard accessibility enabled.
10 @interface StaticTextView : NSTextView
Nico 2011/08/31 22:35:19 I feel this should say "hyperlink" somewhere in th
msw 2011/09/01 03:30:49 Done.
11 // Change the current IBeamCursor to an arrowCursor.
12 - (void)fixupCursor;
13
14 // Convenience function that sets the |StaticTextView| contents to the specified
15 // |message| with a hypertext style |link| inserted at |linkOffset|. Uses the
16 // supplied |font|, |messageColor|, and |linkColor|.
17 - (void)setMessageAndLink:(NSString*)message
18 withLink:(NSString*)link
19 atOffset:(NSUInteger)linkOffset
20 font:(NSFont*)font
21 messageColor:(NSColor*)messageColor
22 linkColor:(NSColor*)linkColor;
23 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698