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

Unified Diff: chrome/renderer/mock_printer.h

Issue 7544018: Print preview page selection should not require a rerendering of draft pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments Created 9 years, 4 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/renderer/mock_printer.h
diff --git a/chrome/renderer/mock_printer.h b/chrome/renderer/mock_printer.h
index 1c2994cdb7a8a7cbdfe491c5d9f60c3df745ce14..09fc46666f538ae3a12f1dac6b9e78d10c7a0bd8 100644
--- a/chrome/renderer/mock_printer.h
+++ b/chrome/renderer/mock_printer.h
@@ -75,7 +75,8 @@ class MockPrinter {
int expected_pages_count,
bool has_selection,
PrintMsg_PrintPages_Params* settings);
- void UpdateSettings(int cookie, PrintMsg_PrintPages_Params* params);
+ void UpdateSettings(int cookie, PrintMsg_PrintPages_Params* params,
+ const std::vector<int>& page_range_array);
void SetPrintedPagesCount(int cookie, int number_pages);
void PrintPage(const PrintHostMsg_DidPrintPage_Params& params);

Powered by Google App Engine
This is Rietveld 408576698