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

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

Issue 2982009: Revert everything related to the relanding. (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"
11 #include "base/mac_util.h" 10 #include "base/mac_util.h"
12 #include "base/sys_string_conversions.h" 11 #include "base/sys_string_conversions.h"
13 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
14 #import "chrome/browser/browser_theme_provider.h" 13 #import "chrome/browser/browser_theme_provider.h"
15 #import "chrome/browser/cocoa/download_item_button.h" 14 #import "chrome/browser/cocoa/download_item_button.h"
16 #import "chrome/browser/cocoa/download_item_cell.h" 15 #import "chrome/browser/cocoa/download_item_cell.h"
17 #include "chrome/browser/cocoa/download_item_mac.h" 16 #include "chrome/browser/cocoa/download_item_mac.h"
18 #import "chrome/browser/cocoa/download_shelf_controller.h" 17 #import "chrome/browser/cocoa/download_shelf_controller.h"
19 #import "chrome/browser/cocoa/themed_window.h" 18 #import "chrome/browser/cocoa/themed_window.h"
20 #import "chrome/browser/cocoa/ui_localizer.h" 19 #import "chrome/browser/cocoa/ui_localizer.h"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 [sender setTitle:l10n_util::GetNSStringWithFixup( 384 [sender setTitle:l10n_util::GetNSStringWithFixup(
386 IDS_DOWNLOAD_MENU_PAUSE_ITEM)]; 385 IDS_DOWNLOAD_MENU_PAUSE_ITEM)];
387 } else { 386 } else {
388 [sender setTitle:l10n_util::GetNSStringWithFixup( 387 [sender setTitle:l10n_util::GetNSStringWithFixup(
389 IDS_DOWNLOAD_MENU_RESUME_ITEM)]; 388 IDS_DOWNLOAD_MENU_RESUME_ITEM)];
390 } 389 }
391 menuBridge_->ExecuteCommand(DownloadShelfContextMenuMac::TOGGLE_PAUSE); 390 menuBridge_->ExecuteCommand(DownloadShelfContextMenuMac::TOGGLE_PAUSE);
392 } 391 }
393 392
394 @end 393 @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