summaryrefslogtreecommitdiffstats
path: root/chrome/browser/instant/instant_controller.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-18 22:10:54 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-18 22:10:54 +0000
commit5581541cc09adfed95fbf478f6d8991e87164778 (patch)
tree59733c3d432fabff3e0dd48834054f75abc1d242 /chrome/browser/instant/instant_controller.cc
parent1763d7084cbb4e6784fdf89c92456c66fd1f05cc (diff)
downloadchromium_src-5581541cc09adfed95fbf478f6d8991e87164778.zip
chromium_src-5581541cc09adfed95fbf478f6d8991e87164778.tar.gz
chromium_src-5581541cc09adfed95fbf478f6d8991e87164778.tar.bz2
Revert 69343 - Makes instant not suggest string that look like urls.
BUG=66887 TEST=see bug Review URL: http://codereview.chromium.org/5787008 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/6012003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/instant/instant_controller.cc')
-rw-r--r--chrome/browser/instant/instant_controller.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
index 0bc6ada..ed01fc5 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -346,11 +346,6 @@ bool InstantController::IsShowingInstant() {
loader_manager_->current_loader()->is_showing_instant();
}
-string16 InstantController::GetCompleteSuggestedText() {
- return loader_manager_.get() && loader_manager_->active_loader() ?
- loader_manager_->active_loader()->complete_suggested_text() : string16();
-}
-
bool InstantController::MightSupportInstant() {
return loader_manager_.get() && loader_manager_->active_loader() &&
loader_manager_->active_loader()->is_showing_instant();