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

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.h

Issue 12995025: [Mac] DownloadShelf should be notified when autoclosing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: + NSTrackingInVisibleRect Created 7 years, 9 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
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 b91cf952b56e3d2b5c1add1bfecee86acb440c74..86611ba8aae1bf6976c6412b8dbd2b2fff98a72d 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_view.h
@@ -100,7 +100,7 @@ class DownloadShelfView : public views::AccessiblePaneView,
// Implementation of DownloadShelf.
virtual void DoAddDownload(content::DownloadItem* download) OVERRIDE;
virtual void DoShow() OVERRIDE;
- virtual void DoClose() OVERRIDE;
+ virtual void DoClose(CloseReason reason) OVERRIDE;
// From AccessiblePaneView
virtual views::View* GetDefaultFocusableChild() OVERRIDE;
@@ -166,9 +166,6 @@ class DownloadShelfView : public views::AccessiblePaneView,
// The window this shelf belongs to.
BrowserView* parent_;
- // Whether we are auto-closing.
- bool auto_closed_;
-
views::MouseWatcher mouse_watcher_;
DISALLOW_COPY_AND_ASSIGN(DownloadShelfView);
« no previous file with comments | « chrome/browser/ui/gtk/download/download_shelf_gtk.cc ('k') | chrome/browser/ui/views/download/download_shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698