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 d56d120c36ae6e2b90c93055fd47613387f4bb74..053570d64bd23d19cd7834c6de9c518adc9fba23 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 |
+ // 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. |