OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 12 matching lines...) Expand all Loading... |
23 class BrowserView; | 23 class BrowserView; |
24 class DownloadItemView; | 24 class DownloadItemView; |
25 | 25 |
26 namespace content { | 26 namespace content { |
27 class DownloadItem; | 27 class DownloadItem; |
28 class PageNavigator; | 28 class PageNavigator; |
29 } | 29 } |
30 | 30 |
31 namespace views { | 31 namespace views { |
32 class ImageButton; | 32 class ImageButton; |
33 class ImageView; | |
34 class MdTextButton; | 33 class MdTextButton; |
35 } | 34 } |
36 | 35 |
37 // DownloadShelfView is a view that contains individual views for each download, | 36 // DownloadShelfView is a view that contains individual views for each download, |
38 // as well as a close button and a link to show all downloads. | 37 // as well as a close button and a link to show all downloads. |
39 // | 38 // |
40 // DownloadShelfView does not hold an infinite number of download views, rather | 39 // DownloadShelfView does not hold an infinite number of download views, rather |
41 // it'll automatically remove views once a certain point is reached. | 40 // it'll automatically remove views once a certain point is reached. |
42 class DownloadShelfView : public views::AccessiblePaneView, | 41 class DownloadShelfView : public views::AccessiblePaneView, |
43 public gfx::AnimationDelegate, | 42 public gfx::AnimationDelegate, |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 152 |
154 // The window this shelf belongs to. | 153 // The window this shelf belongs to. |
155 BrowserView* parent_; | 154 BrowserView* parent_; |
156 | 155 |
157 views::MouseWatcher mouse_watcher_; | 156 views::MouseWatcher mouse_watcher_; |
158 | 157 |
159 DISALLOW_COPY_AND_ASSIGN(DownloadShelfView); | 158 DISALLOW_COPY_AND_ASSIGN(DownloadShelfView); |
160 }; | 159 }; |
161 | 160 |
162 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ | 161 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ |
OLD | NEW |