| 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 8e637ea436b4daa7370bcf57e6c5278241634507..67c601f3db3597a3bfaa566ed49f513ab63c74dd 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
|
| +++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
|
| @@ -48,6 +48,14 @@ class AutocompleteTextFieldObserver {
|
| // Called when the user does a copy or drag.
|
| virtual void CopyToPasteboard(NSPasteboard* pboard) = 0;
|
|
|
| + // Clears |pboard| and adds the current URL. Specifically used when the user
|
| + // explicitly requests to copy the URL in cases where extended instant has
|
| + // overridden the URL with the search terms.
|
| + virtual void CopyURLToPasteboard(NSPasteboard* pboard) = 0;
|
| +
|
| + // Returns true if the Copy to URL option should be available.
|
| + virtual bool ShouldEnableCopyURL() = 0;
|
| +
|
| // Returns true if the current clipboard text supports paste and go
|
| // (or paste and search).
|
| virtual bool CanPasteAndGo() = 0;
|
|
|