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"
11 class DictionaryValue
;
16 // Struct that holds margin and content area sizes of a page. Units are
17 // arbitrary and can be chosen by the programmer.
18 struct PageSizeMargins
{
20 double content_height
;
27 PRINTING_EXPORT
void GetCustomMarginsFromJobSettings(
28 const base::DictionaryValue
& settings
, PageSizeMargins
* page_size_margins
);
30 } // namespace printing
32 #endif // PRINTING_PAGE_SIZE_MARGINS_H_