Chromium Code Reviews| Index: printing/printing_context.h |
| diff --git a/printing/printing_context.h b/printing/printing_context.h |
| index 0cc4731a19e98169d44b25ad235810dcd0d34818..a2ad1a18dd5266ed61546cc8355032c801a43861 100644 |
| --- a/printing/printing_context.h |
| +++ b/printing/printing_context.h |
| @@ -38,7 +38,7 @@ class PRINTING_EXPORT PrintingContext { |
| virtual std::string GetAppLocale() = 0; |
| }; |
| - // Tri-state result for user behavior-dependent functions. |
| + // Result for user behavior-dependent functions. |
|
Vitaly Buka (NO REVIEWS)
2014/12/12 20:38:30
undo
|
| enum Result { |
| OK, |
| CANCEL, |
| @@ -55,8 +55,12 @@ 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. |
| + // On Android, when |is_scripted| is true, calling it initiates a full |
| + // printing flow from the framework's PrintManager. |
| + // (see https://codereview.chromium.org/740983002/) |
| 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 |