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

Side by Side 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: Refactored browser test and GetPDFPageSizeByIndex. Fixed style issues. 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
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_PDF_ENGINE_H_ 5 #ifndef PDF_PDF_ENGINE_H_
6 #define PDF_PDF_ENGINE_H_ 6 #define PDF_PDF_ENGINE_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // See the definition of RenderPDFPageToBitmap in pdf.cc for details. 305 // See the definition of RenderPDFPageToBitmap in pdf.cc for details.
306 virtual bool RenderPDFPageToBitmap(const void* pdf_buffer, 306 virtual bool RenderPDFPageToBitmap(const void* pdf_buffer,
307 int pdf_buffer_size, 307 int pdf_buffer_size,
308 int page_number, 308 int page_number,
309 const RenderingSettings& settings, 309 const RenderingSettings& settings,
310 void* bitmap_buffer) = 0; 310 void* bitmap_buffer) = 0;
311 virtual bool GetPDFDocInfo(const void* pdf_buffer, 311 virtual bool GetPDFDocInfo(const void* pdf_buffer,
312 int buffer_size, 312 int buffer_size,
313 int* page_count, 313 int* page_count,
314 double* max_page_width) = 0; 314 double* max_page_width) = 0;
315
Dan Beam 2014/07/08 04:25:14 what does the return value mean? that the call su
Dan Beam 2014/07/09 02:08:31 ping
316 virtual bool GetPDFPageSizeByIndex(const void* pdf_buffer,
317 int buffer_size, int index,
318 double* width, double* height) = 0;
315 }; 319 };
316 320
317 } // namespace chrome_pdf 321 } // namespace chrome_pdf
318 322
319 #endif // PDF_PDF_ENGINE_H_ 323 #endif // PDF_PDF_ENGINE_H_
OLDNEW
« pdf/pdf.cc ('K') | « pdf/pdf.cc ('k') | pdf/pdfium/pdfium_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698