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

Unified Diff: chrome/browser/ui/views/download_shelf_view.cc

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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_shelf_view.cc
diff --git a/chrome/browser/ui/views/download_shelf_view.cc b/chrome/browser/ui/views/download_shelf_view.cc
index 04c713df064dad417d4d5a8b0a160225c275439d..b2122533a22e77f99b293f804a0370b6879a27cc 100644
--- a/chrome/browser/ui/views/download_shelf_view.cc
+++ b/chrome/browser/ui/views/download_shelf_view.cc
@@ -385,6 +385,10 @@ void DownloadShelfView::Close() {
shelf_animation_->Hide();
}
+Browser* DownloadShelfView::browser() const {
+ return browser_;
+}
+
void DownloadShelfView::Closed() {
// When the close animation is complete, remove all completed downloads.
size_t i = 0;

Powered by Google App Engine
This is Rietveld 408576698