| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_COCOA_DOWNLOAD_SHELF_MAC_H_ | 5 #ifndef CHROME_BROWSER_COCOA_DOWNLOAD_SHELF_MAC_H_ |
| 6 #define CHROME_BROWSER_COCOA_DOWNLOAD_SHELF_MAC_H_ | 6 #define CHROME_BROWSER_COCOA_DOWNLOAD_SHELF_MAC_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| 11 #include <vector> | |
| 12 | |
| 13 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 14 #include "chrome/browser/download/download_shelf.h" | 12 #include "chrome/browser/download/download_shelf.h" |
| 15 | 13 |
| 16 class BaseDownloadItemModel; | 14 class BaseDownloadItemModel; |
| 17 class CustomDrawButton; | 15 class CustomDrawButton; |
| 18 class DownloadItemMac; | 16 class DownloadItemMac; |
| 19 | 17 |
| 20 @class ShelfView; | 18 @class ShelfView; |
| 21 @class DownloadShelfController; | 19 @class DownloadShelfController; |
| 22 | 20 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 37 virtual Browser* browser() const { return browser_; } | 35 virtual Browser* browser() const { return browser_; } |
| 38 | 36 |
| 39 private: | 37 private: |
| 40 // The browser that owns this shelf. | 38 // The browser that owns this shelf. |
| 41 Browser* browser_; | 39 Browser* browser_; |
| 42 | 40 |
| 43 DownloadShelfController* shelf_controller_; // weak, owns us | 41 DownloadShelfController* shelf_controller_; // weak, owns us |
| 44 }; | 42 }; |
| 45 | 43 |
| 46 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_SHELF_MAC_H_ | 44 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_SHELF_MAC_H_ |
| OLD | NEW |