Chromium Code Reviews| Index: printing/printing_context.h |
| diff --git a/printing/printing_context.h b/printing/printing_context.h |
| index 6d51f0209c3de41c931378c37ec49f1d61118603..33c7ed6d9f092169e307880229715fdc87eaa86c 100644 |
| --- a/printing/printing_context.h |
| +++ b/printing/printing_context.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2010 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. |
| @@ -13,6 +13,8 @@ |
| #include "printing/print_settings.h" |
| #include "ui/gfx/native_widget_types.h" |
| +class DictionaryValue; |
| + |
| namespace printing { |
| // An abstraction of a printer context, implemented by objects that describe the |
| @@ -50,6 +52,10 @@ class PrintingContext { |
| // Initializes with predefined settings. |
| virtual Result InitWithSettings(const PrintSettings& settings) = 0; |
| + // Update print settings. |
| + virtual Result UpdatePrintSettings(const DictionaryValue* job_settings, |
|
Lei Zhang
2011/02/18 05:21:42
Why do you have |job_settings| that's unused in al
kmadhusu
2011/02/21 01:30:26
Removed that argument.
|
| + const PageRanges& ranges) = 0; |
| + |
| // Does platform specific setup of the printer before the printing. Signal the |
| // printer that a document is about to be spooled. |
| // Warning: This function enters a message loop. That may cause side effects |