diff options
author | iyengar@google.com <iyengar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-15 21:22:15 +0000 |
---|---|---|
committer | iyengar@google.com <iyengar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-15 21:22:15 +0000 |
commit | 3ac14a058599a1381224264784ad4000934f0119 (patch) | |
tree | c67e92c258ee19a378be5acfdb5741d2d2085bab /chrome/browser/render_view_host.cc | |
parent | b5e3bbf106f2bda83900e526d07dfa10a2164c82 (diff) | |
download | chromium_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.cc | 4 |
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)); +} |