summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_view_host.cc
diff options
context:
space:
mode:
authoriyengar@google.com <iyengar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 21:22:15 +0000
committeriyengar@google.com <iyengar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 21:22:15 +0000
commit3ac14a058599a1381224264784ad4000934f0119 (patch)
treec67e92c258ee19a378be5acfdb5741d2d2085bab /chrome/browser/render_view_host.cc
parentb5e3bbf106f2bda83900e526d07dfa10a2164c82 (diff)
downloadchromium_src-3ac14a058599a1381224264784ad4000934f0119.zip
chromium_src-3ac14a058599a1381224264784ad4000934f0119.tar.gz
chromium_src-3ac14a058599a1381224264784ad4000934f0119.tar.bz2
Added support for PostMessage from the automation framework to
the renderer. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/render_view_host.cc')
-rw-r--r--chrome/browser/render_view_host.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/render_view_host.cc b/chrome/browser/render_view_host.cc
index a6b0f9d..4db7793 100644
--- a/chrome/browser/render_view_host.cc
+++ b/chrome/browser/render_view_host.cc
@@ -1220,3 +1220,7 @@ void RenderViewHost::OnDebugDisconnect() {
}
}
+void RenderViewHost::PostMessage(const std::string& target,
+ const std::string& message) {
+ Send(new ViewMsg_PostMessage(routing_id_, target, message));
+}