Index: chrome/browser/renderer_host/render_message_filter.h |
diff --git a/chrome/browser/renderer_host/render_message_filter.h b/chrome/browser/renderer_host/render_message_filter.h |
index a0339de7b1570586c780068addb8096c1b7429c2..f59ca22a0fbe66632fbacc93da4950b20d8d2507 100644 |
--- a/chrome/browser/renderer_host/render_message_filter.h |
+++ b/chrome/browser/renderer_host/render_message_filter.h |
@@ -37,6 +37,7 @@ class NotificationsPrefsCache; |
class Profile; |
class RenderWidgetHelper; |
class URLRequestContextGetter; |
+class Value; |
struct ViewHostMsg_CreateWindow_Params; |
struct ViewHostMsg_CreateWorker_Params; |
@@ -272,6 +273,17 @@ class RenderMessageFilter : public BrowserMessageFilter, |
scoped_refptr<printing::PrinterQuery> printer_query, |
IPC::Message* reply_msg); |
+ // Get the current print settings right here synchronously. |
+ void OnGetCurrentPrintSettings(int document_cookie, IPC::Message* reply_msg); |
+ |
+ // Update current print settings with new |job_settings|. |
+ void OnUpdatePrintSettings(int document_cookie, |
+ const std::string& job_settings, |
+ IPC::Message* reply_msg); |
+ void OnUpdatePrintSettingsReply( |
+ scoped_refptr<printing::PrinterQuery> printer_query, |
+ IPC::Message* reply_msg); |
+ |
// A javascript code requested to print the current page. The renderer host |
// have to show to the user the print dialog and returns the selected print |
// settings. |