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

Unified Diff: chrome/browser/printing/printer_query.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/printer_query.h
diff --git a/chrome/browser/printing/printer_query.h b/chrome/browser/printing/printer_query.h
index dcabfdd0d13cd1cf5073ac6c82a73207808c9924..80e5120ffa001a321203cda0dcaccbb10889568f 100644
--- a/chrome/browser/printing/printer_query.h
+++ b/chrome/browser/printing/printer_query.h
@@ -64,6 +64,8 @@ class PrinterQuery : public PrintJobWorkerOwner {
// Returns if a worker thread is still associated to this instance.
bool is_valid() const;
+ void SetInitiatedFromAndroidScript();
+
private:
~PrinterQuery() override;
@@ -81,6 +83,8 @@ class PrinterQuery : public PrintJobWorkerOwner {
// Is the Print... dialog box currently shown.
bool is_print_dialog_box_shown_;
+ bool is_initiated_from_android_scripted_print_;
+
// Cookie that make this instance unique.
int cookie_;

Powered by Google App Engine
This is Rietveld 408576698