diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-03 05:01:26 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-03 05:01:26 +0000 |
commit | 8922e1ff7ac33a3f88079e1e6d3ae8671602a952 (patch) | |
tree | a842ba34b909f84e7f3db6d60235504ad7887db2 /chrome/browser/renderer_host | |
parent | 4b7d9b47a1adac0daa198761c01fc42ff1d9b394 (diff) | |
download | chromium_src-8922e1ff7ac33a3f88079e1e6d3ae8671602a952.zip chromium_src-8922e1ff7ac33a3f88079e1e6d3ae8671602a952.tar.gz chromium_src-8922e1ff7ac33a3f88079e1e6d3ae8671602a952.tar.bz2 |
More WebView / WebViewDelegate cleanup.
Moves a bunch of methods from glue to the WebKit API.
R=dglazkov
BUG=10033
TEST=none
Review URL: http://codereview.chromium.org/246079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27941 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.cc | 2 | ||||
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.h | 2 | ||||
-rw-r--r-- | chrome/browser/renderer_host/render_view_host_delegate.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc index e793a7b..9d693df 100644 --- a/chrome/browser/renderer_host/render_view_host.cc +++ b/chrome/browser/renderer_host/render_view_host.cc @@ -990,7 +990,7 @@ void RenderViewHost::OnMsgThumbnail(const GURL& url, } void RenderViewHost::OnUpdateInspectorSettings( - const std::wstring& raw_settings) { + const std::string& raw_settings) { delegate_->UpdateInspectorSettings(raw_settings); } diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h index 72ee9eb..8fff7cf 100644 --- a/chrome/browser/renderer_host/render_view_host.h +++ b/chrome/browser/renderer_host/render_view_host.h @@ -539,7 +539,7 @@ class RenderViewHost : public RenderWidgetHost, int32 line_no, const std::wstring& source_id); - void OnUpdateInspectorSettings(const std::wstring& raw_settings); + void OnUpdateInspectorSettings(const std::string& raw_settings); void OnForwardToDevToolsAgent(const IPC::Message& message); void OnForwardToDevToolsClient(const IPC::Message& message); void OnActivateDevToolsWindow(); diff --git a/chrome/browser/renderer_host/render_view_host_delegate.h b/chrome/browser/renderer_host/render_view_host_delegate.h index d31d94c..96ed816 100644 --- a/chrome/browser/renderer_host/render_view_host_delegate.h +++ b/chrome/browser/renderer_host/render_view_host_delegate.h @@ -434,7 +434,7 @@ class RenderViewHostDelegate { const ThumbnailScore& score) {} // Inspector settings were changes and should be persisted. - virtual void UpdateInspectorSettings(const std::wstring& raw_settings) {} + virtual void UpdateInspectorSettings(const std::string& raw_settings) {} // The page is trying to close the RenderView's representation in the client. virtual void Close(RenderViewHost* render_view_host) {} |