1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23

pdf / pdf_ink_constants.h [blame]

// 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_