diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 20:49:22 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 20:49:22 +0000 |
commit | 38e4681f3581fb269dd676cf77ee2a35cf8608c7 (patch) | |
tree | ba6a9c08b4d9ab20024dfb8eb6e16638db70311e /content | |
parent | 6ee3f2feb9c514246f67f967748943961b53b4f3 (diff) | |
download | chromium_src-38e4681f3581fb269dd676cf77ee2a35cf8608c7.zip chromium_src-38e4681f3581fb269dd676cf77ee2a35cf8608c7.tar.gz chromium_src-38e4681f3581fb269dd676cf77ee2a35cf8608c7.tar.bz2 |
Enable Print Preview by default for Google Chrome builds.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6928051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84672 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/renderer_host/browser_render_process_host.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/content/browser/renderer_host/browser_render_process_host.cc b/content/browser/renderer_host/browser_render_process_host.cc index 24ee38e..7222b09 100644 --- a/content/browser/renderer_host/browser_render_process_host.cc +++ b/content/browser/renderer_host/browser_render_process_host.cc @@ -537,6 +537,13 @@ void BrowserRenderProcessHost::PropagateBrowserCommandLineToRenderer( switches::kDisableJavaScriptI18NAPI, switches::kDisableLocalStorage, switches::kDisableLogging, +#if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) + // Enabled by default in Google Chrome builds, except on CrOS. + switches::kDisablePrintPreview, +#else + // Disabled by default in Chromium builds and on CrOS. + switches::kEnablePrintPreview, +#endif switches::kDisableSeccompSandbox, switches::kDisableSessionStorage, switches::kDisableSharedWorkers, @@ -560,7 +567,6 @@ void BrowserRenderProcessHost::PropagateBrowserCommandLineToRenderer( switches::kEnableP2PApi, #endif switches::kEnablePepperTesting, - switches::kEnablePrintPreview, switches::kEnableQuota, switches::kEnableRemoting, switches::kEnableResourceContentSettings, |