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_SHELF_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_DOWNLOAD_SHELF_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_SHELF_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_SHELF_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "app/gtk_signal.h" | |
14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
15 #include "chrome/browser/download/download_shelf.h" | 14 #include "chrome/browser/download/download_shelf.h" |
16 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | 15 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" |
17 #include "chrome/browser/ui/gtk/slide_animator_gtk.h" | 16 #include "chrome/browser/ui/gtk/slide_animator_gtk.h" |
18 #include "chrome/common/notification_observer.h" | 17 #include "chrome/common/notification_observer.h" |
19 #include "chrome/common/notification_registrar.h" | 18 #include "chrome/common/notification_registrar.h" |
20 #include "gfx/native_widget_types.h" | 19 #include "gfx/native_widget_types.h" |
| 20 #include "ui/base/gtk/gtk_signal.h" |
21 | 21 |
22 class BaseDownloadItemModel; | 22 class BaseDownloadItemModel; |
23 class Browser; | 23 class Browser; |
24 class CustomDrawButton; | 24 class CustomDrawButton; |
25 class DownloadItemGtk; | 25 class DownloadItemGtk; |
26 class GtkThemeProvider; | 26 class GtkThemeProvider; |
27 class SlideAnimatorGtk; | 27 class SlideAnimatorGtk; |
28 | 28 |
29 class DownloadShelfGtk : public DownloadShelf, | 29 class DownloadShelfGtk : public DownloadShelf, |
30 public NotificationObserver, | 30 public NotificationObserver, |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 // Gives us our colors and theme information. | 101 // Gives us our colors and theme information. |
102 GtkThemeProvider* theme_provider_; | 102 GtkThemeProvider* theme_provider_; |
103 | 103 |
104 NotificationRegistrar registrar_; | 104 NotificationRegistrar registrar_; |
105 | 105 |
106 friend class DownloadItemGtk; | 106 friend class DownloadItemGtk; |
107 }; | 107 }; |
108 | 108 |
109 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_SHELF_GTK_H_ | 109 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_SHELF_GTK_H_ |
OLD | NEW |