Index: printing/printing_context.h |
diff --git a/printing/printing_context.h b/printing/printing_context.h |
index 0cc4731a19e98169d44b25ad235810dcd0d34818..2f3d44b6c57101fbef3455e36df6063326baccfe 100644 |
--- a/printing/printing_context.h |
+++ b/printing/printing_context.h |
@@ -36,6 +36,9 @@ class PRINTING_EXPORT PrintingContext { |
// Returns application locale. |
virtual std::string GetAppLocale() = 0; |
+ |
+ // TODO Doc |
+ virtual void SetPendingPrint() = 0; |
}; |
// Tri-state result for user behavior-dependent functions. |
@@ -43,6 +46,7 @@ class PRINTING_EXPORT PrintingContext { |
OK, |
CANCEL, |
FAILED, |
+ SYSTEM_DIALOG_DONE, |
}; |
virtual ~PrintingContext(); |
@@ -51,6 +55,9 @@ class PRINTING_EXPORT PrintingContext { |
// print settings are available. |
typedef base::Callback<void(Result)> PrintSettingsCallback; |
+ // TODO DGN doc |
+ virtual void RequestSystemDialog(const PrintSettingsCallback& cb) = 0; |
+ |
// Asks the user what printer and format should be used to print. Updates the |
// 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 |