summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index b94f849..cecebaa 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -232,7 +232,7 @@ class RenderView : public RenderWidget, public WebViewDelegate,
const std::wstring& selection_text,
const std::wstring& misspelled_word,
int edit_flags,
- const std::wstring& frame_encoding);
+ const std::string& frame_encoding);
virtual void StartDragging(WebView* webview,
const WebDropData& drag_data);
@@ -336,7 +336,7 @@ class RenderView : public RenderWidget, public WebViewDelegate,
// c) function:DidFinishDocumentLoadForFrame. When this function is
// called, that means we have got whole html page. In here we should
// finally get right encoding of page.
- void UpdateEncoding(WebFrame* frame, const std::wstring& encoding_name);
+ void UpdateEncoding(WebFrame* frame, const std::string& encoding_name);
// Captures the thumbnail and text contents for indexing for the given load
// ID. If the view's load ID is different than the parameter, this call is
@@ -398,7 +398,7 @@ class RenderView : public RenderWidget, public WebViewDelegate,
void OnCancelDownload(int32 download_id);
void OnFind(const FindInPageRequest& request);
void OnAlterTextSize(int size);
- void OnSetPageEncoding(const std::wstring& encoding_name);
+ void OnSetPageEncoding(const std::string& encoding_name);
void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks(
const std::vector<std::wstring>& links,
@@ -524,7 +524,7 @@ class RenderView : public RenderWidget, public WebViewDelegate,
ExternalHostBindings external_host_bindings_;
// The last gotten main frame's encoding.
- std::wstring last_encoding_name_;
+ std::string last_encoding_name_;
// The URL we think the user's mouse is hovering over. We use this to
// determine if we want to send a new one (we do not need to send