Home
last modified time | relevance | path

Searched refs:download_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/download/
Ddownload_shelf.cc22 : download_(download_model->download()), in DownloadShelfContextMenu()
30 return download_; in download()
36 return download_->open_when_complete(); in IsCommandIdChecked()
38 return download_->ShouldOpenFileBasedOnExtension(); in IsCommandIdChecked()
40 return download_->is_paused(); in IsCommandIdChecked()
50 if (download_->IsInProgress()) in GetLabelForCommandId()
58 if (download_->is_paused()) in GetLabelForCommandId()
73 return !download_->IsCancelled(); in IsCommandIdEnabled()
75 return download_->CanOpenDownload(); in IsCommandIdEnabled()
77 return download_->IsPartialDownload(); in IsCommandIdEnabled()
[all …]
Ddownload_item_model.cc27 download_->Cancel(true /* update history service */); in CancelTask()
31 int64 size = download_->received_bytes(); in GetStatusText()
32 int64 total = download_->total_bytes(); in GetStatusText()
47 if (download_->IsInProgress() && download_->is_paused()) { in GetStatusText()
49 } else if (download_->TimeRemaining(&remaining)) { in GetStatusText()
50 simple_time = download_->open_when_complete() ? in GetStatusText()
56 switch (download_->state()) { in GetStatusText()
58 if (download_->open_when_complete()) { in GetStatusText()
112 int64 size = download_->received_bytes(); in GetStatusText()
113 int64 total_size = download_->total_bytes(); in GetStatusText()
[all …]
Ddownload_item_model.h22 : download_(download) { } in BaseDownloadItemModel()
31 DownloadItem* download() { return download_; } in download()
34 DownloadItem* download_;
Dsave_package.cc162 download_(NULL), in SavePackage()
189 download_(NULL), in SavePackage()
213 download_(NULL), in SavePackage()
250 download_ = NULL; in ~SavePackage()
319 download_ = new DownloadItem(download_manager, in Init()
326 download_manager->SavePageAsDownloadStarted(download_); in Init()
328 tab_contents()->OnStartDownload(download_); in Init()
347 download_->set_total_bytes(1); in Init()
692 download_->Cancel(false); in Stop()
745 download_->OnAllDataSaved(all_save_items_count_); in Finish()
[all …]
Ddownload_shelf.h68 DownloadItem* download_; variable
Dsave_package.h276 DownloadItem* download_; variable
/external/chromium/chrome/browser/ui/views/download/
Ddownload_item_view.cc92 if (download_->IsComplete()) in Run()
109 download_ = NULL; in Stop()
122 download_(download), in DownloadItemView()
142 DCHECK(download_); in DownloadItemView()
143 download_->AddObserver(this); in DownloadItemView()
222 UTF16ToWide(download_->GetFileNameToReportUser().LossyDisplayName()); in DownloadItemView()
339 download_->RemoveObserver(this); in ~DownloadItemView()
376 DCHECK(download == download_); in OnDownloadUpdated()
385 switch (download_->state()) { in OnDownloadUpdated()
387 download_->is_paused() ? StopDownloadProgress() : StartDownloadProgress(); in OnDownloadUpdated()
[all …]
Ddownload_item_view.h73 DownloadItem* download() const { return download_; } in download()
193 DownloadItem* download_; variable
/external/chromium/chrome/browser/ui/gtk/download/
Ddownload_item_gtk.cc103 if (download_->IsComplete()) in Popup()