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

Unified Diff: webkit/tools/test_shell/test_webview_delegate_win.cc

Issue 8983009: Remove more wstrings in webkit/tools/test_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 12 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 | « webkit/tools/test_shell/test_webview_delegate_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_webview_delegate_win.cc
diff --git a/webkit/tools/test_shell/test_webview_delegate_win.cc b/webkit/tools/test_shell/test_webview_delegate_win.cc
index 2f90eda16558a51675dd31a5e63faf1189c85356..f8297ba709d6bcc3b1e20c6cf220bf97eb2d2e8a 100644
--- a/webkit/tools/test_shell/test_webview_delegate_win.cc
+++ b/webkit/tools/test_shell/test_webview_delegate_win.cc
@@ -192,7 +192,7 @@ void TestWebViewDelegate::UpdateSelectionClipboard(bool is_empty_selection) {
// Private methods ------------------------------------------------------------
-void TestWebViewDelegate::ShowJavaScriptAlert(const std::wstring& message) {
+void TestWebViewDelegate::ShowJavaScriptAlert(const string16& message) {
MessageBox(NULL, message.c_str(), L"JavaScript Alert", MB_OK);
}
@@ -201,7 +201,7 @@ void TestWebViewDelegate::SetPageTitle(const string16& title) {
}
void TestWebViewDelegate::SetAddressBarURL(const GURL& url) {
- std::wstring url_string = UTF8ToWide(url.spec());
+ string16 url_string = UTF8ToUTF16(url.spec());
SendMessage(shell_->editWnd(), WM_SETTEXT, 0,
reinterpret_cast<LPARAM>(url_string.c_str()));
}
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698