Index: content/browser/renderer_host/render_view_host_delegate.h |
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h |
index 21d8a337452bdc35d1e69f9347f5e7e59dd7a398..c5d4641579241b5908b81b6a01d08f591133a1a5 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate.h |
+++ b/content/browser/renderer_host/render_view_host_delegate.h |
@@ -161,8 +161,10 @@ class CONTENT_EXPORT RenderViewHostDelegate { |
uint64 upload_size) {} |
// The page wants the hosting window to activate/deactivate itself (it |
- // called the JavaScript window.focus()/blur() method). |
+ // called the JavaScript window.focus()/blur() method). Use the ForUserGesture |
+ // variant if the JavaScript was running in response to a user gesture. |
virtual void Activate() {} |
+ virtual void ActivateForUserGesture(); |
virtual void Deactivate() {} |
// Notification that the view has lost capture. |