summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 03:09:12 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 03:09:12 +0000
commit3e108342206210d64d81368044d9503445a1a1f3 (patch)
tree9cf19a4e5016d9dc8c29d76026be2f03b60ea9ba /chrome/browser/renderer_host/render_widget_host.h
parente218cb64a14c3df9194c9b04094f1aa5d9e6ff91 (diff)
downloadchromium_src-3e108342206210d64d81368044d9503445a1a1f3.zip
chromium_src-3e108342206210d64d81368044d9503445a1a1f3.tar.gz
chromium_src-3e108342206210d64d81368044d9503445a1a1f3.tar.bz2
Revert 52600 - renderer_host: Remove CanBlur method.
This method was not implemented and always returns true. (Note: this was a TODO for brettw). BUG=None TEST=trybots Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/2870050 TBR=tfarina@chromium.org Review URL: http://codereview.chromium.org/3033004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host.h')
-rw-r--r--chrome/browser/renderer_host/render_widget_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h
index 0b0e114..c7e3cd6 100644
--- a/chrome/browser/renderer_host/render_widget_host.h
+++ b/chrome/browser/renderer_host/render_widget_host.h
@@ -245,6 +245,9 @@ class RenderWidgetHost : public IPC::Channel::Listener,
// Returns the video layer if it exists, NULL otherwise.
VideoLayer* video_layer() const { return video_layer_.get(); }
+ // Checks to see if we can give up focus to this widget through a JS call.
+ virtual bool CanBlur() const { return true; }
+
// Starts a hang monitor timeout. If there's already a hang monitor timeout
// the new one will only fire if it has a shorter delay than the time
// left on the existing timeouts.