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

Unified Diff: chrome/browser/browser.cc

Issue 276004: Wire up printing on the Mac (Closed)
Patch Set: Created 11 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | chrome/browser/printing/print_job.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.cc
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index f1ece514875782e2f4a927b40324b666ee7fbba0..cb8feeef4b7d359ee592810fbcaba42998469d15 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -960,11 +960,7 @@ void Browser::ClosePopups() {
void Browser::Print() {
UserMetrics::RecordAction(L"PrintPreview", profile_);
-#if defined(OS_WIN) || defined(OS_LINUX)
GetSelectedTabContents()->PrintPreview();
-#else
- NOTIMPLEMENTED();
-#endif
}
void Browser::ToggleEncodingAutoDetect() {
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | chrome/browser/printing/print_job.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698