summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk/location_bar_view_gtk.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-25 15:23:36 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-25 15:23:36 +0000
commita2fedb1e1311bc6acffabebc03e8dbca761b385e (patch)
tree6c7e7970bb476b8ac4ec402c721e83fb3f425db4 /chrome/browser/ui/gtk/location_bar_view_gtk.h
parentf5b0d12e8a294f748e2800dda141cbb664afb111 (diff)
downloadchromium_src-a2fedb1e1311bc6acffabebc03e8dbca761b385e.zip
chromium_src-a2fedb1e1311bc6acffabebc03e8dbca761b385e.tar.gz
chromium_src-a2fedb1e1311bc6acffabebc03e8dbca761b385e.tar.bz2
Remove wstring from autocomplete.
Recommit of r72380. BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6306011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72492 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/gtk/location_bar_view_gtk.h')
-rw-r--r--chrome/browser/ui/gtk/location_bar_view_gtk.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.h b/chrome/browser/ui/gtk/location_bar_view_gtk.h
index 0298495..374d8fc 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.h
@@ -95,7 +95,7 @@ class LocationBarViewGtk : public AutocompleteEditController,
virtual void OnAutocompleteLosingFocus(gfx::NativeView view_gaining_focus);
virtual void OnAutocompleteWillAccept();
// For this implementation, the parameter is ignored.
- virtual bool OnCommitSuggestedText(const std::wstring& typed_text);
+ virtual bool OnCommitSuggestedText(const string16& typed_text);
virtual bool AcceptCurrentInstantPreview();
virtual void OnPopupBoundsChanged(const gfx::Rect& bounds);
virtual void OnAutocompleteAccept(const GURL& url,
@@ -108,7 +108,7 @@ class LocationBarViewGtk : public AutocompleteEditController,
virtual void OnSetFocus();
virtual void OnInputInProgress(bool in_progress);
virtual SkBitmap GetFavIcon() const;
- virtual std::wstring GetTitle() const;
+ virtual string16 GetTitle() const;
// Implement the LocationBar interface.
virtual void ShowFirstRunBubble(FirstRun::BubbleType bubble_type);
@@ -313,10 +313,10 @@ class LocationBarViewGtk : public AutocompleteEditController,
void SetInfoText();
// Set the keyword text for the Search BLAH: keyword box.
- void SetKeywordLabel(const std::wstring& keyword);
+ void SetKeywordLabel(const string16& keyword);
// Set the keyword text for the "Press tab to search BLAH" hint box.
- void SetKeywordHintLabel(const std::wstring& keyword);
+ void SetKeywordHintLabel(const string16& keyword);
void ShowFirstRunBubbleInternal(FirstRun::BubbleType bubble_type);
@@ -423,7 +423,7 @@ class LocationBarViewGtk : public AutocompleteEditController,
bool show_keyword_hint_;
// The last search keyword that was shown via the |tab_to_search_box_|.
- std::wstring last_keyword_;
+ string16 last_keyword_;
// True if we should update the instant controller when the edit text changes.
bool update_instant_;