Index: chrome/browser/ui/search/instant_controller.h |
diff --git a/chrome/browser/ui/search/instant_controller.h b/chrome/browser/ui/search/instant_controller.h |
index 09db21d34428b842e7ad83f6c15c34ec1cdee633..b70d8677103786a0c092dd0674debb5a0a25b598 100644 |
--- a/chrome/browser/ui/search/instant_controller.h |
+++ b/chrome/browser/ui/search/instant_controller.h |
@@ -118,6 +118,10 @@ class InstantController : public InstantPage::Delegate, |
const string16& user_text, |
const string16& full_text); |
+ // Called when the user navigates to a URL from the omnibox. This will send |
+ // an onsubmit notification to the instant page. |
+ void OmniboxNavigateToURL(); |
+ |
// The overlay WebContents. May be NULL. InstantController retains ownership. |
content::WebContents* GetOverlayContents() const; |
@@ -206,6 +210,8 @@ class InstantController : public InstantPage::Delegate, |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, |
NavigationSuggestionIsDiscardedUponSearchSuggestion); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, |
+ NavigateToURLSuggestionHitEnterAndLookForSubmit); |
+ FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, |
MiddleClickOnSuggestionOpensInNewTab); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, NTPIsPreloaded); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, PreloadedNTPIsUsedInNewTab); |
@@ -215,7 +221,7 @@ class InstantController : public InstantPage::Delegate, |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, UnrelatedSiteInstance); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, ValidatesSuggestions); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, |
- OmniboxCommitsWhenShownFullHeight); |
+ OmniboxCommitsWhenShownFullHeight); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, LocalNTPIsNotLocalOverlay); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedManualTest, |
MANUAL_OmniboxFocusLoadsInstant); |