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

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 6479004: Print Preview: Hook up the print button to initiate a normal print operation.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add a comment Created 9 years, 10 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/browser/renderer_host/render_view_host.h ('k') | chrome/browser/resources/print_preview.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_view_host.cc
===================================================================
--- chrome/browser/renderer_host/render_view_host.cc (revision 75293)
+++ chrome/browser/renderer_host/render_view_host.cc (working copy)
@@ -1263,6 +1263,10 @@
Send(new ViewMsg_PrintNodeUnderContextMenu(routing_id()));
}
+void RenderViewHost::PrintForPrintPreview() {
+ Send(new ViewMsg_PrintForPrintPreview(routing_id()));
+}
+
void RenderViewHost::OnMsgStartDragging(
const WebDropData& drop_data,
WebDragOperationsMask drag_operations_mask,
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/resources/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698