Index: pdf/pdf_engine.h |
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h |
index 884daab24aa0fc0c05ca4bb5522be15dff33c432..4f821324f6dd0c62efb3a5125d911062544e9ec0 100644 |
--- a/pdf/pdf_engine.h |
+++ b/pdf/pdf_engine.h |
@@ -32,6 +32,7 @@ class VarDictionary; |
} |
const uint32 kBackgroundColor = 0xFFCCCCCC; |
+const uint32 kBackgroundColorMaterial = 0xFFEEEEEE; |
Alexandre Carlton
2015/01/29 04:48:56
raymes@: I am hesitant to shift these two variable
|
namespace chrome_pdf { |
@@ -248,6 +249,11 @@ 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. |