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

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

Issue 40483003: [rAC, OSX] Add "generated CC" info bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes aplenty Created 7 years, 1 month 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 @class NSColor; 7 @class NSColor;
8 8
9 // HyperlinkTextView is an NSTextView subclass for unselectable, linkable text. 9 // HyperlinkTextView is an NSTextView subclass for unselectable, linkable text.
10 // This subclass doesn't show the text caret or IBeamCursor, whereas the base 10 // This subclass doesn't show the text caret or IBeamCursor, whereas the base
(...skipping 21 matching lines...) Expand all
32 32
33 // Marks a |range| within the given message as link, associating it with 33 // Marks a |range| within the given message as link, associating it with
34 // a |name| that is passed to the delegate's textView:clickedOnLink:atIndex:. 34 // a |name| that is passed to the delegate's textView:clickedOnLink:atIndex:.
35 - (void)addLinkRange:(NSRange)range 35 - (void)addLinkRange:(NSRange)range
36 withName:(id)name 36 withName:(id)name
37 linkColor:(NSColor*)linkColor; 37 linkColor:(NSColor*)linkColor;
38 38
39 // This is YES (by default) if the view accepts first responder status. 39 // This is YES (by default) if the view accepts first responder status.
40 - (void)setAcceptsFirstResponder:(BOOL)acceptsFirstResponder; 40 - (void)setAcceptsFirstResponder:(BOOL)acceptsFirstResponder;
41 41
42 // Sets size of the text view to fit all text, keeping a fixed |width|.
43 - (void)setFrameSizeForWidth:(CGFloat)width;
44
42 @end 45 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698