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

Side by Side Diff: pdf/pdfium/pdfium_engine.h

Issue 814573004: Fix for Multipage selection by dragging mouse in OOP case in PDF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nit. Created 5 years, 10 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 pp::ImageData* image_data, 416 pp::ImageData* image_data,
417 void** region, 417 void** region,
418 int* stride) const; 418 int* stride) const;
419 419
420 // Called when the selection changes. 420 // Called when the selection changes.
421 void OnSelectionChanged(); 421 void OnSelectionChanged();
422 422
423 // Common code shared by RotateClockwise() and RotateCounterclockwise(). 423 // Common code shared by RotateClockwise() and RotateCounterclockwise().
424 void RotateInternal(); 424 void RotateInternal();
425 425
426 // Setting selection status of document.
427 void SetSelecting(bool selecting);
428
426 // FPDF_FORMFILLINFO callbacks. 429 // FPDF_FORMFILLINFO callbacks.
427 static void Form_Invalidate(FPDF_FORMFILLINFO* param, 430 static void Form_Invalidate(FPDF_FORMFILLINFO* param,
428 FPDF_PAGE page, 431 FPDF_PAGE page,
429 double left, 432 double left,
430 double top, 433 double top,
431 double right, 434 double right,
432 double bottom); 435 double bottom);
433 static void Form_OutputSelectedRect(FPDF_FORMFILLINFO* param, 436 static void Form_OutputSelectedRect(FPDF_FORMFILLINFO* param,
434 FPDF_PAGE page, 437 FPDF_PAGE page,
435 double left, 438 double left,
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 750
748 // See the definition of GetPDFPageSizeByIndex in pdf.cc for details. 751 // See the definition of GetPDFPageSizeByIndex in pdf.cc for details.
749 virtual bool GetPDFPageSizeByIndex(const void* pdf_buffer, 752 virtual bool GetPDFPageSizeByIndex(const void* pdf_buffer,
750 int pdf_buffer_size, int page_number, 753 int pdf_buffer_size, int page_number,
751 double* width, double* height); 754 double* width, double* height);
752 }; 755 };
753 756
754 } // namespace chrome_pdf 757 } // namespace chrome_pdf
755 758
756 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ 759 #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