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

Unified Diff: chrome/renderer/mock_printer.h

Issue 10168013: [Print Preview] Modified PrepareFrameAndViewPrint class to call the new printBegin function to supp… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 8 years, 8 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 d75129e0801a3104894d60145ea4bc11293cb239..8d503afa4cd879addefa9bc820650bf2ff52410f 100644
--- a/chrome/renderer/mock_printer.h
+++ b/chrome/renderer/mock_printer.h
@@ -14,6 +14,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
#include "printing/image.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintScalingOption.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/size.h"
@@ -144,7 +145,7 @@ class MockPrinter {
int preview_request_id_;
// True if we want to fit the html/pdf source to paper size.
vandebo (ex-Chrome) 2012/04/23 21:42:19 nit: Update the comment, true doesn't make sense a
kmadhusu 2012/05/11 21:36:02 Done.
- bool fit_to_paper_size_;
+ WebKit::WebPrintScalingOption print_scaling_option_;
// Used for displaying headers and footers.
bool display_header_footer_;

Powered by Google App Engine
This is Rietveld 408576698