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

Unified Diff: webkit/glue/webview.h

Issue 192017: Convert std::wstring encoding names to std::string in a bunch of files. (Closed)
Patch Set: mac and linux fixes Created 11 years, 3 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/glue/webpreferences.cc ('k') | webkit/glue/webview_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview.h
diff --git a/webkit/glue/webview.h b/webkit/glue/webview.h
index 7346c1c565102065fb4db3a6e11f5208d076218d..0b55232ede0c3346f616da2fd3c69d3b33b1d776 100644
--- a/webkit/glue/webview.h
+++ b/webkit/glue/webview.h
@@ -156,10 +156,10 @@ class WebView : public WebKit::WebWidget {
// Set the encoding of the current main frame. The value comes from
// the encoding menu. WebKit uses the function named
// SetCustomTextEncodingName to do override encoding job.
- virtual void SetPageEncoding(const std::wstring& encoding_name) = 0;
+ virtual void SetPageEncoding(const std::string& encoding_name) = 0;
// Return the canonical encoding name of current main webframe in webview.
- virtual std::wstring GetMainFrameEncodingName() = 0;
+ virtual std::string GetMainFrameEncodingName() = 0;
// Change the text zoom level. It will make the zoom level 20% larger or
// smaller. If text_only is set, the text size will be changed. When unset,
« no previous file with comments | « webkit/glue/webpreferences.cc ('k') | webkit/glue/webview_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698