Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Side by Side Diff: chrome/browser/gtk/download_item_gtk.h

Issue 351029: Support dragging a virtual file out of the browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_GTK_DOWNLOAD_ITEM_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_DOWNLOAD_ITEM_GTK_H_
6 #define CHROME_BROWSER_GTK_DOWNLOAD_ITEM_GTK_H_ 6 #define CHROME_BROWSER_GTK_DOWNLOAD_ITEM_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 21 matching lines...) Expand all
32 public: 32 public:
33 // DownloadItemGtk takes ownership of |download_item_model|. 33 // DownloadItemGtk takes ownership of |download_item_model|.
34 DownloadItemGtk(DownloadShelfGtk* parent_shelf, 34 DownloadItemGtk(DownloadShelfGtk* parent_shelf,
35 BaseDownloadItemModel* download_item_model); 35 BaseDownloadItemModel* download_item_model);
36 36
37 // Destroys all widgets belonging to this DownloadItemGtk. 37 // Destroys all widgets belonging to this DownloadItemGtk.
38 ~DownloadItemGtk(); 38 ~DownloadItemGtk();
39 39
40 // DownloadItem::Observer implementation. 40 // DownloadItem::Observer implementation.
41 virtual void OnDownloadUpdated(DownloadItem* download); 41 virtual void OnDownloadUpdated(DownloadItem* download);
42 virtual void OnDownloadFileCompleted(DownloadItem* download) { }
42 virtual void OnDownloadOpened(DownloadItem* download) { } 43 virtual void OnDownloadOpened(DownloadItem* download) { }
43 44
44 // AnimationDelegate implementation. 45 // AnimationDelegate implementation.
45 virtual void AnimationProgressed(const Animation* animation); 46 virtual void AnimationProgressed(const Animation* animation);
46 47
47 // Overridden from NotificationObserver: 48 // Overridden from NotificationObserver:
48 virtual void Observe(NotificationType type, 49 virtual void Observe(NotificationType type,
49 const NotificationSource& source, 50 const NotificationSource& source,
50 const NotificationDetails& details); 51 const NotificationDetails& details);
51 52
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 NotificationRegistrar registrar_; 217 NotificationRegistrar registrar_;
217 218
218 // The time at which we were insantiated. 219 // The time at which we were insantiated.
219 base::Time creation_time_; 220 base::Time creation_time_;
220 221
221 // For canceling an in progress icon request. 222 // For canceling an in progress icon request.
222 CancelableRequestConsumerT<int, 0> icon_consumer_; 223 CancelableRequestConsumerT<int, 0> icon_consumer_;
223 }; 224 };
224 225
225 #endif // CHROME_BROWSER_GTK_DOWNLOAD_ITEM_GTK_H_ 226 #endif // CHROME_BROWSER_GTK_DOWNLOAD_ITEM_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/save_package_unittest.cc ('k') | chrome/browser/history/download_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698