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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.cc

Issue 6783005: Print Preview: Set a print job's title and url correctly. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: tab helpers stay with friends Created 9 years, 8 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 | « chrome/browser/ui/tab_contents/tab_contents_wrapper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
===================================================================
--- chrome/browser/ui/tab_contents/tab_contents_wrapper.cc (revision 80726)
+++ chrome/browser/ui/tab_contents/tab_contents_wrapper.cc (working copy)
@@ -21,7 +21,6 @@
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/prerender/prerender_observer.h"
#include "chrome/browser/printing/print_preview_message_handler.h"
-#include "chrome/browser/printing/print_view_manager.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h"
#include "chrome/browser/ui/find_bar/find_tab_helper.h"
@@ -63,6 +62,7 @@
password_manager_.reset(
new PasswordManager(contents, password_manager_delegate_.get()));
search_engine_tab_helper_.reset(new SearchEngineTabHelper(contents));
+ print_view_manager_.reset(new printing::PrintViewManager(contents));
// Register for notifications about URL starredness changing on any profile.
registrar_.Add(this, NotificationType::URLS_STARRED,
@@ -75,7 +75,6 @@
extension_message_observer_.reset(new ExtensionMessageObserver(contents));
file_select_observer_.reset(new FileSelectObserver(contents));
prerender_observer_.reset(new prerender::PrerenderObserver(contents));
- printing_.reset(new printing::PrintViewManager(contents));
print_preview_.reset(new printing::PrintPreviewMessageHandler(contents));
}
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents_wrapper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698