summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/mock_printer.h
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-11 17:44:19 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-11 17:44:19 +0000
commit81ac4a3fd428d19ec78072b8614a354cf0cc5c18 (patch)
tree8163015984f450fd5be6680f3805944d3534cc2f /chrome/renderer/mock_printer.h
parent519140983be01363138a1766d05fd5ff34bad34c (diff)
downloadchromium_src-81ac4a3fd428d19ec78072b8614a354cf0cc5c18.zip
chromium_src-81ac4a3fd428d19ec78072b8614a354cf0cc5c18.tar.gz
chromium_src-81ac4a3fd428d19ec78072b8614a354cf0cc5c18.tar.bz2
Revert 96406 - Print preview page selection should not require a rerendering of draft pages.
On page selection, regenerate the complete document with the selection, but preserve the existing draft pages and simply display a subset of them. 1. Added a new param |clear all preview data| to |PrintHostMsg_DidGetPreviewPageCount|. 2. Removed |requested_preview_page_index| from |PrintMsg_ContinuePreview| BUG=84383 TEST=print preview works after code changes. Review URL: http://codereview.chromium.org/7544018 TBR=kmadhusu@chromium.org Review URL: http://codereview.chromium.org/7618014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/mock_printer.h')
-rw-r--r--chrome/renderer/mock_printer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/renderer/mock_printer.h b/chrome/renderer/mock_printer.h
index 09fc466..1c2994c 100644
--- a/chrome/renderer/mock_printer.h
+++ b/chrome/renderer/mock_printer.h
@@ -75,8 +75,7 @@ class MockPrinter {
int expected_pages_count,
bool has_selection,
PrintMsg_PrintPages_Params* settings);
- void UpdateSettings(int cookie, PrintMsg_PrintPages_Params* params,
- const std::vector<int>& page_range_array);
+ void UpdateSettings(int cookie, PrintMsg_PrintPages_Params* params);
void SetPrintedPagesCount(int cookie, int number_pages);
void PrintPage(const PrintHostMsg_DidPrintPage_Params& params);