| Index: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
|
| index 9c302858d9a97000fee92170850bad3e401e560a..b7a4d84bfbd9e1b738b1389ee6993e84b54e97fb 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
|
| +++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
|
| @@ -45,8 +45,11 @@ class AutocompleteTextFieldObserver {
|
| // Return |true| if there is a selection to copy.
|
| virtual bool CanCopy() = 0;
|
|
|
| - // Clears the |pboard| and adds the field's current selection.
|
| - // Called when the user does a copy or drag.
|
| + // Creates a pasteboard item from the field's current selection.
|
| + virtual base::scoped_nsobject<NSPasteboardItem> CreatePasteboardItem() = 0;
|
| +
|
| + // Copies the pasteboard item returned from |CreatePasteboardItem()| to
|
| + // |pboard|.
|
| virtual void CopyToPasteboard(NSPasteboard* pboard) = 0;
|
|
|
| // Returns true if the Show URL option should be available.
|
|
|