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

Unified Diff: pdf/pdf_engine.h

Issue 871403005: Switch the background color in PDF Viewer when using Material Design (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initialise background color to 0. Created 5 years, 11 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 884daab24aa0fc0c05ca4bb5522be15dff33c432..e8434595ddb5edd0202329404cd26839d433611f 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.
« 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