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

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

Issue 2524143003: Print Preview: Add option to rasterize PDFs and add JPEG compression. (Closed)
Patch Set: Clean up JS Created 3 years, 12 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 #if BUILDFLAG(ENABLE_PLUGINS) 163 #if BUILDFLAG(ENABLE_PLUGINS)
164 // Prefer HTML content by hiding Flash from the list of plugins. 164 // Prefer HTML content by hiding Flash from the list of plugins.
165 // https://crbug.com/626728 165 // https://crbug.com/626728
166 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", 166 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins",
167 base::FEATURE_DISABLED_BY_DEFAULT}; 167 base::FEATURE_DISABLED_BY_DEFAULT};
168 #endif 168 #endif
169 169
170 // Enables the Print Scaling feature in print preview. 170 // Enables the Print Scaling feature in print preview.
171 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) 171 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
172 const base::Feature kPrintPdfAsImage{"PrintPdfAsImage",
173 base::FEATURE_DISABLED_BY_DEFAULT};
174
172 const base::Feature kPrintScaling{"PrintScaling", 175 const base::Feature kPrintScaling{"PrintScaling",
173 base::FEATURE_DISABLED_BY_DEFAULT}; 176 base::FEATURE_DISABLED_BY_DEFAULT};
174 #endif 177 #endif
175 178
176 // Enables or disables push subscriptions keeping Chrome running in the 179 // Enables or disables push subscriptions keeping Chrome running in the
177 // background when closed. 180 // background when closed.
178 const base::Feature kPushMessagingBackgroundMode{ 181 const base::Feature kPushMessagingBackgroundMode{
179 "PushMessagingBackgroundMode", base::FEATURE_DISABLED_BY_DEFAULT}; 182 "PushMessagingBackgroundMode", base::FEATURE_DISABLED_BY_DEFAULT};
180 183
181 #if defined(OS_CHROMEOS) 184 #if defined(OS_CHROMEOS)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. 234 // Enables or disables emoji, handwriting and voice input on opt-in IME menu.
232 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 235 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
233 base::FEATURE_DISABLED_BY_DEFAULT}; 236 base::FEATURE_DISABLED_BY_DEFAULT};
234 237
235 // Enables or disables flash component updates on Chrome OS. 238 // Enables or disables flash component updates on Chrome OS.
236 const base::Feature kCrosCompUpdates{"CrosCompUpdates", 239 const base::Feature kCrosCompUpdates{"CrosCompUpdates",
237 base::FEATURE_DISABLED_BY_DEFAULT}; 240 base::FEATURE_DISABLED_BY_DEFAULT};
238 #endif // defined(OS_CHROMEOS) 241 #endif // defined(OS_CHROMEOS)
239 242
240 } // namespace features 243 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698