Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2830)

Unified Diff: content/renderer/render_view_impl.cc

Issue 14330009: Remove WebNode parameter from decidePolicyForNavigation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 7e0f9cb75d45fc1b065cb0bc280ada06a1715611..3ce61f824aa2bf70cdfba83cc33c14fd3877e20a 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2865,7 +2865,7 @@ void RenderViewImpl::loadURLExternally(
WebNavigationPolicy RenderViewImpl::decidePolicyForNavigation(
WebFrame* frame, const WebURLRequest& request, WebNavigationType type,
- const WebNode&, WebNavigationPolicy default_policy, bool is_redirect) {
+ WebNavigationPolicy default_policy, bool is_redirect) {
if (request.url() != GURL(kSwappedOutURL) &&
GetContentClient()->renderer()->HandleNavigation(frame, request, type,
default_policy,
@@ -3060,6 +3060,13 @@ WebNavigationPolicy RenderViewImpl::decidePolicyForNavigation(
return default_policy;
}
+WebNavigationPolicy RenderViewImpl::decidePolicyForNavigation(
+ WebFrame* frame, const WebURLRequest& request, WebNavigationType type,
+ const WebNode&, WebNavigationPolicy default_policy, bool is_redirect) {
+ return decidePolicyForNavigation(frame, request, type,
+ default_policy, is_redirect);
+}
+
bool RenderViewImpl::canHandleRequest(
WebFrame* frame, const WebURLRequest& request) {
// We allow WebKit to think that everything can be handled even though
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698