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

Unified Diff: chrome/browser/printing/print_view_manager.h

Issue 6783005: Print Preview: Set a print job's title and url correctly. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
Index: chrome/browser/printing/print_view_manager.h
===================================================================
--- chrome/browser/printing/print_view_manager.h (revision 80021)
+++ chrome/browser/printing/print_view_manager.h (working copy)
@@ -32,6 +32,9 @@
explicit PrintViewManager(TabContents* tab_contents);
virtual ~PrintViewManager();
+ // Override the title and url for this PrintViewManager's PrintJobs.
stuartmorgan 2011/04/01 22:34:14 The paramater is somewhat surprising given the des
Lei Zhang 2011/04/04 22:21:03 Done.
+ void OverrideTitleAndUrl(TabContents* tab_contents);
+
// PrintedPagesSource implementation.
virtual string16 RenderSourceName();
virtual GURL RenderSourceUrl();
@@ -128,6 +131,11 @@
bool expecting_first_page_;
#endif
+ // Title and URL overrides.
+ bool overridden_title_url_;
stuartmorgan 2011/04/01 22:34:14 overridden_title_and_url_ ? I was trying to figure
+ string16 overridden_title_;
+ GURL overridden_url_;
+
DISALLOW_COPY_AND_ASSIGN(PrintViewManager);
};

Powered by Google App Engine
This is Rietveld 408576698