diff options
author | palmer <palmer@chromium.org> | 2014-11-07 13:38:09 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-07 21:38:26 +0000 |
commit | bfe0fce99e0da81fd9f07bd4cc4e6587cc342046 (patch) | |
tree | fc8c411375e9de6d366c76d3c8532d452bbf6fed /chrome/common/pref_names.h | |
parent | e37f822491958dc21dc4dbaf94432d28f759b51d (diff) | |
download | chromium_src-bfe0fce99e0da81fd9f07bd4cc4e6587cc342046.zip chromium_src-bfe0fce99e0da81fd9f07bd4cc4e6587cc342046.tar.gz chromium_src-bfe0fce99e0da81fd9f07bd4cc4e6587cc342046.tar.bz2 |
Add option to open PDFs in system viewer to OS X and Linux.
Not just Windows.
BUG=370746
TEST=With a fresh profile, download a PDF. In the Download Shelf, select
Always Open With System Viewer. Check that subsequent downloads of PDFs
launch the system PDF viewer. (On Corp Macs, that is defined to be
Chrome; change it to Preview.app.)
Review URL: https://codereview.chromium.org/665163005
Cr-Commit-Position: refs/heads/master@{#303298}
Diffstat (limited to 'chrome/common/pref_names.h')
-rw-r--r-- | chrome/common/pref_names.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 4ba1c7e..01a0089 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -486,8 +486,9 @@ extern const char kMemoryCacheSize[]; extern const char kDownloadDefaultDirectory[]; extern const char kDownloadExtensionsToOpen[]; extern const char kDownloadDirUpgraded[]; -#if defined(OS_WIN) -extern const char kOpenPdfDownloadInAdobeReader[]; +#if defined(OS_WIN) || defined(OS_LINUX) || \ + (defined(OS_MACOSX) && !defined(OS_IOS)) +extern const char kOpenPdfDownloadInSystemReader[]; #endif extern const char kSaveFileDefaultDirectory[]; |