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

Unified Diff: chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h

Issue 5959008: Remove wstring from l10n_util. Part 2.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/cocoa/location_bar/keyword_hint_decoration.h
===================================================================
--- chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h (revision 70233)
+++ chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h (working copy)
@@ -11,6 +11,7 @@
#import "chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h"
#import "base/scoped_nsobject.h"
+#include "base/string16.h"
// Draws the keyword hint, "Press [tab] to search <site>".
@@ -21,7 +22,7 @@
// Calculates the message to display and where to place the [tab]
// image.
- void SetKeyword(const std::wstring& keyword, bool is_extension_keyword);
+ void SetKeyword(const string16& keyword, bool is_extension_keyword);
// Implement |LocationBarDecoration|.
virtual void DrawInFrame(NSRect frame, NSView* control_view);

Powered by Google App Engine
This is Rietveld 408576698