Chromium Code Reviews| Index: chrome/browser/ui/omnibox/omnibox_view.h |
| diff --git a/chrome/browser/ui/omnibox/omnibox_view.h b/chrome/browser/ui/omnibox/omnibox_view.h |
| index 1899590c4f8c6e49fd38349a7724ea2b2335fc71..2565ad5cb4271520a1331461c6148d4a77150a22 100644 |
| --- a/chrome/browser/ui/omnibox/omnibox_view.h |
| +++ b/chrome/browser/ui/omnibox/omnibox_view.h |
| @@ -135,6 +135,10 @@ class OmniboxView { |
| // avoid selecting the "phantom newline" at the end of the edit. |
| virtual void SelectAll(bool reversed) = 0; |
| + // Sets focus, disables search term replacement, reverts the omnibox, and |
|
msw
2013/12/12 00:59:21
Make sure the definition order matches this revise
Justin Donnelly
2013/12/12 17:11:57
Done.
|
| + // selects all. |
| + void ShowURL(); |
| + |
| // Re-enables search term replacement on the ToolbarModel, and reverts the |
| // edit and popup back to their unedited state (permanent text showing, popup |
| // closed, no user input in progress). |
| @@ -256,9 +260,6 @@ class OmniboxView { |
| // Internally invoked whenever the text changes in some way. |
| virtual void TextChanged(); |
| - // Disables search term replacement, reverts the omnibox, and selects all. |
| - void ShowURL(); |
| - |
| // Return the number of characters in the current buffer. The name |
| // |GetTextLength| can't be used as the Windows override of this class |
| // inherits from a class that defines a method with that name. |