Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index ac817cceffd19474ebdf33b78f9d9c866287affe..5a339aec3d06e456acf4cd0e72c0c92ab85b4295 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -307,6 +307,12 @@ class CONTENT_EXPORT WebContentsDelegate { |
// changed. |
virtual void ContentRestrictionsChanged(WebContents* source) {} |
+#if defined(OS_ANDROID) |
+ // Returns true if the delegate wants to handle the url instead. Default |
+ // returns false. |
+ virtual bool ShouldOverrideLoading(const GURL& url); |
+#endif |
+ |
// Notification that the tab is hung. |
virtual void RendererUnresponsive(WebContents* source) {} |