Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: pdf/pdf_engine.h

Issue 335583004: Added a test that currently is able to print to pdf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made observer_ in UIDoneLoadingMessageHandler point to a constant address. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdf/pdf.cc ('k') | pdf/pdfium/pdfium_engine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdf_engine.h
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h
index ee1cb1ff000341f1f0569dc1d617de11ee1260f5..394791739195ecc3a8f4ce49b3028496fc21769c 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -312,6 +312,10 @@ class PDFEngineExports {
int buffer_size,
int* page_count,
double* max_page_width) = 0;
+
+ virtual bool GetPDFPageSizeByIndex(const void* pdf_buffer,
+ int buffer_size, int index,
+ double* width, double* height) = 0;
};
} // namespace chrome_pdf
« no previous file with comments | « pdf/pdf.cc ('k') | pdf/pdfium/pdfium_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698