| OLD | NEW |
| 1 // Copyright (c) 2010 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 #import "chrome/browser/ui/cocoa/download/download_shelf_controller.h" | 5 #import "chrome/browser/ui/cocoa/download/download_shelf_controller.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
| 9 #include "base/mac_util.h" | 9 #include "base/mac_util.h" |
| 10 #include "base/sys_string_conversions.h" | 10 #include "base/sys_string_conversions.h" |
| 11 #include "chrome/browser/download/download_item.h" | 11 #include "chrome/browser/download/download_item.h" |
| 12 #include "chrome/browser/download/download_manager.h" | 12 #include "chrome/browser/download/download_manager.h" |
| 13 #include "chrome/browser/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/themes/browser_theme_provider.h" | 14 #include "chrome/browser/themes/browser_theme_provider.h" |
| 15 #include "chrome/browser/ui/browser.h" | 15 #include "chrome/browser/ui/browser.h" |
| 16 #import "chrome/browser/ui/cocoa/animatable_view.h" | 16 #import "chrome/browser/ui/cocoa/animatable_view.h" |
| 17 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h" | 17 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h" |
| 18 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 18 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
| 19 #include "chrome/browser/ui/cocoa/download/download_item_controller.h" | 19 #include "chrome/browser/ui/cocoa/download/download_item_controller.h" |
| 20 #include "chrome/browser/ui/cocoa/download/download_shelf_mac.h" | 20 #include "chrome/browser/ui/cocoa/download/download_shelf_mac.h" |
| 21 #import "chrome/browser/ui/cocoa/download/download_shelf_view.h" | 21 #import "chrome/browser/ui/cocoa/download/download_shelf_view.h" |
| 22 #import "chrome/browser/ui/cocoa/hyperlink_button_cell.h" | 22 #import "chrome/browser/ui/cocoa/hyperlink_button_cell.h" |
| 23 #include "grit/generated_resources.h" | 23 #include "grit/generated_resources.h" |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 if (isTransferDone && | 318 if (isTransferDone && |
| 319 [itemController download]->safety_state() != DownloadItem::DANGEROUS) { | 319 [itemController download]->safety_state() != DownloadItem::DANGEROUS) { |
| 320 [self remove:itemController]; | 320 [self remove:itemController]; |
| 321 } else { | 321 } else { |
| 322 ++i; | 322 ++i; |
| 323 } | 323 } |
| 324 } | 324 } |
| 325 } | 325 } |
| 326 | 326 |
| 327 @end | 327 @end |
| OLD | NEW |