diff options
author | raymes <raymes@chromium.org> | 2015-02-08 18:36:13 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-09 02:36:36 +0000 |
commit | 8a9c0f30c6a73cc644da0a1a736f6bb0e6fd81b5 (patch) | |
tree | c17e6f8eb2fb851191f1d2e1180565170a183b50 /pdf/pdf_engine.h | |
parent | 8533a5153222d72c6f5485581663db13f285bfaf (diff) | |
download | chromium_src-8a9c0f30c6a73cc644da0a1a736f6bb0e6fd81b5.zip chromium_src-8a9c0f30c6a73cc644da0a1a736f6bb0e6fd81b5.tar.gz chromium_src-8a9c0f30c6a73cc644da0a1a736f6bb0e6fd81b5.tar.bz2 |
Make the PDF viewer background color a property of the instance.
This simplifies how the background color is set and makes it work for
print preview.
BUG= 456621
Review URL: https://codereview.chromium.org/874663006
Cr-Commit-Position: refs/heads/master@{#315256}
Diffstat (limited to 'pdf/pdf_engine.h')
-rw-r--r-- | pdf/pdf_engine.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h index e843459..befb1b8 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. |