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_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include <vector> |
| 10 |
9 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
11 #include "chrome/browser/download/download_shelf.h" | 13 #include "chrome/browser/download/download_shelf.h" |
12 #include "ui/base/animation/animation_delegate.h" | 14 #include "ui/base/animation/animation_delegate.h" |
13 #include "views/accessible_pane_view.h" | 15 #include "views/accessible_pane_view.h" |
14 #include "views/controls/button/button.h" | 16 #include "views/controls/button/button.h" |
15 #include "views/controls/link_listener.h" | 17 #include "views/controls/link_listener.h" |
16 #include "views/mouse_watcher.h" | 18 #include "views/mouse_watcher.h" |
17 | 19 |
18 class BaseDownloadItemModel; | 20 class BaseDownloadItemModel; |
19 class Browser; | 21 class Browser; |
20 class BrowserView; | 22 class BrowserView; |
21 class DownloadAnimation; | |
22 class DownloadItemView; | 23 class DownloadItemView; |
23 | 24 |
24 namespace ui { | 25 namespace ui { |
25 class SlideAnimation; | 26 class SlideAnimation; |
26 } | 27 } |
27 | 28 |
28 namespace views { | 29 namespace views { |
29 class ImageButton; | 30 class ImageButton; |
30 class ImageView; | 31 class ImageView; |
31 } | 32 } |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 159 |
159 // Whether we are auto-closing. | 160 // Whether we are auto-closing. |
160 bool auto_closed_; | 161 bool auto_closed_; |
161 | 162 |
162 views::MouseWatcher mouse_watcher_; | 163 views::MouseWatcher mouse_watcher_; |
163 | 164 |
164 DISALLOW_COPY_AND_ASSIGN(DownloadShelfView); | 165 DISALLOW_COPY_AND_ASSIGN(DownloadShelfView); |
165 }; | 166 }; |
166 | 167 |
167 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ | 168 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ |
OLD | NEW |