Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4199)

Unified Diff: chrome/browser/printing/print_job_worker.h

Issue 740983002: Implement window.print() on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/printing/print_job_worker.h
diff --git a/chrome/browser/printing/print_job_worker.h b/chrome/browser/printing/print_job_worker.h
index a8378bb2353de2cd98746c087bfb5e02a595bba6..bd6a64247f6c01cb28b7f1e2dd6a327d475a9520 100644
--- a/chrome/browser/printing/print_job_worker.h
+++ b/chrome/browser/printing/print_job_worker.h
@@ -42,7 +42,7 @@ class PrintJobWorker {
// Initializes the print settings. If |ask_user_for_settings| is true, a
// Print... dialog box will be shown to ask the user his preference.
void GetSettings(
- bool ask_user_for_settings,
+ GetSettingsAskParam ask_user_for_settings,
int document_page_count,
bool has_selection,
MarginType margin_type);
@@ -54,6 +54,9 @@ class PrintJobWorker {
// available. Makes sure the new_document is the right one.
void StartPrinting(PrintedDocument* new_document);
+ // TODO DGN Doc
+ void ShowSystemDialog();
+
// Updates the printed document.
void OnDocumentChanged(PrintedDocument* new_document);

Powered by Google App Engine
This is Rietveld 408576698