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

Unified Diff: android_webview/native/aw_web_contents_delegate.cc

Issue 11640007: Make the UI an observer of downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: android_webview/native/aw_web_contents_delegate.cc
diff --git a/android_webview/native/aw_web_contents_delegate.cc b/android_webview/native/aw_web_contents_delegate.cc
index fb9283e30d5568f122ec4f1e7ff115152ffa505e..45aa0400e4a88bbfa2ecae4424a3d7c838e4d1b2 100644
--- a/android_webview/native/aw_web_contents_delegate.cc
+++ b/android_webview/native/aw_web_contents_delegate.cc
@@ -64,11 +64,6 @@ bool AwWebContentsDelegate::CanDownload(content::RenderViewHost* source,
return false;
}
-void AwWebContentsDelegate::OnStartDownload(WebContents* source,
- content::DownloadItem* download) {
- NOTREACHED(); // We always return false in CanDownload.
-}
-
void AwWebContentsDelegate::AddNewContents(content::WebContents* source,
content::WebContents* new_contents,
WindowOpenDisposition disposition,

Powered by Google App Engine
This is Rietveld 408576698