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

Unified Diff: chrome/renderer/print_web_view_helper.cc

Issue 6261025: Refactor win printing workflow to support print preview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 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/renderer/print_web_view_helper.h ('k') | chrome/renderer/print_web_view_helper_win.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.cc
diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc
index 4c7a02e980de2f71b68b045d9beb8be78783bfa0..51b5e73a564a6e9fe28f8bf938e82f3bb12cb8a2 100644
--- a/chrome/renderer/print_web_view_helper.cc
+++ b/chrome/renderer/print_web_view_helper.cc
@@ -510,12 +510,12 @@ void PrintWebViewHelper::RenderPagesForPreview(WebFrame *frame) {
Send(new ViewHostMsg_PagesReadyForPreview(routing_id(), preview_params));
}
-#if !defined(OS_MACOSX)
+#if defined(OS_LINUX)
void PrintWebViewHelper::CreatePreviewDocument(
const ViewMsg_PrintPages_Params& params,
WebFrame* frame,
ViewHostMsg_DidPreviewDocument_Params* preview_params) {
- // TODO(kmadhusu): Implement this function for windows & linux.
+ // TODO(kmadhusu): Implement this function for linux.
preview_params->document_cookie = params.params.document_cookie;
}
#endif
« no previous file with comments | « chrome/renderer/print_web_view_helper.h ('k') | chrome/renderer/print_web_view_helper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698