blob: 5b8b0c50a41d144f4c22b5f70e186e5e047a50c1 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_PRINT_PAGE_DESCRIPTION_H_
#define THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_PRINT_PAGE_DESCRIPTION_H_
#include "third_party/blink/public/common/css/page_orientation.h"
#include "third_party/blink/public/platform/web_double_size.h"
namespace blink {
// Description of a specific page when printing. All sizes are in pixels.
struct WebPrintPageDescription {
WebDoubleSize size;
int margin_top = 0;
int margin_right = 0;
int margin_bottom = 0;
int margin_left = 0;
PageOrientation orientation = PageOrientation::kUpright;
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_PRINT_PAGE_DESCRIPTION_H_