summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_view_impl.h
diff options
context:
space:
mode:
authorjaphet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-24 01:51:33 +0000
committerjaphet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-24 01:51:33 +0000
commit89bc54c60446254fa0d2796b9c9cd50155b80146 (patch)
treee291d271d0fb5fac0c1ef3eb370aef8f8b083d78 /content/renderer/render_view_impl.h
parent6dda597dc257570f4ff4f19e5fd7c26d788c3ee3 (diff)
downloadchromium_src-89bc54c60446254fa0d2796b9c9cd50155b80146.zip
chromium_src-89bc54c60446254fa0d2796b9c9cd50155b80146.tar.gz
chromium_src-89bc54c60446254fa0d2796b9c9cd50155b80146.tar.bz2
Add a WebDataSource parameter to WebFrameClient::decidePolicyForNavigation().
Deprecate the old version, while the old function is being deleted in blink. Remove an old deprecated version of the same function. This is a prerequisite for re-landing codereview.chromium.org/14189008, which makes WebFrame::provisionalDataSource() often null at the point where decidePolicyForNavigation() is called. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/14325011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_view_impl.h')
-rw-r--r--content/renderer/render_view_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 25789d4..a3c674a 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -535,6 +535,7 @@ class CONTENT_EXPORT RenderViewImpl
const WebKit::WebString& suggested_name);
virtual WebKit::WebNavigationPolicy decidePolicyForNavigation(
WebKit::WebFrame* frame,
+ WebKit::WebDataSource* dataSource,
const WebKit::WebURLRequest& request,
WebKit::WebNavigationType type,
WebKit::WebNavigationPolicy default_policy,
@@ -544,7 +545,6 @@ class CONTENT_EXPORT RenderViewImpl
WebKit::WebFrame* frame,
const WebKit::WebURLRequest& request,
WebKit::WebNavigationType type,
- const WebKit::WebNode&,
WebKit::WebNavigationPolicy default_policy,
bool is_redirect);
virtual bool canHandleRequest(WebKit::WebFrame* frame,