| Index: athena/extensions/chrome/athena_chrome_app_delegate.cc
|
| diff --git a/athena/extensions/chrome/athena_chrome_app_delegate.cc b/athena/extensions/chrome/athena_chrome_app_delegate.cc
|
| index 90f9520f9ea7c4f3524efc1ba667c9f7530cdb5e..dd264f626ba6d2f3220257eefa174cc94789dca0 100644
|
| --- a/athena/extensions/chrome/athena_chrome_app_delegate.cc
|
| +++ b/athena/extensions/chrome/athena_chrome_app_delegate.cc
|
| @@ -15,12 +15,12 @@
|
| #include "content/public/browser/web_contents.h"
|
|
|
| #if defined(ENABLE_PRINTING)
|
| -#if defined(ENABLE_FULL_PRINTING)
|
| +#if defined(ENABLE_PRINT_PREVIEW)
|
| #include "chrome/browser/printing/print_preview_message_handler.h"
|
| #include "chrome/browser/printing/print_view_manager.h"
|
| #else
|
| #include "chrome/browser/printing/print_view_manager_basic.h"
|
| -#endif // defined(ENABLE_FULL_PRINTING)
|
| +#endif // defined(ENABLE_PRINT_PREVIEW)
|
| #endif // defined(ENABLE_PRINTING)
|
|
|
| namespace athena {
|
| @@ -36,12 +36,12 @@ void AthenaChromeAppDelegate::InitWebContents(
|
| FaviconTabHelper::CreateForWebContents(web_contents);
|
|
|
| #if defined(ENABLE_PRINTING)
|
| -#if defined(ENABLE_FULL_PRINTING)
|
| +#if defined(ENABLE_PRINT_PREVIEW)
|
| printing::PrintViewManager::CreateForWebContents(web_contents);
|
| printing::PrintPreviewMessageHandler::CreateForWebContents(web_contents);
|
| #else
|
| printing::PrintViewManagerBasic::CreateForWebContents(web_contents);
|
| -#endif // defined(ENABLE_FULL_PRINTING)
|
| +#endif // defined(ENABLE_PRINT_PREVIEW)
|
| #endif // defined(ENABLE_PRINTING)
|
| extensions::ChromeExtensionWebContentsObserver::CreateForWebContents(
|
| web_contents);
|
|
|