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

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

Issue 501135: Revert 34998, more stabbing in the dark to find a perf regression - Mac: impl... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years 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 | « no previous file | chrome/browser/cocoa/autocomplete_text_field.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/autocomplete_text_field.h
===================================================================
--- chrome/browser/cocoa/autocomplete_text_field.h (revision 35037)
+++ chrome/browser/cocoa/autocomplete_text_field.h (working copy)
@@ -6,10 +6,9 @@
#define CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_
#import <Cocoa/Cocoa.h>
+#import "chrome/browser/cocoa/styled_text_field.h"
#include "base/scoped_nsobject.h"
-#import "chrome/browser/cocoa/styled_text_field.h"
-#import "chrome/browser/cocoa/url_drop_target.h"
@class AutocompleteTextFieldCell;
@@ -76,16 +75,13 @@
virtual bool OnDoCommandBySelector(SEL cmd) = 0;
};
-@interface AutocompleteTextField : StyledTextField<URLDropTarget> {
+@interface AutocompleteTextField : StyledTextField {
@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.
scoped_nsobject<NSUndoManager> undoManager_;
AutocompleteTextFieldObserver* observer_; // weak, owned by location bar.
-
- // Handles being a drag-and-drop target.
- scoped_nsobject<URLDropTargetHandler> dropHandler_;
}
@property AutocompleteTextFieldObserver* observer;
« no previous file with comments | « no previous file | chrome/browser/cocoa/autocomplete_text_field.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698