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

Side by Side Diff: chrome/browser/ui/browser_command_controller.cc

Issue 524543002: Removed IDC_PRINT_TO_DESTINATION. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fri Aug 29 14:26:26 PDT 2014 Created 6 years, 3 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
« no previous file with comments | « chrome/browser/printing/printer_query.cc ('k') | chrome/browser/ui/browser_commands.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "chrome/browser/ui/browser_command_controller.h" 5 #include "chrome/browser/ui/browser_command_controller.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/app/chrome_command_ids.h" 9 #include "chrome/app/chrome_command_ids.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 break; 541 break;
542 case IDC_PRINT: 542 case IDC_PRINT:
543 Print(browser_); 543 Print(browser_);
544 break; 544 break;
545 #if !defined(OS_WIN) 545 #if !defined(OS_WIN)
546 case IDC_ADVANCED_PRINT: 546 case IDC_ADVANCED_PRINT:
547 content::RecordAction(base::UserMetricsAction("Accel_Advanced_Print")); 547 content::RecordAction(base::UserMetricsAction("Accel_Advanced_Print"));
548 AdvancedPrint(browser_); 548 AdvancedPrint(browser_);
549 break; 549 break;
550 #endif // !OS_WIN 550 #endif // !OS_WIN
551 case IDC_PRINT_TO_DESTINATION:
552 PrintToDestination(browser_);
553 break;
554 case IDC_TRANSLATE_PAGE: 551 case IDC_TRANSLATE_PAGE:
555 Translate(browser_); 552 Translate(browser_);
556 break; 553 break;
557 case IDC_MANAGE_PASSWORDS_FOR_PAGE: 554 case IDC_MANAGE_PASSWORDS_FOR_PAGE:
558 ManagePasswordsForPage(browser_); 555 ManagePasswordsForPage(browser_);
559 break; 556 break;
560 557
561 // Page encoding commands 558 // Page encoding commands
562 case IDC_ENCODING_AUTO_DETECT: 559 case IDC_ENCODING_AUTO_DETECT:
563 browser_->ToggleEncodingAutoDetect(); 560 browser_->ToggleEncodingAutoDetect();
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 1354
1358 BrowserWindow* BrowserCommandController::window() { 1355 BrowserWindow* BrowserCommandController::window() {
1359 return browser_->window(); 1356 return browser_->window();
1360 } 1357 }
1361 1358
1362 Profile* BrowserCommandController::profile() { 1359 Profile* BrowserCommandController::profile() {
1363 return browser_->profile(); 1360 return browser_->profile();
1364 } 1361 }
1365 1362
1366 } // namespace chrome 1363 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/printing/printer_query.cc ('k') | chrome/browser/ui/browser_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698