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

Unified Diff: chrome/browser/cocoa/autocomplete_text_field.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.h
===================================================================
--- chrome/browser/cocoa/autocomplete_text_field.h (revision 26600)
+++ chrome/browser/cocoa/autocomplete_text_field.h (working copy)
@@ -33,6 +33,11 @@
// edited. See AutocompleteTextFieldEditor implementation.
- (BOOL)control:(NSControl*)control textShouldPaste:(NSText*)fieldEditor;
+// Returns nil if paste actions are not supported.
+- (NSString*)control:(NSControl*)control
+ textPasteActionString:(NSText*)fieldEditor;
+- (void)control:(NSControl*)control textDidPasteAndGo:(NSText*)fieldEditor;
+
// Let the delegate track -flagsChanged: events.
- (void)control:(NSControl*)control flagsChanged:(NSEvent*)theEvent;

Powered by Google App Engine
This is Rietveld 408576698