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

Unified Diff: chrome/browser/ui/views/keyboard_overlay_delegate.cc

Issue 7461136: Convert HtmlDialogUIDelegate::GetDialogTitle() to string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 9 years, 4 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
« no previous file with comments | « chrome/browser/ui/views/keyboard_overlay_delegate.h ('k') | chrome/browser/ui/views/select_file_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/keyboard_overlay_delegate.cc
diff --git a/chrome/browser/ui/views/keyboard_overlay_delegate.cc b/chrome/browser/ui/views/keyboard_overlay_delegate.cc
index 0fbc554499b76cbd51e7b905054e4abd241bf97a..b27592db870e654d59894f0bea5b2e2e20772c31 100644
--- a/chrome/browser/ui/views/keyboard_overlay_delegate.cc
+++ b/chrome/browser/ui/views/keyboard_overlay_delegate.cc
@@ -22,7 +22,7 @@ static const int kHorizontalMargin = 28;
KeyboardOverlayDelegate::KeyboardOverlayDelegate(
const std::wstring& title)
- : title_(title),
+ : title_(WideToUTF16Hack(title)),
view_(NULL) {
}
@@ -33,7 +33,7 @@ bool KeyboardOverlayDelegate::IsDialogModal() const {
return true;
}
-std::wstring KeyboardOverlayDelegate::GetDialogTitle() const {
+string16 KeyboardOverlayDelegate::GetDialogTitle() const {
return title_;
}
« no previous file with comments | « chrome/browser/ui/views/keyboard_overlay_delegate.h ('k') | chrome/browser/ui/views/select_file_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698