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

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

Issue 192008: [Mac] Implement Paste and Go/Search. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/autocomplete_text_field_editor.h
===================================================================
--- chrome/browser/cocoa/autocomplete_text_field_editor.h (revision 26600)
+++ chrome/browser/cocoa/autocomplete_text_field_editor.h (working copy)
@@ -23,6 +23,9 @@
// (or handle it internally) by returning NO.
- (BOOL)textShouldPaste:(NSText*)fieldEditor;
+// Returns nil if paste actions are not supported.
+- (NSString*)textPasteActionString:(NSText*)fieldEditor;
+- (void)textDidPasteAndGo:(NSText*)fieldEditor;
@end
// Field editor used for the autocomplete field.

Powered by Google App Engine
This is Rietveld 408576698