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

Unified Diff: pdf/pdf_engine.h

Issue 2349753003: Improve linearized pdf load/show time. (Closed)
Patch Set: rebase Created 4 years, 2 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/out_of_process_instance.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 a394d0271f2d94af72b01fd70c48e7e49150425f..334e2cc5ed54674c69e9d7dd5e9b20c9c68e34a4 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -186,6 +186,9 @@ class PDFEngine {
// Get the background color of the PDF.
virtual uint32_t GetBackgroundColor() = 0;
+ // Cancel browser initiated document download.
+ virtual void CancelBrowserDownload() = 0;
+
// Sets selection status.
virtual void IsSelectingChanged(bool is_selecting) {}
};
@@ -298,8 +301,6 @@ class PDFEngine {
virtual void SetScrollPosition(const pp::Point& position) = 0;
#endif
- virtual bool IsProgressiveLoad() = 0;
-
virtual std::string GetMetadata(const std::string& key) = 0;
};
« no previous file with comments | « pdf/out_of_process_instance.cc ('k') | pdf/pdfium/pdfium_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698