Home
last modified time | relevance | path

Searched refs:DownloadShelf (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/chrome/browser/download/
Ddownload_shelf.cc57 DownloadShelf::DownloadShelf() in DownloadShelf() function in DownloadShelf
63 DownloadShelf::~DownloadShelf() {} in ~DownloadShelf()
66 int DownloadShelf::GetBigProgressIconSize() { in GetBigProgressIconSize()
82 int DownloadShelf::GetBigProgressIconOffset() { in GetBigProgressIconOffset()
97 void DownloadShelf::PaintCustomDownloadProgress( in PaintCustomDownloadProgress()
153 void DownloadShelf::PaintDownloadProgress( in PaintDownloadProgress()
205 void DownloadShelf::PaintDownloadComplete( in PaintDownloadComplete()
233 void DownloadShelf::PaintDownloadInterrupted( in PaintDownloadInterrupted()
260 void DownloadShelf::AddDownload(DownloadItem* download) { in AddDownload()
268 base::Bind(&DownloadShelf::ShowDownloadById, in AddDownload()
[all …]
Ddownload_shelf.h28 class DownloadShelf {
84 DownloadShelf();
85 virtual ~DownloadShelf();
191 base::WeakPtrFactory<DownloadShelf> weak_ptr_factory_;
Dtest_download_shelf.h15 class TestDownloadShelf : public DownloadShelf,
Ddownload_shelf_unittest.cc115 shelf()->Close(DownloadShelf::AUTOMATIC); in TEST_F()
Ddownload_browsertest.cc1350 browser()->window()->GetDownloadShelf()->Close(DownloadShelf::AUTOMATIC); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_shelf_controller.h16 class DownloadShelf; variable
61 scoped_ptr<DownloadShelf> bridge_;
107 - (DownloadShelf*)bridge;
Ddownload_item_cell.mm38 kImageWidth + DownloadShelf::kSmallProgressIconOffset;
81 // Passed as a callback to DownloadShelf paint functions. On toolkit-views
143 indeterminateProgressAngle_ = DownloadShelf::kStartAngleDegrees;
556 int x = imagePosition.x - DownloadShelf::kSmallProgressIconOffset;
557 int y = imagePosition.y - DownloadShelf::kSmallProgressIconOffset;
560 DownloadShelf::kSmallProgressIconSize,
561 DownloadShelf::kSmallProgressIconSize);
568 DownloadShelf::PaintDownloadComplete(
574 DownloadShelf::SMALL);
576 DownloadShelf::PaintDownloadInterrupted(
[all …]
Ddownload_shelf_mac_unittest.mm81 shelf.Close(DownloadShelf::AUTOMATIC);
90 shelf.Close(DownloadShelf::USER_ACTION);
Ddownload_shelf_mac.h20 class DownloadShelfMac : public DownloadShelf {
Ddownload_shelf_controller.mm94 if ((self = [super initWithNibName:@"DownloadShelf"
181 bridge_->Close(DownloadShelf::USER_ACTION);
264 - (DownloadShelf*)bridge {
440 // We notify the DownloadShelf of our intention to close even if the shelf
449 bridge_->Close(DownloadShelf::AUTOMATIC);
Ddownload_shelf_controller_unittest.mm177 // DownloadShelf::Unhide() should cause the shelf to be displayed if there are
193 // DownloadShelf::Unhide() shouldn't cause the shelf to be displayed if all
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_item_view.cc115 progress_angle_(DownloadShelf::kStartAngleDegrees), in DownloadItemView()
218 if (DownloadShelf::kSmallProgressIconSize > box_height_) in DownloadItemView()
219 box_y_ = (DownloadShelf::kSmallProgressIconSize - box_height_) / 2; in DownloadItemView()
247 (progress_angle_ + DownloadShelf::kUnknownIncrementDegrees) % in UpdateDownloadProgress()
248 DownloadShelf::kMaxDegrees; in UpdateDownloadProgress()
256 base::TimeDelta::FromMilliseconds(DownloadShelf::kProgressRateMs), this, in StartDownloadProgress()
389 height = std::max<int>(height, DownloadShelf::kSmallProgressIconSize); in GetPreferredSize()
412 width += DownloadShelf::kSmallProgressIconSize; in GetPreferredSize()
708 DownloadShelf::kSmallProgressIconSize, kTextWidth); in OnPaintBackground()
834 DownloadShelf::kSmallProgressIconSize, kTextWidth); in OnPaintBackground()
[all …]
Ddownload_shelf_view.h44 public DownloadShelf,
/external/chromium_org/chrome/browser/ui/
Dbrowser_window.h25 class DownloadShelf; variable
259 virtual DownloadShelf* GetDownloadShelf() = 0;
Dchrome_pages.cc133 DownloadShelf* shelf = browser->window()->GetDownloadShelf(); in ShowDownloads()
136 shelf->Close(DownloadShelf::USER_ACTION); in ShowDownloads()
Dbrowser.cc1309 DownloadShelf* shelf = window()->GetDownloadShelf(); in ShowDownload()
/external/chromium_org/chrome/test/base/
Dtest_browser_window.cc186 DownloadShelf* TestBrowserWindow::GetDownloadShelf() { in GetDownloadShelf()
Dtest_browser_window.h121 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
/external/chromium_org/chrome/
Dchrome_nibs.gypi31 'app/nibs/DownloadShelf.xib',
/external/chromium_org/chrome/browser/ui/cocoa/
Dbrowser_window_cocoa.h122 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
Dbrowser_window_cocoa.mm534 DownloadShelf* BrowserWindowCocoa::GetDownloadShelf() {
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view.h335 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
Dbrowser_view.cc1230 DownloadShelf* BrowserView::GetDownloadShelf() { in GetDownloadShelf()
/external/chromium_org/chrome/browser/extensions/api/downloads/
Ddownloads_api.cc1481 browser->window()->GetDownloadShelf()->Close(DownloadShelf::AUTOMATIC); in RunSync()