diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-09 06:06:58 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-09 06:06:58 +0000 |
commit | dcd1e88686edab52a5c9addc1c64b46826cfe79c (patch) | |
tree | f560f72fbe8584097c85822796ae6af2ca88b75f /printing/printed_document.h | |
parent | ce80f5f9b5b2e8238875419a5adf61875524f3ef (diff) | |
download | chromium_src-dcd1e88686edab52a5c9addc1c64b46826cfe79c.zip chromium_src-dcd1e88686edab52a5c9addc1c64b46826cfe79c.tar.gz chromium_src-dcd1e88686edab52a5c9addc1c64b46826cfe79c.tar.bz2 |
Printing: Remove unused PageOverlay since header/footers are drawn in PrintWebViewHelper.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7585015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printed_document.h')
-rw-r--r-- | printing/printed_document.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/printing/printed_document.h b/printing/printed_document.h index a53b90f..eb08ae3 100644 --- a/printing/printed_document.h +++ b/printing/printed_document.h @@ -98,8 +98,6 @@ class PrintedDocument : public base::RefCountedThreadSafe<PrintedDocument> { return immutable_.name_; } const GURL& url() const { return immutable_.url_; } - const string16& date() const { return immutable_.date_; } - const string16& time() const { return immutable_.time_; } int cookie() const { return immutable_.cookie_; } // Sets a path where to dump printing output files for debugging. If never set @@ -154,9 +152,6 @@ class PrintedDocument : public base::RefCountedThreadSafe<PrintedDocument> { int cookie); ~Immutable(); - // Sets the document's |date_| and |time_|. - void SetDocumentDate(); - // Print settings used to generate this document. Immutable. PrintSettings settings_; @@ -169,12 +164,6 @@ class PrintedDocument : public base::RefCountedThreadSafe<PrintedDocument> { // URL that generated this document. Immutable. GURL url_; - // The date on which this job started. Immutable. - string16 date_; - - // The time at which this job started. Immutable. - string16 time_; - // Cookie to uniquely identify this document. It is used to make sure that a // PrintedPage is correctly belonging to the PrintedDocument. Since // PrintedPage generation is completely asynchronous, it could be easy to @@ -184,23 +173,6 @@ class PrintedDocument : public base::RefCountedThreadSafe<PrintedDocument> { int cookie_; }; - // Prints the headers and footers for one page in the specified context - // according to the current settings. - void PrintHeaderFooter(gfx::NativeDrawingContext context, - const PrintedPage& page, - PageOverlays::HorizontalPosition x, - PageOverlays::VerticalPosition y, - const gfx::Font& font) const; - - // Draws the computed |text| into |context| taking into account the bounding - // region |bounds|. |bounds| is the position in which to draw |text| and - // the minimum area needed to contain |text| which may not be larger than the - // header or footer itself. - // TODO(jhawkins): string16. - void DrawHeaderFooter(gfx::NativeDrawingContext context, - std::wstring text, - gfx::Rect bounds) const; - void DebugDump(const PrintedPage& page); // All writable data member access must be guarded by this lock. Needs to be |