summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
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/renderer/render_view.h
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/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 1aa945f..f774ff2 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -454,6 +454,10 @@ class RenderView : public RenderWidget, public WebViewDelegate,
// Notification about ui theme changes.
void OnThemeChanged();
+ // Handles messages posted by the browser.
+ void OnPostMessage(const std::string& target,
+ const std::string& message);
+
// Switches the frame's CSS media type to "print" and calculate the number of
// printed pages that are to be expected. |frame| will be used to calculate
// the number of expected pages for this frame only.