910e62b5创建于 1月15日历史提交
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef PDF_PDF_INK_CONSTANTS_H_
#define PDF_PDF_INK_CONSTANTS_H_

namespace chrome_pdf {

// Constants used by Ink that are not associated with any particular class.

// Signature for "V2" PDF page objects. Do not change.
inline constexpr char kInkAnnotationIdentifierKeyV2[] = "GOOG:INKIsInker";

// Since PDFium does not support UserUnit, this is the maximum possible PDF
// dimension.
// TODO(crbug.com/42271703): If the bug gets fixed, update the code that assumes
// this is the limit.
inline constexpr int kMaxPdfDimensionInches = 200;

}  // namespace chrome_pdf

#endif  // PDF_PDF_INK_CONSTANTS_H_