Skip to content

Commit

Permalink
Make AutocompleteTextField adhere to NSTextViewDelegate.
Browse files Browse the repository at this point in the history
BUG=30154
TEST=10.6 SDK build
Review URL: http://codereview.chromium.org/501156

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35102 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
mark@chromium.org committed Dec 21, 2009
1 parent 417f97e commit 37ee9fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chrome/browser/cocoa/autocomplete_text_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#import <Cocoa/Cocoa.h>

#include "base/cocoa_protocols_mac.h"
#include "base/scoped_nsobject.h"
#import "chrome/browser/cocoa/styled_text_field.h"
#import "chrome/browser/cocoa/url_drop_target.h"
Expand Down Expand Up @@ -76,7 +77,8 @@ class AutocompleteTextFieldObserver {
virtual bool OnDoCommandBySelector(SEL cmd) = 0;
};

@interface AutocompleteTextField : StyledTextField<URLDropTarget> {
@interface AutocompleteTextField : StyledTextField<NSTextViewDelegate,
URLDropTarget> {
@private
// Undo manager for this text field. We use a specific instance rather than
// the standard undo manager in order to let us clear the undo stack at will.
Expand Down

0 comments on commit 37ee9fd

Please sign in to comment.