| Index: chrome/browser/autocomplete/autocomplete_edit_view_mac.h
|
| diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.h b/chrome/browser/autocomplete/autocomplete_edit_view_mac.h
|
| index 5913c425f024a9e2800f9a021c9a66a06ad0fe56..56d7cee840a275e5c51988573a26b2a11acf6dc5 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.h
|
| +++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.h
|
| @@ -93,6 +93,9 @@ class AutocompleteEditViewMac : public AutocompleteEditView,
|
| // Implement the AutocompleteTextFieldObserver interface.
|
| virtual void OnControlKeyChanged(bool pressed);
|
| virtual void OnPaste();
|
| + virtual bool CanPasteAndGo();
|
| + virtual int GetPasteActionStringId();
|
| + virtual void OnPasteAndGo();
|
|
|
| // Helper functions for use from AutocompleteEditHelper Objective-C
|
| // class.
|
| @@ -115,19 +118,6 @@ class AutocompleteEditViewMac : public AutocompleteEditView,
|
| // visual state (such as closing the popup).
|
| void OnDidResignKey();
|
|
|
| - // Returns true if the current clipboard text supports paste and go (or paste
|
| - // and search).
|
| - bool CanPasteAndGo();
|
| -
|
| - // Returns the appropriate "Paste and Go" or "Paste and Search" context menu
|
| - // string, depending on what is currently in the clipboard. Must not be
|
| - // called unless CanPasteAndGo() returns true.
|
| - int GetPasteActionStringId();
|
| -
|
| - // Called when the user initiates a "paste and go" or "paste and search" into
|
| - // |field_|.
|
| - void OnPasteAndGo();
|
| -
|
| // Checks if a keyword search is possible and forwards to |model_|
|
| // if so. Returns true if the tab should be eaten.
|
| bool OnTabPressed();
|
|
|