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

Unified Diff: content/public/browser/web_contents_delegate.cc

Issue 10831060: Refactor the Android port to allow access to the chrome layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes. Created 8 years, 4 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
Index: content/public/browser/web_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index 34732db1e640d6ff5f4a7776fa564bb5807b58e5..944752cb37125ba2913095d150d5f0a172cda2c8 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -135,6 +135,12 @@ bool WebContentsDelegate::ShouldCreateWebContents(
return true;
}
+#if defined(OS_ANDROID)
+bool WebContentsDelegate::ShouldOverrideLoading(const GURL& url) {
+ return false;
+}
+#endif
+
JavaScriptDialogCreator* WebContentsDelegate::GetJavaScriptDialogCreator() {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698