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

Unified Diff: chrome/renderer/print_web_view_helper.h

Issue 11818062: Adds option to enable CSS backgrounds for printing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge with trunk. Created 7 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 | « chrome/common/print_messages.cc ('k') | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/print_web_view_helper.h
diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h
index 53bfbf904b88789acfe797d5f7f83af04c424011..440a286b47dec2be790bab1325503e89d131c294 100644
--- a/chrome/renderer/print_web_view_helper.h
+++ b/chrome/renderer/print_web_view_helper.h
@@ -77,6 +77,7 @@ class PrepareFrameAndViewForPrint {
int expected_pages_count_;
bool use_browser_overlays_;
bool finished_;
+ bool should_print_backgrounds_;
DISALLOW_COPY_AND_ASSIGN(PrepareFrameAndViewForPrint);
};
@@ -234,9 +235,9 @@ class PrintWebViewHelper
const WebKit::WebNode& node,
scoped_ptr<PrepareFrameAndViewForPrint>* prepare);
- // Update the current print settings with new |job_settings|. |job_settings|
- // dictionary contains print job details such as printer name, number of
- // copies, page range, etc.
+ // Update the current print settings with new |passed_job_settings|.
+ // |passed_job_settings| dictionary contains print job details such as printer
+ // name, number of copies, page range, etc.
bool UpdatePrintSettings(WebKit::WebFrame* frame,
const WebKit::WebNode& node,
const base::DictionaryValue& passed_job_settings);
« no previous file with comments | « chrome/common/print_messages.cc ('k') | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698