diff options
author | alexandrec <alexandrec@chromium.org> | 2015-02-02 00:08:58 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-02 08:09:47 +0000 |
commit | 04594412237a169189b3bd2b2f35d51bab6a391d (patch) | |
tree | d5c5dffae92f6963f9034b1f5214d8f99f84768b /pdf/pdf_engine.h | |
parent | d4543dd10a297c4fb11c5a47d3e61701c7878918 (diff) | |
download | chromium_src-04594412237a169189b3bd2b2f35d51bab6a391d.zip chromium_src-04594412237a169189b3bd2b2f35d51bab6a391d.tar.gz chromium_src-04594412237a169189b3bd2b2f35d51bab6a391d.tar.bz2 |
Switch the background color in PDF Viewer when using Material Design
BUG=110020
Review URL: https://codereview.chromium.org/871403005
Cr-Commit-Position: refs/heads/master@{#314108}
Diffstat (limited to 'pdf/pdf_engine.h')
-rw-r--r-- | pdf/pdf_engine.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h index 884daab..e843459 100644 --- a/pdf/pdf_engine.h +++ b/pdf/pdf_engine.h @@ -31,8 +31,6 @@ class InputEvent; class VarDictionary; } -const uint32 kBackgroundColor = 0xFFCCCCCC; - namespace chrome_pdf { class Stream; @@ -248,6 +246,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. |