summaryrefslogtreecommitdiffstats
path: root/printing/metafile.h
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-02 16:44:20 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-02 16:44:20 +0000
commit534c4fb35c8c195c6d82e7e12ac303397e796825 (patch)
tree1bfdb823901de172173b19f58b0aab493e1bb932 /printing/metafile.h
parent1c78d786e3889ca1b783ab31ac3a16449e718f6f (diff)
downloadchromium_src-534c4fb35c8c195c6d82e7e12ac303397e796825.zip
chromium_src-534c4fb35c8c195c6d82e7e12ac303397e796825.tar.gz
chromium_src-534c4fb35c8c195c6d82e7e12ac303397e796825.tar.bz2
PrintPreview: Remove |page_number| from StartPageForVectorCanvas function and |page_slot| from PrintMsg_PrintPage_Params.
We will not add preview pages to the complete metafile in out of order fashion. BUG=none TEST=print preview works after code changes. Review URL: http://codereview.chromium.org/7549001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/metafile.h')
-rw-r--r--printing/metafile.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/printing/metafile.h b/printing/metafile.h
index dbb838c..84c0556 100644
--- a/printing/metafile.h
+++ b/printing/metafile.h
@@ -53,9 +53,8 @@ class Metafile {
// This method calls StartPage and then returns an appropriate
// VectorPlatformDevice implementation bound to the context created by
- // StartPage or NULL on error. |page_number| is zero based.
+ // StartPage or NULL on error.
virtual SkDevice* StartPageForVectorCanvas(
- int page_number,
const gfx::Size& page_size,
const gfx::Rect& content_area,
const float& scale_factor) = 0;