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

Side by Side Diff: ui/base/cocoa/controls/hyperlink_text_view.h

Issue 595283002: Move nsview_additions and hyperlink_text_view to ui/base/cocoa (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
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 25 matching lines...) Expand all
36 // Marks a |range| within the given message as link, associating it with 36 // Marks a |range| within the given message as link, associating it with
37 // a |name| that is passed to the delegate's textView:clickedOnLink:atIndex:. 37 // a |name| that is passed to the delegate's textView:clickedOnLink:atIndex:.
38 - (void)addLinkRange:(NSRange)range 38 - (void)addLinkRange:(NSRange)range
39 withName:(id)name 39 withName:(id)name
40 linkColor:(NSColor*)linkColor; 40 linkColor:(NSColor*)linkColor;
41 41
42 // This is NO (by default) if the view rejects first responder status. 42 // This is NO (by default) if the view rejects first responder status.
43 - (void)setRefusesFirstResponder:(BOOL)refusesFirstResponder; 43 - (void)setRefusesFirstResponder:(BOOL)refusesFirstResponder;
44 44
45 @end 45 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698