| Index: chrome/browser/printing/print_view_manager_base.cc
|
| diff --git a/chrome/browser/printing/print_view_manager_base.cc b/chrome/browser/printing/print_view_manager_base.cc
|
| index e4103402e8b8c61f56ecc114249b89575d1d1e05..84f5cf706f6e1f5d13e8ea4858a5c732b7930b9e 100644
|
| --- a/chrome/browser/printing/print_view_manager_base.cc
|
| +++ b/chrome/browser/printing/print_view_manager_base.cc
|
| @@ -29,7 +29,7 @@
|
| #include "printing/printed_document.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| -#if defined(ENABLE_FULL_PRINTING)
|
| +#if defined(ENABLE_PRINT_PREVIEW)
|
| #include "chrome/browser/printing/print_error_dialog.h"
|
| #endif
|
|
|
| @@ -67,11 +67,11 @@ PrintViewManagerBase::~PrintViewManagerBase() {
|
| DisconnectFromCurrentPrintJob();
|
| }
|
|
|
| -#if !defined(DISABLE_BASIC_PRINTING)
|
| +#if defined(ENABLE_BASIC_PRINTING)
|
| bool PrintViewManagerBase::PrintNow() {
|
| return PrintNowInternal(new PrintMsg_PrintPages(routing_id()));
|
| }
|
| -#endif // !DISABLE_BASIC_PRINTING
|
| +#endif // ENABLE_BASIC_PRINTING
|
|
|
| void PrintViewManagerBase::UpdateScriptedPrintingBlocked() {
|
| Send(new PrintMsg_SetScriptedPrintingBlocked(
|
| @@ -182,7 +182,7 @@ void PrintViewManagerBase::OnPrintingFailed(int cookie) {
|
| return;
|
| }
|
|
|
| -#if defined(ENABLE_FULL_PRINTING)
|
| +#if defined(ENABLE_PRINT_PREVIEW)
|
| chrome::ShowPrintErrorDialog();
|
| #endif
|
|
|
|
|