| Index: printing/printing_context.h
|
| diff --git a/printing/printing_context.h b/printing/printing_context.h
|
| index 0cc4731a19e98169d44b25ad235810dcd0d34818..47148bd4e43a7a5c56accf21ec97d840e514ab1a 100644
|
| --- a/printing/printing_context.h
|
| +++ b/printing/printing_context.h
|
| @@ -38,11 +38,12 @@ class PRINTING_EXPORT PrintingContext {
|
| virtual std::string GetAppLocale() = 0;
|
| };
|
|
|
| - // Tri-state result for user behavior-dependent functions.
|
| + // Result for user behavior-dependent functions.
|
| enum Result {
|
| OK,
|
| CANCEL,
|
| FAILED,
|
| + SYSTEM_DIALOG_DONE,
|
| };
|
|
|
| virtual ~PrintingContext();
|
| @@ -55,8 +56,10 @@ class PRINTING_EXPORT PrintingContext {
|
| // context with the select device settings. The result of the call is returned
|
| // in the callback. This is necessary for Linux, which only has an
|
| // asynchronous printing API.
|
| + // TODO: doc
|
| virtual void AskUserForSettings(int max_pages,
|
| bool has_selection,
|
| + bool is_scripted,
|
| const PrintSettingsCallback& callback) = 0;
|
|
|
| // Selects the user's default printer and format. Updates the context with the
|
|
|