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

Unified Diff: chrome/common/chrome_switches.cc

Issue 6969091: Re-enable in-browser thumbnailing for Linux and Chrome OS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index d14ce1445d2ec7a4eaab6f9a60e5c249975615ee..705e08adc3fabb2e503f40aa8ad1f5b08b1f7459 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1179,8 +1179,13 @@ bool IsPrintPreviewEnabled() {
#endif
bool IsInBrowserThumbnailingEnabled() {
+#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+ // The in-browser-thumbnailing is enabled for Linux and Chrome OS.
+ return true;
+#else
return CommandLine::ForCurrentProcess()->HasSwitch(
kEnableInBrowserThumbnailing);
+#endif
}
// -----------------------------------------------------------------------------
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698