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

Unified Diff: chrome/browser/about_flags.cc

Issue 1419063002: Displaying "simplify page" on print preview by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding UI switch and commandline flag for disabling simplify print preview Created 5 years, 2 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: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index dedefdfb1248b6bd33cf4c2308e037119b660800..4ceb48f8b0078279f8739d4fa89b8f140b50e9fb 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1339,6 +1339,13 @@ const FeatureEntry kFeatureEntries[] = {
kOsDesktop,
SINGLE_VALUE_TYPE(switches::kEnablePrintPreviewRegisterPromos)},
#endif // ENABLE_SERVICE_DISCOVERY
+#if !defined(OS_ANDROID)
Vitaly Buka (NO REVIEWS) 2015/10/29 00:30:19 this should be #if defined(ENABLE_PRINT_PREVIEW)
mvendramini_hp 2015/10/29 11:57:17 Done.
+ {"disable-print-preview-simplify",
+ IDS_FLAGS_DISABLE_DISTILLER_IN_PRINT_PREVIEW_NAME,
+ IDS_FLAGS_DISABLE_DISTILLER_IN_PRINT_PREVIEW_DESCRIPTION,
+ kOsDesktop,
+ SINGLE_VALUE_TYPE(switches::kDisablePrintPreviewSimplify)},
+#endif
#if defined(OS_WIN)
{"enable-cloud-print-xps",
IDS_FLAGS_ENABLE_CLOUD_PRINT_XPS_NAME,

Powered by Google App Engine
This is Rietveld 408576698