summaryrefslogtreecommitdiffstats
path: root/chrome/browser/instant/instant_controller.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-09 17:01:28 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-09 17:01:28 +0000
commita5ec3eacc28cd75102ef23fcc15375f6b0628bb1 (patch)
tree99e7cba3725ca1b8017face1608cacbbd198e55e /chrome/browser/instant/instant_controller.h
parent2f2a8e4bf18a837dbb8c786402bdafbb859ff78a (diff)
downloadchromium_src-a5ec3eacc28cd75102ef23fcc15375f6b0628bb1.zip
chromium_src-a5ec3eacc28cd75102ef23fcc15375f6b0628bb1.tar.gz
chromium_src-a5ec3eacc28cd75102ef23fcc15375f6b0628bb1.tar.bz2
Fixes regression where the wrong url was getting added for instant
navigations to the default search provider. BUG=72353 TEST=covered by test now, can also see bug for details. Review URL: http://codereview.chromium.org/6462023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/instant/instant_controller.h')
-rw-r--r--chrome/browser/instant/instant_controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index 20a624e..8b005d8 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -164,6 +164,10 @@ class InstantController : public InstantLoaderDelegate {
// (until the search provider loads, then both return true).
bool MightSupportInstant();
+ // Returns the URL currently being loaded or shown if everything has finished
+ // loading.
+ GURL GetCurrentURL();
+
// InstantLoaderDelegate
virtual void ShowInstantLoader(InstantLoader* loader);
virtual void SetSuggestedTextFor(InstantLoader* loader,