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

Unified Diff: pdf/pdf_engine.h

Issue 874663006: Make the PDF viewer background color a property of the instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 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 e8434595ddb5edd0202329404cd26839d433611f..befb1b82cf04951f62f35f6b08c5c08527f2c4f8 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -173,6 +173,9 @@ class PDFEngine {
// Returns true if the plugin has been opened within print preview.
virtual bool IsPrintPreview() = 0;
+
+ // Get the background color of the PDF.
+ virtual uint32 GetBackgroundColor() = 0;
};
// Factory method to create an instance of the PDF Engine.
@@ -246,11 +249,6 @@ class PDFEngine {
// Returns number of copies to be printed.
virtual int GetCopiesToPrint() = 0;
- // Retrieve the background color of the PDF viewer.
- virtual uint32 GetBackgroundColor() = 0;
- // Set the background color of the PDF viewer.
- virtual void SetBackgroundColor(uint32 background_color) = 0;
-
// Returns a VarArray of Bookmarks, each a VarDictionary containing the
// following key/values:
// - "title" - a string Var.
« 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