OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_GTK_DOWNLOAD_ITEM_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_DOWNLOAD_ITEM_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_ITEM_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_ITEM_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "app/gtk_signal.h" | |
14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
15 #include "base/time.h" | 14 #include "base/time.h" |
16 #include "chrome/browser/download/download_item.h" | 15 #include "chrome/browser/download/download_item.h" |
17 #include "chrome/browser/icon_manager.h" | 16 #include "chrome/browser/icon_manager.h" |
18 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | 17 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" |
19 #include "chrome/common/notification_observer.h" | 18 #include "chrome/common/notification_observer.h" |
20 #include "chrome/common/notification_registrar.h" | 19 #include "chrome/common/notification_registrar.h" |
21 #include "ui/base/animation/animation_delegate.h" | 20 #include "ui/base/animation/animation_delegate.h" |
| 21 #include "ui/base/gtk/gtk_signal.h" |
22 | 22 |
23 class BaseDownloadItemModel; | 23 class BaseDownloadItemModel; |
24 class DownloadShelfContextMenuGtk; | 24 class DownloadShelfContextMenuGtk; |
25 class DownloadShelfGtk; | 25 class DownloadShelfGtk; |
26 class GtkThemeProvider; | 26 class GtkThemeProvider; |
27 class NineBox; | 27 class NineBox; |
28 class SkBitmap; | 28 class SkBitmap; |
29 | 29 |
30 namespace ui { | 30 namespace ui { |
31 class SlideAnimation; | 31 class SlideAnimation; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 NotificationRegistrar registrar_; | 211 NotificationRegistrar registrar_; |
212 | 212 |
213 // The time at which we were insantiated. | 213 // The time at which we were insantiated. |
214 base::Time creation_time_; | 214 base::Time creation_time_; |
215 | 215 |
216 // For canceling an in progress icon request. | 216 // For canceling an in progress icon request. |
217 CancelableRequestConsumerT<int, 0> icon_consumer_; | 217 CancelableRequestConsumerT<int, 0> icon_consumer_; |
218 }; | 218 }; |
219 | 219 |
220 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_ITEM_GTK_H_ | 220 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_ITEM_GTK_H_ |
OLD | NEW |