Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Unified Diff: chrome/browser/ui/search/instant_controller.h

Issue 12895007: Send onsubmit query down to the instant extended overlay page when a navigation is performed from t… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't send submit events for non-url navigations. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4c5ceb5d7fe9e1b85de21690a4a849d3f388c961..d35e00fda40ee9a67ac73ca8fd366155d79dfde6 100644
--- a/chrome/browser/ui/search/instant_controller.h
+++ b/chrome/browser/ui/search/instant_controller.h
@@ -121,6 +121,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 OnNavigateToURL(const string16& user_text);
+
// The overlay WebContents. May be NULL. InstantController retains ownership.
content::WebContents* GetOverlayContents() const;

Powered by Google App Engine
This is Rietveld 408576698