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

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

Issue 2257853003: Remove unused PDFEngine ScrollPosition getter/setter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 int start_char_index, 97 int start_char_index,
98 uint32_t* out_len, 98 uint32_t* out_len,
99 double* out_font_size, 99 double* out_font_size,
100 pp::FloatRect* out_bounds) override; 100 pp::FloatRect* out_bounds) override;
101 bool GetPrintScaling() override; 101 bool GetPrintScaling() override;
102 int GetCopiesToPrint() override; 102 int GetCopiesToPrint() override;
103 int GetDuplexType() override; 103 int GetDuplexType() override;
104 bool GetPageSizeAndUniformity(pp::Size* size) override; 104 bool GetPageSizeAndUniformity(pp::Size* size) override;
105 void AppendBlankPages(int num_pages) override; 105 void AppendBlankPages(int num_pages) override;
106 void AppendPage(PDFEngine* engine, int index) override; 106 void AppendPage(PDFEngine* engine, int index) override;
107 pp::Point GetScrollPosition() override;
108 void SetScrollPosition(const pp::Point& position) override;
109 bool IsProgressiveLoad() override; 107 bool IsProgressiveLoad() override;
110 std::string GetMetadata(const std::string& key) override; 108 std::string GetMetadata(const std::string& key) override;
111 109
112 // DocumentLoader::Client implementation. 110 // DocumentLoader::Client implementation.
113 pp::Instance* GetPluginInstance() override; 111 pp::Instance* GetPluginInstance() override;
114 pp::URLLoader CreateURLLoader() override; 112 pp::URLLoader CreateURLLoader() override;
115 void OnPartialDocumentLoaded() override; 113 void OnPartialDocumentLoaded() override;
116 void OnPendingRequestComplete() override; 114 void OnPendingRequestComplete() override;
117 void OnNewDataAvailable() override; 115 void OnNewDataAvailable() override;
118 void OnDocumentComplete() override; 116 void OnDocumentComplete() override;
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 bool GetPDFPageSizeByIndex(const void* pdf_buffer, 752 bool GetPDFPageSizeByIndex(const void* pdf_buffer,
755 int pdf_buffer_size, 753 int pdf_buffer_size,
756 int page_number, 754 int page_number,
757 double* width, 755 double* width,
758 double* height) override; 756 double* height) override;
759 }; 757 };
760 758
761 } // namespace chrome_pdf 759 } // namespace chrome_pdf
762 760
763 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ 761 #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