Searched defs:DownloadItem (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
H A Dpopup.js143 function DownloadItem(data) { function
150 DownloadItem.canResumeHack = true;
262 DownloadItem.canResumeHack = false; class
264 DownloadItem.prototype.getElement = function(name) {
268 DownloadItem.prototype.render = function() {
275 if (DownloadItem.canResumeHack) {
415 DownloadItem.prototype.onChanged = function(delta) {
430 DownloadItem.prototype.onErased = function() {
435 DownloadItem.prototype.drag = function() {
439 DownloadItem
[all...]
/external/chromium_org/content/public/browser/
H A Ddownload_item.h5 // Each download is represented by a DownloadItem, and all DownloadItems
11 // DownloadItem::Observer:
46 // One DownloadItem per download. This is the model class that stores all the
48 // Destination tab's download view, may refer to a given DownloadItem.
51 class CONTENT_EXPORT DownloadItem : public base::SupportsUserData { class in namespace:content
89 virtual void OnDownloadUpdated(DownloadItem* download) {}
90 virtual void OnDownloadOpened(DownloadItem* download) {}
91 virtual void OnDownloadRemoved(DownloadItem* download) {}
96 virtual void OnDownloadDestroyed(DownloadItem* download) {}
102 virtual ~DownloadItem() {}
[all...]
/external/chromium/chrome/browser/download/
H A Ddownload_item.cc31 // A DownloadItem normally goes through the following states:
43 // DownloadItem::DownloadState and a state transition table/state diagram.
61 const char* DebugSafetyStateString(DownloadItem::SafetyState state) {
63 case DownloadItem::SAFE:
65 case DownloadItem::DANGEROUS:
67 case DownloadItem::DANGEROUS_BUT_VALIDATED:
75 const char* DebugDownloadStateString(DownloadItem::DownloadState state) {
77 case DownloadItem::IN_PROGRESS:
79 case DownloadItem::COMPLETE:
81 case DownloadItem
116 DownloadItem::DownloadItem(DownloadManager* download_manager, function in class:DownloadItem
155 DownloadItem::DownloadItem(DownloadManager* download_manager, function in class:DownloadItem
194 DownloadItem::DownloadItem(DownloadManager* download_manager, function in class:DownloadItem
[all...]
H A Ddownload_item.h5 // Each download is represented by a DownloadItem, and all DownloadItems
11 // DownloadItem::Observer:
34 // One DownloadItem per download. This is the model class that stores all the
36 // Destination tab's download view, may refer to a given DownloadItem.
39 class DownloadItem { class
92 virtual void OnDownloadUpdated(DownloadItem* download) = 0;
95 virtual void OnDownloadOpened(DownloadItem* download) = 0;
102 DownloadItem(DownloadManager* download_manager,
106 DownloadItem(DownloadManager* download_manager,
111 DownloadItem(DownloadManage
[all...]
/external/chromium_org/chrome/browser/download/
H A Ddownload_query.cc35 using content::DownloadItem;
70 // DownloadItem fields.
74 const DownloadItem& item) {
101 static int64 GetStartTimeMsEpoch(const DownloadItem& item) {
105 static int64 GetEndTimeMsEpoch(const DownloadItem& item) {
118 static std::string GetStartTime(const DownloadItem& item) {
122 static std::string GetEndTime(const DownloadItem& item) {
126 static bool GetDangerAccepted(const DownloadItem& item) {
131 static bool GetExists(const DownloadItem& item) {
135 static string16 GetFilename(const DownloadItem
195 BuildFilter( const base::Value& value, ComparisonType cmptype, ValueType (*accessor)(const DownloadItem&)) argument
213 BuildRegexFilter( const base::Value& regex_value, std::string (*accessor)(const DownloadItem&)) argument
343 Build(DownloadQuery::SortDirection adirection, ValueType (*accessor)(const DownloadItem&)) argument
[all...]

Completed in 202 milliseconds