summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing/print_view_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/printing/print_view_manager.h')
-rw-r--r--chrome/browser/printing/print_view_manager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/printing/print_view_manager.h b/chrome/browser/printing/print_view_manager.h
index 3cd0272..405b180 100644
--- a/chrome/browser/printing/print_view_manager.h
+++ b/chrome/browser/printing/print_view_manager.h
@@ -5,13 +5,12 @@
#ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_
#define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_
-#include "base/ref_counted.h"
#include "chrome/browser/printing/printed_pages_source.h"
#include "chrome/common/notification_observer.h"
+#include "chrome/common/render_messages.h"
class RenderViewHost;
class WebContents;
-struct ViewHostMsg_DidPrintPage_Params;
namespace printing {
@@ -119,6 +118,9 @@ class PrintViewManager : public NotificationObserver,
// print_job_ is initialized.
bool OpportunisticallyCreatePrintJob(int cookie);
+ // Cache the last print settings requested to the renderer.
+ ViewMsg_Print_Params print_params_;
+
// Manages the low-level talk to the printer.
scoped_refptr<PrintJob> print_job_;