Index: printing/pdf_render_settings.h |
=================================================================== |
--- printing/pdf_render_settings.h (revision 0) |
+++ printing/pdf_render_settings.h (revision 0) |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef PRINTING_PDF_RENDER_SETTINGS_H_ |
+#define PRINTING_PDF_RENDER_SETTINGS_H_ |
+ |
+#include "base/tuple.h" |
+#include "printing/printing_export.h" |
+#include "ui/gfx/rect.h" |
+ |
+namespace printing { |
+ |
+// Defining PDF rendering settings here as a Tuple3 as following: |
+// gfx::Rect - render area |
+// int - render dpi |
+// bool - autorotate pages to fit paper |
+typedef Tuple3<gfx::Rect, int, bool> PdfRenderSettings; |
Lei Zhang
2011/10/05 20:36:19
How do you feel about making this a struct? That w
|
+ |
+} // namespace printing |
+ |
+#endif // PRINTING_PDF_RENDER_SETTINGS_H_ |
+ |