Index: chrome/browser/autocomplete/autocomplete_edit_view_mac.mm |
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm |
index aa245e6944d6b763c75474603dbaacb631cf58b2..055dc662cb7c24dbfde85be8a68c3be77adf9af9 100644 |
--- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm |
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm |
@@ -862,18 +862,6 @@ std::wstring AutocompleteEditViewMac::GetClipboardText(Clipboard* clipboard) { |
// it's set to the start of the text. |
} |
-- (NSString*)control:(NSControl*)control |
- textPasteActionString:(NSText*)fieldEditor { |
- if (!edit_view_->CanPasteAndGo()) |
- return nil; |
- |
- return l10n_util::GetNSStringWithFixup(edit_view_->GetPasteActionStringId()); |
-} |
- |
-- (void)control:(NSControl*)control textDidPasteAndGo:(NSText*)fieldEditor { |
- edit_view_->OnPasteAndGo(); |
-} |
- |
// Signal that we've lost focus when the window resigns key. |
- (void)windowDidResignKey:(NSNotification*)notification { |
edit_view_->OnDidResignKey(); |