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

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 url. Only send for current tab. 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..5ab7d835822571b86a8329043a199c4fa86b74b8 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();
sreeram 2013/04/01 16:22:01 This is too similar to the other NavigateToURL() m
robertshield 2013/04/01 18:14:49 Done.
+
// The overlay WebContents. May be NULL. InstantController retains ownership.
content::WebContents* GetOverlayContents() const;

Powered by Google App Engine
This is Rietveld 408576698