pdf_child_init.h 475 B

1234567891011121314151617
  1. // Copyright 2015 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.
  4. #ifndef CHROME_CHILD_PDF_CHILD_INIT_H_
  5. #define CHROME_CHILD_PDF_CHILD_INIT_H_
  6. #include "pdf/buildflags.h"
  7. #if !BUILDFLAG(ENABLE_PDF)
  8. #error "PDF must be enabled"
  9. #endif
  10. // Possibly patches GDI's `GetFontData()` for use by PDFium.
  11. void MaybePatchGdiGetFontData();
  12. #endif // CHROME_CHILD_PDF_CHILD_INIT_H_