summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'printing/printing_context_mac.h')
-rw-r--r--printing/printing_context_mac.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h
index 8e2ba7d..e87dfce 100644
--- a/printing/printing_context_mac.h
+++ b/printing/printing_context_mac.h
@@ -29,7 +29,8 @@ class PrintingContextMac : public PrintingContext {
bool has_selection,
PrintSettingsCallback* callback);
virtual Result UseDefaultSettings();
- virtual Result UpdatePrintSettings(const PageRanges& ranges);
+ virtual Result UpdatePrintSettings(const DictionaryValue* const job_settings,
+ const PageRanges& ranges);
virtual Result InitWithSettings(const PrintSettings& settings);
virtual Result NewDocument(const string16& document_name);
virtual Result NewPage();
@@ -43,6 +44,9 @@ class PrintingContextMac : public PrintingContext {
// Read the settings from the given NSPrintInfo (and cache it for later use).
void ParsePrintInfo(NSPrintInfo* print_info);
+ // Initializes PrintSettings from native print info object.
+ void InitPrintSettingsFromPrintInfo(const PageRanges& ranges);
+
// The native print info object.
scoped_nsobject<NSPrintInfo> print_info_;