diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-14 21:34:15 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-14 21:34:15 +0000 |
commit | fde4a4ec799a96f6bba91c07cae01c73964d8bf0 (patch) | |
tree | daf20b1955e13e4e2a88520c8c80e8006f9fefd0 /chrome/browser/gtk/download_shelf_gtk.cc | |
parent | 4ea809e23e15b81ac87933b600d330b5ea908a2e (diff) | |
download | chromium_src-fde4a4ec799a96f6bba91c07cae01c73964d8bf0.zip chromium_src-fde4a4ec799a96f6bba91c07cae01c73964d8bf0.tar.gz chromium_src-fde4a4ec799a96f6bba91c07cae01c73964d8bf0.tar.bz2 |
Make DownloadShelf a pure interface.
http://crbug.com/15474
TEST=none
Review URL: http://codereview.chromium.org/149594
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/download_shelf_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/download_shelf_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/download_shelf_gtk.cc b/chrome/browser/gtk/download_shelf_gtk.cc index cfeb22e..d95cb46 100644 --- a/chrome/browser/gtk/download_shelf_gtk.cc +++ b/chrome/browser/gtk/download_shelf_gtk.cc @@ -49,7 +49,7 @@ const int kShelfAnimationDurationMs = 120; } // namespace DownloadShelfGtk::DownloadShelfGtk(Browser* browser, GtkWidget* parent) - : DownloadShelf(browser), + : browser_(browser), is_showing_(false), theme_provider_(GtkThemeProvider::GetFrom(browser->profile())) { // Logically, the shelf is a vbox that contains two children: a one pixel @@ -213,6 +213,6 @@ void DownloadShelfGtk::OnButtonClick(GtkWidget* button, shelf->Close(); } else { // The link button was clicked. - shelf->ShowAllDownloads(); + shelf->browser_->ShowDownloadsTab(); } } |