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_DOWNLOAD_SHELF_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_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 "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
15 #include "chrome/browser/download/download_shelf.h" | 15 #include "chrome/browser/download/download_shelf.h" |
16 #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 "content/common/notification_observer.h" | 17 #include "content/common/notification_observer.h" |
19 #include "content/common/notification_registrar.h" | 18 #include "content/common/notification_registrar.h" |
20 #include "ui/base/gtk/gtk_signal.h" | 19 #include "ui/base/gtk/gtk_signal.h" |
| 20 #include "ui/base/gtk/owned_widget_gtk.h" |
21 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
22 | 22 |
23 class BaseDownloadItemModel; | 23 class BaseDownloadItemModel; |
24 class Browser; | 24 class Browser; |
25 class CustomDrawButton; | 25 class CustomDrawButton; |
26 class DownloadItemGtk; | 26 class DownloadItemGtk; |
27 class GtkThemeService; | 27 class GtkThemeService; |
28 class SlideAnimatorGtk; | 28 class SlideAnimatorGtk; |
29 | 29 |
30 namespace gfx { | 30 namespace gfx { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 // True if the mouse is within the shelf's bounds, as of the last mouse event | 142 // True if the mouse is within the shelf's bounds, as of the last mouse event |
143 // we received. | 143 // we received. |
144 bool mouse_in_shelf_; | 144 bool mouse_in_shelf_; |
145 | 145 |
146 ScopedRunnableMethodFactory<DownloadShelfGtk> auto_close_factory_; | 146 ScopedRunnableMethodFactory<DownloadShelfGtk> auto_close_factory_; |
147 | 147 |
148 friend class DownloadItemGtk; | 148 friend class DownloadItemGtk; |
149 }; | 149 }; |
150 | 150 |
151 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_GTK_H_ | 151 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_GTK_H_ |
OLD | NEW |