| 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_DOWNLOAD_DOWNLOAD_SHELF_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_H_ |
| 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 | 13 |
| 14 class Browser; | 14 class Browser; |
| 15 | 15 |
| 16 namespace base { | |
| 17 class TimeTicks; | |
| 18 } | |
| 19 | |
| 20 namespace gfx { | 16 namespace gfx { |
| 21 class Canvas; | 17 class Canvas; |
| 22 class ImageSkia; | |
| 23 class Rect; | |
| 24 } | 18 } |
| 25 | 19 |
| 26 namespace content { | 20 namespace content { |
| 27 class DownloadItem; | 21 class DownloadItem; |
| 28 class DownloadManager; | 22 class DownloadManager; |
| 29 } | 23 } |
| 30 | 24 |
| 31 namespace ui { | 25 namespace ui { |
| 32 class ThemeProvider; | 26 class ThemeProvider; |
| 33 } | 27 } |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // download should belong to the DownloadManager returned by | 135 // download should belong to the DownloadManager returned by |
| 142 // GetDownloadManager(). | 136 // GetDownloadManager(). |
| 143 void ShowDownloadById(int32_t download_id); | 137 void ShowDownloadById(int32_t download_id); |
| 144 | 138 |
| 145 bool should_show_on_unhide_; | 139 bool should_show_on_unhide_; |
| 146 bool is_hidden_; | 140 bool is_hidden_; |
| 147 base::WeakPtrFactory<DownloadShelf> weak_ptr_factory_; | 141 base::WeakPtrFactory<DownloadShelf> weak_ptr_factory_; |
| 148 }; | 142 }; |
| 149 | 143 |
| 150 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_H_ | 144 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_H_ |
| OLD | NEW |