Index: chrome/browser/cocoa/autocomplete_text_field.h |
diff --git a/chrome/browser/cocoa/autocomplete_text_field.h b/chrome/browser/cocoa/autocomplete_text_field.h |
index 709bd17aa756de995df15d5dacb06b6af494a7de..17025d2ac9595a743b7b39fa3a3711035c9e320b 100644 |
--- a/chrome/browser/cocoa/autocomplete_text_field.h |
+++ b/chrome/browser/cocoa/autocomplete_text_field.h |
@@ -12,8 +12,19 @@ |
// around this code all at once before layering other changes over in |
// parallel. |
+@protocol AutocompleteTextFieldDelegateMethods |
+ |
+// Delegate -textShouldPaste: implementation to the field being |
+// edited. See AutocompleteTextFieldEditor implementation. |
+- (BOOL)control:(NSControl*)control textShouldPaste:(NSText*)fieldEditor; |
+ |
+@end |
+ |
@interface AutocompleteTextField : NSTextField { |
} |
+ |
+- (BOOL)textShouldPaste:(NSText*)fieldEditor; |
+ |
@end |
#endif // CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ |