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

Side by Side Diff: pdf/pdfium/pdfium_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 unified diff | Download patch
« no previous file with comments | « pdf/pdf_engine.h ('k') | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PDF_PDFIUM_PDFIUM_ENGINE_H_ 5 #ifndef PDF_PDFIUM_PDFIUM_ENGINE_H_
6 #define PDF_PDFIUM_PDFIUM_ENGINE_H_ 6 #define PDF_PDFIUM_PDFIUM_ENGINE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 virtual bool RenderPDFPageToBitmap(const void* pdf_buffer, 607 virtual bool RenderPDFPageToBitmap(const void* pdf_buffer,
608 int pdf_buffer_size, 608 int pdf_buffer_size,
609 int page_number, 609 int page_number,
610 const RenderingSettings& settings, 610 const RenderingSettings& settings,
611 void* bitmap_buffer); 611 void* bitmap_buffer);
612 612
613 virtual bool GetPDFDocInfo(const void* pdf_buffer, 613 virtual bool GetPDFDocInfo(const void* pdf_buffer,
614 int buffer_size, 614 int buffer_size,
615 int* page_count, 615 int* page_count,
616 double* max_page_width); 616 double* max_page_width);
617
618 // If false returned, the query failed; if true, it succeeded.
619 virtual bool GetPDFPageSizeByIndex(const void* pdf_buffer,
620 int buffer_size, int index,
621 double* width, double* height);
617 }; 622 };
618 623
619 } // namespace chrome_pdf 624 } // namespace chrome_pdf
620 625
621 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ 626 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_
OLDNEW
« no previous file with comments | « pdf/pdf_engine.h ('k') | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698