2013-12-17 23:04:35 +01:00
|
|
|
Index: public/renderer/content_renderer_client.cc
|
|
|
|
===================================================================
|
2014-07-02 20:25:22 +02:00
|
|
|
--- public/renderer/content_renderer_client.cc (revision 280796)
|
2013-12-17 23:04:35 +01:00
|
|
|
+++ public/renderer/content_renderer_client.cc (working copy)
|
2014-02-05 21:35:45 +01:00
|
|
|
@@ -92,7 +92,6 @@
|
2013-12-17 23:04:35 +01:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
-#ifdef OS_ANDROID
|
|
|
|
bool ContentRendererClient::HandleNavigation(
|
2014-02-05 21:35:45 +01:00
|
|
|
RenderFrame* render_frame,
|
2013-12-17 23:04:35 +01:00
|
|
|
DocumentState* document_state,
|
2014-02-05 21:35:45 +01:00
|
|
|
@@ -104,7 +103,6 @@
|
2013-12-17 23:04:35 +01:00
|
|
|
bool is_redirect) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
bool ContentRendererClient::ShouldFork(blink::WebFrame* frame,
|
|
|
|
const GURL& url,
|
|
|
|
Index: public/renderer/content_renderer_client.h
|
|
|
|
===================================================================
|
2014-07-02 20:25:22 +02:00
|
|
|
--- public/renderer/content_renderer_client.h (revision 280796)
|
2013-12-17 23:04:35 +01:00
|
|
|
+++ public/renderer/content_renderer_client.h (working copy)
|
2014-05-29 19:15:34 +02:00
|
|
|
@@ -176,7 +176,6 @@
|
2013-12-17 23:04:35 +01:00
|
|
|
// Returns true if a popup window should be allowed.
|
|
|
|
virtual bool AllowPopup();
|
|
|
|
|
|
|
|
-#ifdef OS_ANDROID
|
|
|
|
// TODO(sgurun) This callback is deprecated and will be removed as soon
|
|
|
|
// as android webview completes implementation of a resource throttle based
|
|
|
|
// shouldoverrideurl implementation. See crbug.com/325351
|
2014-05-29 19:15:34 +02:00
|
|
|
@@ -191,7 +190,6 @@
|
2013-12-17 23:04:35 +01:00
|
|
|
blink::WebNavigationType type,
|
|
|
|
blink::WebNavigationPolicy default_policy,
|
|
|
|
bool is_redirect);
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
// Returns true if we should fork a new process for the given navigation.
|
|
|
|
// If |send_referrer| is set to false (which is the default), no referrer
|
2014-04-04 18:50:38 +02:00
|
|
|
Index: renderer/render_frame_impl.cc
|
2013-12-17 23:04:35 +01:00
|
|
|
===================================================================
|
2014-07-02 20:25:22 +02:00
|
|
|
--- renderer/render_frame_impl.cc (revision 280796)
|
2014-04-04 18:50:38 +02:00
|
|
|
+++ renderer/render_frame_impl.cc (working copy)
|
2014-07-02 20:25:22 +02:00
|
|
|
@@ -3122,7 +3122,6 @@
|
2014-04-04 18:50:38 +02:00
|
|
|
WebNavigationType type,
|
|
|
|
WebNavigationPolicy default_policy,
|
2014-02-05 21:35:45 +01:00
|
|
|
bool is_redirect) {
|
2013-12-17 23:04:35 +01:00
|
|
|
-#ifdef OS_ANDROID
|
|
|
|
// The handlenavigation API is deprecated and will be removed once
|
|
|
|
// crbug.com/325351 is resolved.
|
|
|
|
if (request.url() != GURL(kSwappedOutURL) &&
|
2014-07-02 20:25:22 +02:00
|
|
|
@@ -3137,7 +3136,6 @@
|
2013-12-17 23:04:35 +01:00
|
|
|
is_redirect)) {
|
|
|
|
return blink::WebNavigationPolicyIgnore;
|
|
|
|
}
|
|
|
|
-#endif
|
|
|
|
|
2014-04-04 18:50:38 +02:00
|
|
|
Referrer referrer(RenderViewImpl::GetReferrerFromRequest(frame, request));
|
2013-12-17 23:04:35 +01:00
|
|
|
|