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

Side by Side Diff: chrome/browser/views/download_item_view.h

Issue 3023052: Merging r55430 to the M6 branch:... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/views/download_item_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A ChromeView that implements one download on the Download shelf. 5 // A ChromeView that implements one download on the Download shelf.
6 // Each DownloadItemView contains an application icon, a text label 6 // Each DownloadItemView contains an application icon, a text label
7 // indicating the download's file name, a text label indicating the 7 // indicating the download's file name, a text label indicating the
8 // download's status (such as the number of bytes downloaded so far) 8 // download's status (such as the number of bytes downloaded so far)
9 // and a button for canceling an in progress download, or opening 9 // and a button for canceling an in progress download, or opening
10 // the completed download. 10 // the completed download.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 // The time at which this view was created. 248 // The time at which this view was created.
249 base::Time creation_time_; 249 base::Time creation_time_;
250 250
251 // Method factory used to delay reenabling of the item when opening the 251 // Method factory used to delay reenabling of the item when opening the
252 // downloaded file. 252 // downloaded file.
253 ScopedRunnableMethodFactory<DownloadItemView> reenable_method_factory_; 253 ScopedRunnableMethodFactory<DownloadItemView> reenable_method_factory_;
254 254
255 // The currently running download context menu. 255 // The currently running download context menu.
256 scoped_ptr<DownloadShelfContextMenuWin> context_menu_; 256 scoped_ptr<DownloadShelfContextMenuWin> context_menu_;
257 257
258 // If non-NULL, set to true when this object is deleted.
259 // (Used when showing the context menu as it runs an inner message loop that
260 // might delete us).
261 bool* deleted_;
262
258 DISALLOW_COPY_AND_ASSIGN(DownloadItemView); 263 DISALLOW_COPY_AND_ASSIGN(DownloadItemView);
259 }; 264 };
260 265
261 #endif // CHROME_BROWSER_VIEWS_DOWNLOAD_ITEM_VIEW_H__ 266 #endif // CHROME_BROWSER_VIEWS_DOWNLOAD_ITEM_VIEW_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/download_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698