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

Unified Diff: headless/lib/renderer/headless_print_web_view_helper_delegate.cc

Issue 2829973002: add customized printing setting for headless (Closed)
Patch Set: add skia as public_deps instead Created 3 years, 7 months 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: headless/lib/renderer/headless_print_web_view_helper_delegate.cc
diff --git a/headless/lib/renderer/headless_print_web_view_helper_delegate.cc b/headless/lib/renderer/headless_print_web_view_helper_delegate.cc
index 8afe740fe09479b826934e8b5cfe72667b7299eb..4d78ea29b703e82f577078caf1676bd3c90a7465 100644
--- a/headless/lib/renderer/headless_print_web_view_helper_delegate.cc
+++ b/headless/lib/renderer/headless_print_web_view_helper_delegate.cc
@@ -32,7 +32,7 @@ bool HeadlessPrintWebViewHelperDelegate::OverridePrint(
}
bool HeadlessPrintWebViewHelperDelegate::IsAskPrintSettingsEnabled() {
- return false;
+ return true;
}
#if defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698