| Index: printing/printing_context_mac.mm
|
| diff --git a/printing/printing_context_mac.mm b/printing/printing_context_mac.mm
|
| index 1826c493e6feb6719b8c1f9b34a7a9ccacde73e9..575875d9d90f6b4459930cac64adc838ef4a5cff 100644
|
| --- a/printing/printing_context_mac.mm
|
| +++ b/printing/printing_context_mac.mm
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -80,6 +80,19 @@ PrintingContext::Result PrintingContextMac::UseDefaultSettings() {
|
| return OK;
|
| }
|
|
|
| +PrintingContext::Result PrintingContextMac::UpdatePrintSettings(
|
| + const PageRanges& ranges) {
|
| + DCHECK(!in_print_job_);
|
| +
|
| + // TODO (kmadhusu): Update other print job settings such as number of copies,
|
| + // collate, etc.,
|
| +
|
| + // Update the print range information.
|
| + settings_.ranges = ranges;
|
| +
|
| + return OK;
|
| +}
|
| +
|
| void PrintingContextMac::ParsePrintInfo(NSPrintInfo* print_info) {
|
| ResetSettings();
|
| print_info_ = [print_info retain];
|
|
|