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

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: Harmonize the strings a bit better. 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 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1460 const char kDownloadDefaultDirectory[] = "download.default_directory"; 1460 const char kDownloadDefaultDirectory[] = "download.default_directory";
1461 1461
1462 // Boolean that records if the download directory was changed by an 1462 // Boolean that records if the download directory was changed by an
1463 // upgrade a unsafe location to a safe location. 1463 // upgrade a unsafe location to a safe location.
1464 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; 1464 const char kDownloadDirUpgraded[] = "download.directory_upgrade";
1465 1465
1466 #if defined(OS_WIN) 1466 #if defined(OS_WIN)
1467 // Whether downloaded PDFs should be opened in Adobe Acrobat Reader. 1467 // Whether downloaded PDFs should be opened in Adobe Acrobat Reader.
1468 const char kOpenPdfDownloadInAdobeReader[] = 1468 const char kOpenPdfDownloadInAdobeReader[] =
1469 "download.open_pdf_in_adobe_reader"; 1469 "download.open_pdf_in_adobe_reader";
1470 #elif defined(OS_MACOSX) || defined(OS_LINUX)
1471 const char kOpenPdfDownloadInSystemReader[] =
1472 "download.open_pdf_in_system_reader";
1470 #endif 1473 #endif
1471 1474
1472 // String which specifies where to save html files to by default. 1475 // String which specifies where to save html files to by default.
1473 const char kSaveFileDefaultDirectory[] = "savefile.default_directory"; 1476 const char kSaveFileDefaultDirectory[] = "savefile.default_directory";
1474 1477
1475 // The type used to save the page. See the enum SavePackage::SavePackageType in 1478 // The type used to save the page. See the enum SavePackage::SavePackageType in
1476 // the chrome/browser/download/save_package.h for the possible values. 1479 // the chrome/browser/download/save_package.h for the possible values.
1477 const char kSaveFileType[] = "savefile.type"; 1480 const char kSaveFileType[] = "savefile.type";
1478 1481
1479 // String which specifies the last directory that was chosen for uploading 1482 // String which specifies the last directory that was chosen for uploading
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
2343 // Whether Guest Mode is enabled within the browser. 2346 // Whether Guest Mode is enabled within the browser.
2344 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2347 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2345 2348
2346 // Whether Adding a new Person is enabled within the user manager. 2349 // Whether Adding a new Person is enabled within the user manager.
2347 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2350 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2348 2351
2349 // A dictionary that maps user id to hardlock state. 2352 // A dictionary that maps user id to hardlock state.
2350 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; 2353 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state";
2351 2354
2352 } // namespace prefs 2355 } // namespace prefs
OLDNEW
« chrome/browser/download/chrome_download_manager_delegate.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