Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Side by Side Diff: chrome/browser/cocoa/download_item_controller.mm

Issue 2937010: Reland r52336. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/cocoa/download_item_controller.h" 5 #import "chrome/browser/cocoa/download_item_controller.h"
6 6
7 #include "app/l10n_util_mac.h" 7 #include "app/l10n_util_mac.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "app/text_elider.h" 9 #include "app/text_elider.h"
10 #include "base/histogram.h"
10 #include "base/mac_util.h" 11 #include "base/mac_util.h"
11 #include "base/sys_string_conversions.h" 12 #include "base/sys_string_conversions.h"
12 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
13 #import "chrome/browser/browser_theme_provider.h" 14 #import "chrome/browser/browser_theme_provider.h"
14 #import "chrome/browser/cocoa/download_item_button.h" 15 #import "chrome/browser/cocoa/download_item_button.h"
15 #import "chrome/browser/cocoa/download_item_cell.h" 16 #import "chrome/browser/cocoa/download_item_cell.h"
16 #include "chrome/browser/cocoa/download_item_mac.h" 17 #include "chrome/browser/cocoa/download_item_mac.h"
17 #import "chrome/browser/cocoa/download_shelf_controller.h" 18 #import "chrome/browser/cocoa/download_shelf_controller.h"
18 #import "chrome/browser/cocoa/themed_window.h" 19 #import "chrome/browser/cocoa/themed_window.h"
19 #import "chrome/browser/cocoa/ui_localizer.h" 20 #import "chrome/browser/cocoa/ui_localizer.h"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 [sender setTitle:l10n_util::GetNSStringWithFixup( 385 [sender setTitle:l10n_util::GetNSStringWithFixup(
385 IDS_DOWNLOAD_MENU_PAUSE_ITEM)]; 386 IDS_DOWNLOAD_MENU_PAUSE_ITEM)];
386 } else { 387 } else {
387 [sender setTitle:l10n_util::GetNSStringWithFixup( 388 [sender setTitle:l10n_util::GetNSStringWithFixup(
388 IDS_DOWNLOAD_MENU_RESUME_ITEM)]; 389 IDS_DOWNLOAD_MENU_RESUME_ITEM)];
389 } 390 }
390 menuBridge_->ExecuteCommand(DownloadShelfContextMenuMac::TOGGLE_PAUSE); 391 menuBridge_->ExecuteCommand(DownloadShelfContextMenuMac::TOGGLE_PAUSE);
391 } 392 }
392 393
393 @end 394 @end
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/boot_times_loader.cc ('k') | chrome/browser/cocoa/external_protocol_dialog.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698