Lines Matching defs:download
5 #include "chrome/browser/ui/views/download/download_shelf_view.h"
11 #include "chrome/browser/download/download_item.h"
12 #include "chrome/browser/download/download_item_model.h"
13 #include "chrome/browser/download/download_manager.h"
17 #include "chrome/browser/ui/views/download/download_item_view.h"
30 // Max number of download views we'll contain. Any time a view is added and
31 // we already have this many download views, one is removed.
34 // Padding from left edge and first download view.
43 // Padding between the download views.
55 // New download item animation speed in milliseconds.
63 // download is most likely going to trigger a new window to appear over the
65 // other app and return to chrome with the download shelf still open.
148 download_model->download(), this, download_model);
213 // Add one download view to the preferred size.
260 // If there is not enough room to show the first download item, show the
335 // Let's compute the width available for download items, which is the width
396 DownloadItem* download = download_views_[i]->download();
397 bool is_transfer_done = download->IsComplete() ||
398 download->IsCancelled() ||
399 download->IsInterrupted();
401 download->safety_state() != DownloadItem::DANGEROUS) {
406 download->set_opened(true);
414 if (!download_views_[i]->download()->opened())