| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 72691)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -52,6 +52,7 @@
|
| #include "chrome/browser/plugin_installer_infobar_delegate.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/prerender/prerender_manager.h"
|
| +#include "chrome/browser/printing/print_preview_message_handler.h"
|
| #include "chrome/browser/printing/print_preview_tab_controller.h"
|
| #include "chrome/browser/printing/print_view_manager.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -363,6 +364,8 @@
|
| registrar_(),
|
| ALLOW_THIS_IN_INITIALIZER_LIST(printing_(
|
| new printing::PrintViewManager(*this))),
|
| + ALLOW_THIS_IN_INITIALIZER_LIST(print_preview_(
|
| + new printing::PrintPreviewMessageHandler(this))),
|
| save_package_(),
|
| autocomplete_history_manager_(),
|
| autofill_manager_(),
|
| @@ -474,6 +477,7 @@
|
| AddNavigationObserver(autocomplete_history_manager_.get());
|
| AddNavigationObserver(&fav_icon_helper_);
|
| AddNavigationObserver(printing_.get());
|
| + AddNavigationObserver(print_preview_.get());
|
| }
|
|
|
| TabContents::~TabContents() {
|
|
|