Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 6c60ae33157055cf569cce2545ec1a7d30dbb37d..6a5221f562c9c489a797ecb717ead38052af203a 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -469,6 +469,8 @@ class RenderViewImpl : public RenderWidget, |
const WebKit::WebURL& from); |
virtual void didCreateDataSource(WebKit::WebFrame* frame, |
WebKit::WebDataSource* datasource); |
+ virtual void didSetNextNavigationPolicy( |
+ WebKit::WebNavigationPolicy policy); |
virtual void didStartProvisionalLoad(WebKit::WebFrame* frame); |
virtual void didReceiveServerRedirectForProvisionalLoad( |
WebKit::WebFrame* frame); |
@@ -1023,6 +1025,10 @@ class RenderViewImpl : public RenderWidget, |
// decidePolicyForNavigation for details. |
bool opener_suppressed_; |
+ // The disposition for the window that is about to be opened. |
+ // Set to WebNavigationPolicyIgnore otherwise. |
+ WebKit::WebNavigationPolicy new_window_navigation_policy_; |
+ |
// If we are handling a top-level client-side redirect, this tracks the URL |
// of the page that initiated it. Specifically, when a load is committed this |
// is used to determine if that load originated from a client-side redirect. |