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

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: Also send submit events to overlay_ on navigation. 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
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_edit_model.cc ('k') | chrome/browser/ui/search/instant_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e92cccac71a47de48ae516e136ab91b83c2d2e3a 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 has navigated to a URL. This will send an onsubmit
Peter Kasting 2013/03/25 18:47:38 This comment seems a bit misleading given that the
robertshield 2013/03/25 19:14:31 Done.
+ // notification to the instant page.
+ void OnNavigate(const string16& user_text);
+
// The overlay WebContents. May be NULL. InstantController retains ownership.
content::WebContents* GetOverlayContents() const;
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_edit_model.cc ('k') | chrome/browser/ui/search/instant_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698