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

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: Unify the various identifiers for less #ifdefing. 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 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 // renderer's in-memory cache of objects. 1456 // renderer's in-memory cache of objects.
1457 const char kMemoryCacheSize[] = "renderer.memory_cache.size"; 1457 const char kMemoryCacheSize[] = "renderer.memory_cache.size";
1458 1458
1459 // String which specifies where to download files to by default. 1459 // String which specifies where to download files to by default.
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) || defined(OS_LINUX) || \
1467 // Whether downloaded PDFs should be opened in Adobe Acrobat Reader. 1467 (defined(OS_MACOSX) && !defined(OS_IOS))
1468 const char kOpenPdfDownloadInAdobeReader[] = 1468 const char kOpenPdfDownloadInSystemReader[] =
1469 "download.open_pdf_in_adobe_reader"; 1469 "download.open_pdf_in_system_reader";
asanka 2014/10/23 07:38:04 This change has the effect of resetting the "Open
palmer 2014/10/23 22:17:08 Should leave the name the same for Windows? Or hav
1470 #endif 1470 #endif
1471 1471
1472 // String which specifies where to save html files to by default. 1472 // String which specifies where to save html files to by default.
1473 const char kSaveFileDefaultDirectory[] = "savefile.default_directory"; 1473 const char kSaveFileDefaultDirectory[] = "savefile.default_directory";
1474 1474
1475 // The type used to save the page. See the enum SavePackage::SavePackageType in 1475 // 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. 1476 // the chrome/browser/download/save_package.h for the possible values.
1477 const char kSaveFileType[] = "savefile.type"; 1477 const char kSaveFileType[] = "savefile.type";
1478 1478
1479 // String which specifies the last directory that was chosen for uploading 1479 // 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. 2343 // Whether Guest Mode is enabled within the browser.
2344 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2344 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2345 2345
2346 // Whether Adding a new Person is enabled within the user manager. 2346 // Whether Adding a new Person is enabled within the user manager.
2347 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2347 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2348 2348
2349 // A dictionary that maps user id to hardlock state. 2349 // A dictionary that maps user id to hardlock state.
2350 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; 2350 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state";
2351 2351
2352 } // namespace prefs 2352 } // namespace prefs
OLDNEW
« chrome/browser/download/download_shelf_context_menu.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