Roll src/third_party/WebKit 289def0:c9056fb (svn 201969:201970)
[chromium-blink-merge.git] / printing / page_size_margins.h
blob478730850a32cdd5e469962a0b9660d77c596556
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.
5 #ifndef PRINTING_PAGE_SIZE_MARGINS_H_
6 #define PRINTING_PAGE_SIZE_MARGINS_H_
8 #include "printing/printing_export.h"
10 namespace printing {
12 // Struct that holds margin and content area sizes of a page. Units are
13 // arbitrary and can be chosen by the programmer.
14 struct PageSizeMargins {
15 double content_width;
16 double content_height;
17 double margin_top;
18 double margin_right;
19 double margin_bottom;
20 double margin_left;
23 } // namespace printing
25 #endif // PRINTING_PAGE_SIZE_MARGINS_H_