summaryrefslogtreecommitdiffstats
path: root/chrome/test/test_location_bar.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-14 21:38:30 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-14 21:38:30 +0000
commit03bb953da2a51fa35e7735ce711c1be6946312ea (patch)
treebd9fe31bd34036670ccc5247dcdba72cb9609400 /chrome/test/test_location_bar.h
parent037d1e192cfbad001946fe026d0460e636fa8e76 (diff)
downloadchromium_src-03bb953da2a51fa35e7735ce711c1be6946312ea.zip
chromium_src-03bb953da2a51fa35e7735ce711c1be6946312ea.tar.gz
chromium_src-03bb953da2a51fa35e7735ce711c1be6946312ea.tar.bz2
Bunch of match preview tweaks:
. Makes MatchPreview owned by Browser rather than each TabContents. . Makes MatchPreview dismiss when the omnibox closes. . Supports the ability to send script to the page rather than reloading on every keystroke. . Supports receiving results from the page that drives the suggest text in the omnbox. BUG=54833 TEST=none Review URL: http://codereview.chromium.org/3332022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/test_location_bar.h')
-rw-r--r--chrome/test/test_location_bar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/test_location_bar.h b/chrome/test/test_location_bar.h
index eab648f..e0ad99c 100644
--- a/chrome/test/test_location_bar.h
+++ b/chrome/test/test_location_bar.h
@@ -30,7 +30,7 @@ class TestLocationBar : public LocationBar {
// Overridden from LocationBar:
virtual void ShowFirstRunBubble(FirstRun::BubbleType bubble_type) {}
- virtual void SetSuggestedText(const std::wstring& text) {}
+ virtual void SetSuggestedText(const string16& text) {}
virtual std::wstring GetInputString() const { return input_string_; }
virtual WindowOpenDisposition GetWindowOpenDisposition() const {
return disposition_;