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

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: Only check status of Adobe Reader if Adobe Reader is the system viewer. Created 6 years, 2 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 (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 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 // renderer's in-memory cache of objects. 1451 // renderer's in-memory cache of objects.
1452 const char kMemoryCacheSize[] = "renderer.memory_cache.size"; 1452 const char kMemoryCacheSize[] = "renderer.memory_cache.size";
1453 1453
1454 // String which specifies where to download files to by default. 1454 // String which specifies where to download files to by default.
1455 const char kDownloadDefaultDirectory[] = "download.default_directory"; 1455 const char kDownloadDefaultDirectory[] = "download.default_directory";
1456 1456
1457 // Boolean that records if the download directory was changed by an 1457 // Boolean that records if the download directory was changed by an
1458 // upgrade a unsafe location to a safe location. 1458 // upgrade a unsafe location to a safe location.
1459 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; 1459 const char kDownloadDirUpgraded[] = "download.directory_upgrade";
1460 1460
1461 #if defined(OS_WIN) 1461 #if defined(OS_WIN) || defined(OS_LINUX) || \
1462 // Whether downloaded PDFs should be opened in Adobe Acrobat Reader. 1462 (defined(OS_MACOSX) && !defined(OS_IOS))
1463 const char kOpenPdfDownloadInAdobeReader[] = 1463 const char kOpenPdfDownloadInSystemReader[] =
1464 "download.open_pdf_in_adobe_reader"; 1464 "download.open_pdf_in_system_reader";
1465 #endif 1465 #endif
1466 1466
1467 // String which specifies where to save html files to by default. 1467 // String which specifies where to save html files to by default.
1468 const char kSaveFileDefaultDirectory[] = "savefile.default_directory"; 1468 const char kSaveFileDefaultDirectory[] = "savefile.default_directory";
1469 1469
1470 // The type used to save the page. See the enum SavePackage::SavePackageType in 1470 // The type used to save the page. See the enum SavePackage::SavePackageType in
1471 // the chrome/browser/download/save_package.h for the possible values. 1471 // the chrome/browser/download/save_package.h for the possible values.
1472 const char kSaveFileType[] = "savefile.type"; 1472 const char kSaveFileType[] = "savefile.type";
1473 1473
1474 // String which specifies the last directory that was chosen for uploading 1474 // String which specifies the last directory that was chosen for uploading
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
2338 // Whether Guest Mode is enabled within the browser. 2338 // Whether Guest Mode is enabled within the browser.
2339 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2339 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2340 2340
2341 // Whether Adding a new Person is enabled within the user manager. 2341 // Whether Adding a new Person is enabled within the user manager.
2342 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2342 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2343 2343
2344 // A dictionary that maps user id to hardlock state. 2344 // A dictionary that maps user id to hardlock state.
2345 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; 2345 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state";
2346 2346
2347 } // namespace prefs 2347 } // namespace prefs
OLDNEW
« chrome/browser/download/download_prefs.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698