Index: chrome/browser/views/download_shelf_view.h |
=================================================================== |
--- chrome/browser/views/download_shelf_view.h (revision 9328) |
+++ chrome/browser/views/download_shelf_view.h (working copy) |
@@ -31,7 +31,7 @@ |
public views::LinkController, |
public AnimationDelegate { |
public: |
- DownloadShelfView(TabContents* tab_contents); |
+ explicit DownloadShelfView(TabContents* tab_contents); |
// A new download has started, so add it to our shelf. |
void AddDownload(DownloadItem* download); |
@@ -68,6 +68,12 @@ |
// one. |
void ChangeTabContents(TabContents* old_contents, TabContents* new_contents); |
+ // The browser view needs to know when we are going away to properly return |
+ // the resize corner size to WebKit so that we don't draw on top of it. |
+ // This returns the showing state of our animation which is set to false at |
+ // the beginning Show and true at the beginning of a Hide. |
+ bool IsShowing() const; |
+ |
private: |
void Init(); |
@@ -107,5 +113,5 @@ |
DISALLOW_EVIL_CONSTRUCTORS(DownloadShelfView); |
}; |
-#endif // CHROME_BROWSER_VIEWS_DOWNLOAD_SHELF_VIEW_H__ |
+#endif // CHROME_BROWSER_VIEWS_DOWNLOAD_SHELF_VIEW_H__ |