| Index: chrome/browser/ui/tab_contents/tab_contents.cc
|
| diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc
|
| index 7c2326a004ae5a909441f8a5babb369f8b1fc10b..5b1046f5026bf3ba1e0b1298d2c849d8bc90732a 100644
|
| --- a/chrome/browser/ui/tab_contents/tab_contents.cc
|
| +++ b/chrome/browser/ui/tab_contents/tab_contents.cc
|
| @@ -120,8 +120,11 @@ TabContents::TabContents(WebContents* contents)
|
| web_intent_picker_controller_.reset(new WebIntentPickerController(this));
|
| zoom_controller_.reset(new ZoomController(this));
|
|
|
| -#if !defined(OS_ANDROID)
|
| +#if defined(ENABLE_PRINTING)
|
| print_view_manager_.reset(new printing::PrintViewManager(this));
|
| +#endif
|
| +
|
| +#if !defined(OS_ANDROID)
|
| sad_tab_helper_.reset(new SadTabHelper(contents));
|
| #endif
|
|
|
| @@ -147,6 +150,9 @@ TabContents::TabContents(WebContents* contents)
|
| #if !defined(OS_ANDROID)
|
| if (OmniboxSearchHint::IsEnabled(profile()))
|
| omnibox_search_hint_.reset(new OmniboxSearchHint(this));
|
| +#endif
|
| +
|
| +#if defined(ENABLE_PRINTING)
|
| print_preview_.reset(new printing::PrintPreviewMessageHandler(contents));
|
| #endif
|
|
|
|
|