| 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_COCOA_DOWNLOAD_DOWNLOAD_SHELF_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_SHELF_CONTROLLER_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include <memory> | 10 #include <memory> |
| 8 | 11 |
| 9 #include "base/mac/scoped_nsobject.h" | 12 #include "base/mac/scoped_nsobject.h" |
| 10 #import "chrome/browser/ui/cocoa/has_weak_browser_pointer.h" | 13 #import "chrome/browser/ui/cocoa/has_weak_browser_pointer.h" |
| 11 #import "chrome/browser/ui/cocoa/view_resizer.h" | 14 #import "chrome/browser/ui/cocoa/view_resizer.h" |
| 12 #include "ui/base/cocoa/tracking_area.h" | 15 #include "ui/base/cocoa/tracking_area.h" |
| 13 | 16 |
| 14 @class AnimatableView; | 17 @class AnimatableView; |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 // Called by individual item controllers when their downloads are opened. | 127 // Called by individual item controllers when their downloads are opened. |
| 125 - (void)downloadWasOpened:(DownloadItemController*)download; | 128 - (void)downloadWasOpened:(DownloadItemController*)download; |
| 126 | 129 |
| 127 // Return the height of the download shelf. | 130 // Return the height of the download shelf. |
| 128 - (float)height; | 131 - (float)height; |
| 129 | 132 |
| 130 // Re-layouts all download items based on their current state. | 133 // Re-layouts all download items based on their current state. |
| 131 - (void)layoutItems; | 134 - (void)layoutItems; |
| 132 | 135 |
| 133 @end | 136 @end |
| 137 |
| 138 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_SHELF_CONTROLLER_H_ |
| OLD | NEW |