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

Unified Diff: content/browser/renderer_host/render_view_host.h

Issue 6533006: Print Preview: Hook up the print button to initiate printing without displaying a print dialog. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix build errors 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
Index: content/browser/renderer_host/render_view_host.h
diff --git a/content/browser/renderer_host/render_view_host.h b/content/browser/renderer_host/render_view_host.h
index cc3bfacac8fe5aa5a76f6fe00120b2b552e97818..bf365262ec0d1eac15607fc68a2d5171ee5e58c0 100644
--- a/content/browser/renderer_host/render_view_host.h
+++ b/content/browser/renderer_host/render_view_host.h
@@ -28,6 +28,7 @@
#include "webkit/glue/window_open_disposition.h"
class ChildProcessSecurityPolicy;
+class DictionaryValue;
class FilePath;
class GURL;
class ListValue;
@@ -328,8 +329,9 @@ class RenderViewHost : public RenderWidgetHost {
// Prints the node that's under the context menu.
void PrintNodeUnderContextMenu();
- // Triggers printing of the preview PDF.
- void PrintForPrintPreview();
+ // Triggers printing of the preview PDF. |job_settings| dictionary contains
+ // new print job settings information.
+ void PrintForPrintPreview(const DictionaryValue& job_settings);
// Copies the image at the specified point.
void CopyImageAt(int x, int y);

Powered by Google App Engine
This is Rietveld 408576698