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

Unified Diff: chrome/browser/views/download_item_view.h

Issue 3177034: Makes the download shelf auto-close after the user opens all downloads (Closed)
Patch Set: Have OnDownloadOpened invoked before opened to match old behavior Created 10 years, 4 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/views/download_item_view.h
diff --git a/chrome/browser/views/download_item_view.h b/chrome/browser/views/download_item_view.h
index 1eeb190f9b3fb9b9cf08875321bfdaae9c34419b..c047482854bd52283b724d690e62c93a1ae8d44c 100644
--- a/chrome/browser/views/download_item_view.h
+++ b/chrome/browser/views/download_item_view.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -82,7 +82,7 @@ class DownloadItemView : public views::ButtonListener,
void OnExtractIconComplete(IconManager::Handle handle, SkBitmap* icon_bitmap);
// Returns the DownloadItem model object belonging to this item.
- DownloadItem* get_download() { return download_; }
+ DownloadItem* download() { return download_; }
Jay Civelli 2010/08/26 16:10:32 Make it const.
private:
enum State {

Powered by Google App Engine
This is Rietveld 408576698