1 // Copyright 2014 Samsung Electronics. 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 PRINT_PAGES_PARAMS_H_
6 #define PRINT_PAGES_PARAMS_H_
10 #include "base/files/file_path.h"
11 #include "base/memory/shared_memory.h"
12 #include "printing/printing_export.h"
13 #include "third_party/WebKit/public/web/WebPrintScalingOption.h"
14 #include "ui/gfx/geometry/rect.h"
15 #include "ui/gfx/geometry/size.h"
21 gfx::Size content_size;
22 gfx::Rect printable_area;
25 bool is_first_request;
27 blink::WebPrintScalingOption print_scaling_option;
31 // collection of printable pages
32 struct PrintPagesParams {
37 std::vector<int> pages;
41 struct PrintPageParams {
46 struct DidPrintPagesParams {
47 base::SharedMemoryHandle metafile_data_handle;
50 base::FilePath filename;
53 #endif // PRINT_PAGES_PARAMS_H_