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