| Index: chrome/browser/ui/views/download/download_shelf_view.h
|
| diff --git a/chrome/browser/ui/views/download/download_shelf_view.h b/chrome/browser/ui/views/download/download_shelf_view.h
|
| index 3c8fa19713c74d490dea0c6a13826c64960151e4..2a983d1316a5215b956ba3a46c9916ee0e805ded 100644
|
| --- a/chrome/browser/ui/views/download/download_shelf_view.h
|
| +++ b/chrome/browser/ui/views/download/download_shelf_view.h
|
| @@ -15,7 +15,7 @@
|
| #include "ui/gfx/animation/animation_delegate.h"
|
| #include "ui/gfx/animation/slide_animation.h"
|
| #include "ui/views/accessible_pane_view.h"
|
| -#include "ui/views/controls/button/button.h"
|
| +#include "ui/views/controls/button/vector_icon_button_delegate.h"
|
| #include "ui/views/controls/link_listener.h"
|
| #include "ui/views/mouse_watcher.h"
|
|
|
| @@ -41,7 +41,7 @@ class MdTextButton;
|
| class DownloadShelfView : public views::AccessiblePaneView,
|
| public gfx::AnimationDelegate,
|
| public DownloadShelf,
|
| - public views::ButtonListener,
|
| + public views::VectorIconButtonDelegate,
|
| public views::LinkListener,
|
| public views::MouseWatcherListener {
|
| public:
|
| @@ -72,10 +72,11 @@ class DownloadShelfView : public views::AccessiblePaneView,
|
| // Invoked when the user clicks the 'show all downloads' link button.
|
| void LinkClicked(views::Link* source, int event_flags) override;
|
|
|
| - // Implementation of ButtonListener.
|
| + // Implementation of VectorIconButtonDelegate.
|
| // Invoked when the user clicks the close button. Asks the browser to
|
| // hide the download shelf.
|
| void ButtonPressed(views::Button* button, const ui::Event& event) override;
|
| + SkColor GetVectorIconBaseColor() const override;
|
|
|
| // Implementation of DownloadShelf.
|
| bool IsShowing() const override;
|
|
|