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

Side by Side Diff: printing/pdf_render_settings.h

Issue 8146004: Added autorotate flag in PDF rendering and wiring it through service-utility channel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698