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

Unified Diff: pdf/pdf_engine.h

Issue 2349753003: Improve linearized pdf load/show time. (Closed)
Patch Set: Fix review issues. 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
Index: pdf/pdf_engine.h
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h
index 4d17a403b184ebfa856c76a384a5f9de49319e6f..fec99128b9651bc6d60291f189f37ac4893a2669 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -183,6 +183,8 @@ class PDFEngine {
// Get the background color of the PDF.
virtual uint32_t GetBackgroundColor() = 0;
+ virtual void CancelBrowserDownload() = 0;
Lei Zhang 2016/10/21 09:33:09 Document please.
snake 2016/10/21 15:13:15 Done.
+
// Sets selection status.
virtual void IsSelectingChanged(bool is_selecting) {}
};
@@ -295,8 +297,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;
};

Powered by Google App Engine
This is Rietveld 408576698