Home
last modified time | relevance | path

Searched refs:download_views_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc137 download_views_.push_back(view); in AddDownloadView()
139 if (download_views_.size() > kMaxDownloadViews) in AddDownloadView()
140 RemoveDownloadView(*download_views_.begin()); in AddDownloadView()
166 find(download_views_.begin(), download_views_.end(), view); in RemoveDownloadView()
167 DCHECK(i != download_views_.end()); in RemoveDownloadView()
168 download_views_.erase(i); in RemoveDownloadView()
171 if (download_views_.empty()) in RemoveDownloadView()
180 if (!download_views_.empty()) in GetDefaultFocusableChild()
181 return download_views_[0]; in GetDefaultFocusableChild()
191 for (size_t i = 0; i < download_views_.size(); ++i) { in OnPaint()
[all …]
Ddownload_shelf_view.h137 std::vector<DownloadItemView*> download_views_; variable
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc116 download_views_.push_back(view); in AddDownloadView()
118 if (download_views_.size() > kMaxDownloadViews) in AddDownloadView()
119 RemoveDownloadView(*download_views_.begin()); in AddDownloadView()
137 find(download_views_.begin(), download_views_.end(), view); in RemoveDownloadView()
138 DCHECK(i != download_views_.end()); in RemoveDownloadView()
139 download_views_.erase(i); in RemoveDownloadView()
142 if (download_views_.empty()) in RemoveDownloadView()
151 return download_views_.empty() ? in GetDefaultFocusableChild()
152 static_cast<View*>(show_all_view_) : download_views_[0]; in GetDefaultFocusableChild()
173 if (!download_views_.empty()) { in GetPreferredSize()
[all …]
Ddownload_shelf_view.h136 std::vector<DownloadItemView*> download_views_; variable