diff options
-rw-r--r-- | chrome/renderer/printing/print_web_view_helper.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/printing/print_web_view_helper.cc b/chrome/renderer/printing/print_web_view_helper.cc index b5bca33..bf3e3c7 100644 --- a/chrome/renderer/printing/print_web_view_helper.cc +++ b/chrome/renderer/printing/print_web_view_helper.cc @@ -755,6 +755,9 @@ PrintWebViewHelper::~PrintWebViewHelper() {} bool PrintWebViewHelper::IsScriptInitiatedPrintAllowed( WebKit::WebFrame* frame, bool user_initiated) { +#if defined(OS_ANDROID) + return false; +#endif // defined(OS_ANDROID) if (is_scripted_printing_blocked_) return false; // If preview is enabled, then the print dialog is tab modal, and the user |