diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-13 19:41:40 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-13 19:41:40 +0000 |
commit | d0980792d29b16ef195255639f8c8aca8c969e93 (patch) | |
tree | 8c6a20bb41ecd094556af7a26d1535dc7dd4bc88 /chrome/browser/renderer_host/render_view_host.cc | |
parent | a08ebeaea39acfe007d9ee9b25b28efd04011e5a (diff) | |
download | chromium_src-d0980792d29b16ef195255639f8c8aca8c969e93.zip chromium_src-d0980792d29b16ef195255639f8c8aca8c969e93.tar.gz chromium_src-d0980792d29b16ef195255639f8c8aca8c969e93.tar.bz2 |
WebUI: Get rid of more references to DOMUI in the rest of the directories.
BUG=59945
TEST=trybots
Review URL: http://codereview.chromium.org/6513010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74771 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_view_host.cc')
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc index f460b41..756beee 100644 --- a/chrome/browser/renderer_host/render_view_host.cc +++ b/chrome/browser/renderer_host/render_view_host.cc @@ -631,10 +631,10 @@ void RenderViewHost::AllowBindings(int bindings_flags) { enabled_bindings_ |= bindings_flags; } -void RenderViewHost::SetDOMUIProperty(const std::string& name, +void RenderViewHost::SetWebUIProperty(const std::string& name, const std::string& value) { DCHECK(BindingsPolicy::is_dom_ui_enabled(enabled_bindings_)); - Send(new ViewMsg_SetDOMUIProperty(routing_id(), name, value)); + Send(new ViewMsg_SetWebUIProperty(routing_id(), name, value)); } void RenderViewHost::GotFocus() { @@ -764,7 +764,7 @@ bool RenderViewHost::OnMessageReceived(const IPC::Message& msg) { OnMsgDidContentsPreferredSizeChange) IPC_MESSAGE_HANDLER(ViewHostMsg_DomOperationResponse, OnMsgDomOperationResponse) - IPC_MESSAGE_HANDLER(ViewHostMsg_DOMUISend, OnMsgDOMUISend) + IPC_MESSAGE_HANDLER(ViewHostMsg_WebUISend, OnMsgWebUISend) IPC_MESSAGE_HANDLER(ViewHostMsg_ForwardMessageToExternalHost, OnMsgForwardMessageToExternalHost) IPC_MESSAGE_HANDLER(ViewHostMsg_SetTooltipText, OnMsgSetTooltipText) @@ -1131,7 +1131,7 @@ void RenderViewHost::OnMsgDomOperationResponse( Details<DomOperationNotificationDetails>(&details)); } -void RenderViewHost::OnMsgDOMUISend( +void RenderViewHost::OnMsgWebUISend( const GURL& source_url, const std::string& message, const std::string& content) { if (!ChildProcessSecurityPolicy::GetInstance()-> @@ -1146,7 +1146,7 @@ void RenderViewHost::OnMsgDOMUISend( if (!value.get() || !value->IsType(Value::TYPE_LIST)) { // The page sent us something that we didn't understand. // This probably indicates a programming error. - NOTREACHED() << "Invalid JSON argument in OnMsgDOMUISend."; + NOTREACHED() << "Invalid JSON argument in OnMsgWebUISend."; return; } } |