From d0980792d29b16ef195255639f8c8aca8c969e93 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Sun, 13 Feb 2011 19:41:40 +0000 Subject: 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 --- chrome/browser/renderer_host/render_view_host.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'chrome/browser/renderer_host/render_view_host.cc') 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(&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; } } -- cgit v1.1