summaryrefslogtreecommitdiffstats
path: root/pdf/preview_mode_client.h
diff options
context:
space:
mode:
authorraymes <raymes@chromium.org>2015-02-08 18:36:13 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-09 02:36:36 +0000
commit8a9c0f30c6a73cc644da0a1a736f6bb0e6fd81b5 (patch)
treec17e6f8eb2fb851191f1d2e1180565170a183b50 /pdf/preview_mode_client.h
parent8533a5153222d72c6f5485581663db13f285bfaf (diff)
downloadchromium_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/preview_mode_client.h')
-rw-r--r--pdf/preview_mode_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/preview_mode_client.h b/pdf/preview_mode_client.h
index 0e766f9..a6e6467 100644
--- a/pdf/preview_mode_client.h
+++ b/pdf/preview_mode_client.h
@@ -67,6 +67,7 @@ class PreviewModeClient : public PDFEngine::Client {
virtual void DocumentLoadProgress(uint32 available, uint32 doc_size);
virtual void FormTextFieldFocusChange(bool in_focus);
virtual bool IsPrintPreview();
+ virtual uint32 GetBackgroundColor();
private:
Client* client_;