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

Side by Side Diff: chrome/common/chrome_features.cc

Issue 2633573002: Add Postscript Printing (Closed)
Patch Set: Fix Linux compile error Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_features.h" 5 #include "chrome/common/chrome_features.h"
6 6
7 #include "extensions/features/features.h" 7 #include "extensions/features/features.h"
8 #include "ppapi/features/features.h" 8 #include "ppapi/features/features.h"
9 9
10 namespace features { 10 namespace features {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 "NTPOfflinePageDownloadSuggestions", base::FEATURE_ENABLED_BY_DEFAULT}; 153 "NTPOfflinePageDownloadSuggestions", base::FEATURE_ENABLED_BY_DEFAULT};
154 154
155 // Enables YouTube Flash videos to be overridden. 155 // Enables YouTube Flash videos to be overridden.
156 const base::Feature kOverrideYouTubeFlashEmbed{ 156 const base::Feature kOverrideYouTubeFlashEmbed{
157 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT}; 157 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT};
158 158
159 // Enables Permissions Blacklisting via Safe Browsing. 159 // Enables Permissions Blacklisting via Safe Browsing.
160 const base::Feature kPermissionsBlacklist{ 160 const base::Feature kPermissionsBlacklist{
161 "PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT}; 161 "PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT};
162 162
163 // Enables postscript generation instead of emf when printing to postscript
164 // capable printers.
165 #if defined(OS_WIN)
166 const base::Feature kPostScriptPrinting{"PostScriptPrinting",
167 base::FEATURE_DISABLED_BY_DEFAULT};
168 #endif // OS_WIN
169
163 #if BUILDFLAG(ENABLE_PLUGINS) 170 #if BUILDFLAG(ENABLE_PLUGINS)
164 // Prefer HTML content by hiding Flash from the list of plugins. 171 // Prefer HTML content by hiding Flash from the list of plugins.
165 // https://crbug.com/626728 172 // https://crbug.com/626728
166 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", 173 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins",
167 base::FEATURE_DISABLED_BY_DEFAULT}; 174 base::FEATURE_DISABLED_BY_DEFAULT};
168 #endif 175 #endif
169 176
170 // Enables the Print Scaling feature in print preview. 177 // Enables the Print Scaling feature in print preview.
171 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) 178 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
172 const base::Feature kPrintPdfAsImage{"PrintPdfAsImage", 179 const base::Feature kPrintPdfAsImage{"PrintPdfAsImage",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. 241 // Enables or disables emoji, handwriting and voice input on opt-in IME menu.
235 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 242 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
236 base::FEATURE_ENABLED_BY_DEFAULT}; 243 base::FEATURE_ENABLED_BY_DEFAULT};
237 244
238 // Enables or disables flash component updates on Chrome OS. 245 // Enables or disables flash component updates on Chrome OS.
239 const base::Feature kCrosCompUpdates{"CrosCompUpdates", 246 const base::Feature kCrosCompUpdates{"CrosCompUpdates",
240 base::FEATURE_DISABLED_BY_DEFAULT}; 247 base::FEATURE_DISABLED_BY_DEFAULT};
241 #endif // defined(OS_CHROMEOS) 248 #endif // defined(OS_CHROMEOS)
242 249
243 } // namespace features 250 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698