diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-12 01:08:08 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-12 01:08:08 +0000 |
commit | badcca35cb7b4ec55b30c50f36ed4ee6496221ae (patch) | |
tree | 79a297795bc299b8bab4b208c391ea961157c181 /chrome/browser/tab_contents | |
parent | 45510d9022d636a163762b67bf36a35b1c36cd3a (diff) | |
download | chromium_src-badcca35cb7b4ec55b30c50f36ed4ee6496221ae.zip chromium_src-badcca35cb7b4ec55b30c50f36ed4ee6496221ae.tar.gz chromium_src-badcca35cb7b4ec55b30c50f36ed4ee6496221ae.tar.bz2 |
WebUI: Rename ProcessDOMUIMessage to ProcessWebUIMessage.
BUG=59945
TEST=trybots
Review URL: http://codereview.chromium.org/6507012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74710 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/background_contents.cc | 2 | ||||
-rw-r--r-- | chrome/browser/tab_contents/background_contents.h | 4 | ||||
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 4 | ||||
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc index bb90b26..059d393 100644 --- a/chrome/browser/tab_contents/background_contents.cc +++ b/chrome/browser/tab_contents/background_contents.cc @@ -209,7 +209,7 @@ WebPreferences BackgroundContents::GetWebkitPrefs() { false); // is_dom_ui } -void BackgroundContents::ProcessDOMUIMessage( +void BackgroundContents::ProcessWebUIMessage( const ViewHostMsg_DomMessage_Params& params) { // TODO(rafaelw): It may make sense for extensions to be able to open // BackgroundContents to chrome-extension://<id> pages. Consider implementing. diff --git a/chrome/browser/tab_contents/background_contents.h b/chrome/browser/tab_contents/background_contents.h index e4276ec..11aa3e2 100644 --- a/chrome/browser/tab_contents/background_contents.h +++ b/chrome/browser/tab_contents/background_contents.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -67,7 +67,7 @@ class BackgroundContents : public RenderViewHostDelegate, virtual void DidNavigate(RenderViewHost* render_view_host, const ViewHostMsg_FrameNavigate_Params& params); virtual WebPreferences GetWebkitPrefs(); - virtual void ProcessDOMUIMessage(const ViewHostMsg_DomMessage_Params& params); + virtual void ProcessWebUIMessage(const ViewHostMsg_DomMessage_Params& params); virtual void RunJavaScriptMessage(const std::wstring& message, const std::wstring& default_prompt, const GURL& frame_url, diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index e7d3f71..46f87e1 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -2607,7 +2607,7 @@ void TabContents::DomOperationResponse(const std::string& json_string, int automation_id) { } -void TabContents::ProcessDOMUIMessage( +void TabContents::ProcessWebUIMessage( const ViewHostMsg_DomMessage_Params& params) { if (!render_manager_.web_ui()) { // This can happen if someone uses window.open() to open an extension URL @@ -2615,7 +2615,7 @@ void TabContents::ProcessDOMUIMessage( render_view_host()->BlockExtensionRequest(params.request_id); return; } - render_manager_.web_ui()->ProcessDOMUIMessage(params); + render_manager_.web_ui()->ProcessWebUIMessage(params); } void TabContents::ProcessExternalHostMessage(const std::string& message, diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h index 930c379..3812b62 100644 --- a/chrome/browser/tab_contents/tab_contents.h +++ b/chrome/browser/tab_contents/tab_contents.h @@ -936,7 +936,7 @@ class TabContents : public PageNavigator, WindowOpenDisposition disposition); virtual void DomOperationResponse(const std::string& json_string, int automation_id); - virtual void ProcessDOMUIMessage(const ViewHostMsg_DomMessage_Params& params); + virtual void ProcessWebUIMessage(const ViewHostMsg_DomMessage_Params& params); virtual void ProcessExternalHostMessage(const std::string& message, const std::string& origin, const std::string& target); |