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

Unified Diff: chrome/browser/tab_contents/tab_contents_delegate.h

Issue 115740: Move download shelf from per-tab to per-window (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 7 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
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents_delegate.h
===================================================================
--- chrome/browser/tab_contents/tab_contents_delegate.h (revision 17483)
+++ chrome/browser/tab_contents/tab_contents_delegate.h (working copy)
@@ -11,6 +11,7 @@
#include "chrome/common/page_transition_types.h"
#include "webkit/glue/window_open_disposition.h"
+class DownloadItem;
class ExtensionFunctionDispatcher;
class RenderViewHost;
class TabContents;
@@ -89,9 +90,6 @@
// Notification that the target URL has changed
virtual void UpdateTargetURL(TabContents* source, const GURL& url) = 0;
- // Notification that the download shelf visibility state has been toggled.
- virtual void UpdateDownloadShelfVisibility(bool visible) { }
-
// Notification that there was a mouse event
virtual void ContentsMouseEvent(TabContents* source, bool motion) { }
@@ -178,6 +176,9 @@
return 0;
}
+ virtual void OnStartDownload(DownloadItem* download) {
+ }
+
protected:
~TabContentsDelegate() {}
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698