Verify that gin_shell and hello_world.js exist.
[chromium-blink-merge.git] / printing / pwg_raster_settings.h
blobdc87b93738ac67b1dadbb7e6f040d856e360dc52
1 // Copyright 2014 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.
5 #ifndef PRINTING_BITMAP_TRANSFORM_SETTINGS_H_
6 #define PRINTING_BITMAP_TRANSFORM_SETTINGS_H_
8 #include "base/tuple.h"
9 #include "ipc/ipc_param_traits.h"
10 #include "printing/printing_export.h"
11 #include "ui/gfx/rect.h"
13 namespace printing {
15 enum PwgRasterTransformType {
16 TRANSFORM_NORMAL,
17 TRANSFORM_ROTATE_180,
18 TRANSFORM_FLIP_HORIZONTAL,
19 TRANSFORM_FLIP_VERTICAL
22 struct PwgRasterSettings {
23 // How to transform odd-numbered pages.
24 PwgRasterTransformType odd_page_transform;
25 // Rotate all pages (on top of odd-numbered page transform).
26 bool rotate_all_pages;
27 // Rasterize pages in reverse order.
28 bool reverse_page_order;
31 } // namespace printing
33 #endif // PRINTING_BITMAP_TRANSFORM_SETTINGS_H_