Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PRINTING_PDF_RENDER_SETTINGS_H_ | |
| 6 #define PRINTING_PDF_RENDER_SETTINGS_H_ | |
| 7 | |
| 8 #include "base/tuple.h" | |
| 9 #include "printing/printing_export.h" | |
| 10 #include "ui/gfx/rect.h" | |
| 11 | |
| 12 namespace printing { | |
| 13 | |
| 14 // Defining PDF rendering settings here as a Tuple3 as following: | |
| 15 // gfx::Rect - render area | |
| 16 // int - render dpi | |
| 17 // bool - autorotate pages to fit paper | |
| 18 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
| |
| 19 | |
| 20 } // namespace printing | |
| 21 | |
| 22 #endif // PRINTING_PDF_RENDER_SETTINGS_H_ | |
| 23 | |
| OLD | NEW |