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

Unified Diff: chrome/browser/extensions/extension_host.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: chrome/browser/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index 72bc8bc2e078e6f631399af39979a6ab685c158f..228120d9dfac0f033f905d53d6cffa7e29b8320b 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -414,16 +414,6 @@ void ExtensionHost::CloseContents(WebContents* contents) {
}
}
-void ExtensionHost::OnStartDownload(
- content::WebContents* source, content::DownloadItem* download) {
- // If |source| is in the context of a Browser, show the DownloadShelf on that
- // Browser.
- if (!view() || !view()->browser())
- return;
- static_cast<content::WebContentsDelegate*>(view()->browser())->
- OnStartDownload(source, download);
-}
-
void ExtensionHost::WebIntentDispatch(
content::WebContents* web_contents,
content::WebIntentsDispatcher* intents_dispatcher) {

Powered by Google App Engine
This is Rietveld 408576698