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

Unified Diff: chrome/renderer/print_web_view_helper.cc

Issue 6874019: Enable PrintWebViewHelper::OnPrintForPrintPreview on all platforms. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/print_web_view_helper.cc
===================================================================
--- chrome/renderer/print_web_view_helper.cc (revision 81755)
+++ chrome/renderer/print_web_view_helper.cc (working copy)
@@ -166,7 +166,6 @@
void PrintWebViewHelper::OnPrintForPrintPreview(
const DictionaryValue& job_settings) {
DCHECK(is_preview_);
-#if defined(OS_MACOSX)
// If still not finished with earlier print request simply ignore.
if (print_web_view_)
return;
@@ -200,7 +199,6 @@
// Render Pages for printing.
RenderPagesForPrint(pdf_frame, &pdf_element);
-#endif
}
bool PrintWebViewHelper::GetPrintFrame(WebKit::WebFrame** frame) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698