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

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

Issue 665163005: Add option to open PDFs in system viewer to OS X and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and add a TEST to the description. Created 6 years, 1 month 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1418 // renderer's in-memory cache of objects. 1418 // renderer's in-memory cache of objects.
1419 const char kMemoryCacheSize[] = "renderer.memory_cache.size"; 1419 const char kMemoryCacheSize[] = "renderer.memory_cache.size";
1420 1420
1421 // String which specifies where to download files to by default. 1421 // String which specifies where to download files to by default.
1422 const char kDownloadDefaultDirectory[] = "download.default_directory"; 1422 const char kDownloadDefaultDirectory[] = "download.default_directory";
1423 1423
1424 // Boolean that records if the download directory was changed by an 1424 // Boolean that records if the download directory was changed by an
1425 // upgrade a unsafe location to a safe location. 1425 // upgrade a unsafe location to a safe location.
1426 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; 1426 const char kDownloadDirUpgraded[] = "download.directory_upgrade";
1427 1427
1428 #if defined(OS_WIN) 1428 #if defined(OS_WIN) || defined(OS_LINUX) || \
1429 // Whether downloaded PDFs should be opened in Adobe Acrobat Reader. 1429 (defined(OS_MACOSX) && !defined(OS_IOS))
1430 const char kOpenPdfDownloadInAdobeReader[] = 1430 const char kOpenPdfDownloadInSystemReader[] =
1431 "download.open_pdf_in_adobe_reader"; 1431 "download.open_pdf_in_system_reader";
1432 #endif 1432 #endif
1433 1433
1434 // String which specifies where to save html files to by default. 1434 // String which specifies where to save html files to by default.
1435 const char kSaveFileDefaultDirectory[] = "savefile.default_directory"; 1435 const char kSaveFileDefaultDirectory[] = "savefile.default_directory";
1436 1436
1437 // The type used to save the page. See the enum SavePackage::SavePackageType in 1437 // The type used to save the page. See the enum SavePackage::SavePackageType in
1438 // the chrome/browser/download/save_package.h for the possible values. 1438 // the chrome/browser/download/save_package.h for the possible values.
1439 const char kSaveFileType[] = "savefile.type"; 1439 const char kSaveFileType[] = "savefile.type";
1440 1440
1441 // String which specifies the last directory that was chosen for uploading 1441 // String which specifies the last directory that was chosen for uploading
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 // Whether Guest Mode is enabled within the browser. 2273 // Whether Guest Mode is enabled within the browser.
2274 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2274 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2275 2275
2276 // Whether Adding a new Person is enabled within the user manager. 2276 // Whether Adding a new Person is enabled within the user manager.
2277 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2277 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2278 2278
2279 // A dictionary that maps user id to hardlock state. 2279 // A dictionary that maps user id to hardlock state.
2280 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; 2280 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state";
2281 2281
2282 } // namespace prefs 2282 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698