Chromium Code Reviews| 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 f5362679f1e832bfb94fdb59a7f57e91d5c9aead..ee3aec1016b193ed57781b907969bb07ee62206f 100644 |
| --- a/chrome/browser/ui/views/download/download_shelf_view.h |
| +++ b/chrome/browser/ui/views/download/download_shelf_view.h |
| @@ -10,6 +10,7 @@ |
| #include "base/basictypes.h" |
| #include "base/compiler_specific.h" |
| #include "chrome/browser/download/download_shelf.h" |
| +#include "chrome/browser/ui/views/frame/browser_view.h" |
|
mattm
2014/02/07 02:03:36
Should go in download_item_view.cc?
felt
2014/02/07 05:27:50
Done.
|
| #include "ui/gfx/animation/animation_delegate.h" |
| #include "ui/views/accessible_pane_view.h" |
| #include "ui/views/controls/button/button.h" |
| @@ -17,7 +18,6 @@ |
| #include "ui/views/mouse_watcher.h" |
| class Browser; |
| -class BrowserView; |
| class DownloadItemView; |
| namespace content { |
| @@ -56,6 +56,9 @@ class DownloadShelfView : public views::AccessiblePaneView, |
| // i.e. the |browser_|. |
| content::PageNavigator* GetNavigator(); |
| + // Returns the parent_. |
| + BrowserView* get_parent() { return parent_; } |
| + |
| // Implementation of View. |
| virtual gfx::Size GetPreferredSize() OVERRIDE; |
| virtual void Layout() OVERRIDE; |