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

Unified Diff: chrome/browser/ui/views/location_bar/keyword_hint_view.h

Issue 6306011: Remove wstring from autocomplete. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
Index: chrome/browser/ui/views/location_bar/keyword_hint_view.h
===================================================================
--- chrome/browser/ui/views/location_bar/keyword_hint_view.h (revision 72388)
+++ chrome/browser/ui/views/location_bar/keyword_hint_view.h (working copy)
@@ -36,8 +36,8 @@
void SetColor(const SkColor& color);
- void SetKeyword(const std::wstring& keyword);
- std::wstring keyword() const { return keyword_; }
+ void SetKeyword(const string16& keyword);
+ string16 keyword() const { return keyword_; }
virtual void Paint(gfx::Canvas* canvas);
virtual gfx::Size GetPreferredSize();
@@ -52,7 +52,7 @@
views::Label* trailing_label_;
// The keyword.
- std::wstring keyword_;
+ string16 keyword_;
Profile* profile_;
Property changes on: chrome/browser/ui/views/location_bar/keyword_hint_view.h
___________________________________________________________________
Deleted: svn:mergeinfo

Powered by Google App Engine
This is Rietveld 408576698