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

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

Issue 324593004: Windows: Add an "Open in Adobe Reader" menu item for PDF files in the download shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, check AcroRd32.exe version, set/honor prefs Created 6 years, 6 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 | Annotate | Revision Log
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 1511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1522 // renderer's in-memory cache of objects. 1522 // renderer's in-memory cache of objects.
1523 const char kMemoryCacheSize[] = "renderer.memory_cache.size"; 1523 const char kMemoryCacheSize[] = "renderer.memory_cache.size";
1524 1524
1525 // String which specifies where to download files to by default. 1525 // String which specifies where to download files to by default.
1526 const char kDownloadDefaultDirectory[] = "download.default_directory"; 1526 const char kDownloadDefaultDirectory[] = "download.default_directory";
1527 1527
1528 // Boolean that records if the download directory was changed by an 1528 // Boolean that records if the download directory was changed by an
1529 // upgrade a unsafe location to a safe location. 1529 // upgrade a unsafe location to a safe location.
1530 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; 1530 const char kDownloadDirUpgraded[] = "download.directory_upgrade";
1531 1531
1532 #if defined(OS_WIN)
1533 const char kOpenPdfDownloadInAdobeReader[] =
1534 "download.open_pdf_in_adobe_reader";
1535 #endif
1536
1532 // String which specifies where to save html files to by default. 1537 // String which specifies where to save html files to by default.
1533 const char kSaveFileDefaultDirectory[] = "savefile.default_directory"; 1538 const char kSaveFileDefaultDirectory[] = "savefile.default_directory";
1534 1539
1535 // The type used to save the page. See the enum SavePackage::SavePackageType in 1540 // The type used to save the page. See the enum SavePackage::SavePackageType in
1536 // the chrome/browser/download/save_package.h for the possible values. 1541 // the chrome/browser/download/save_package.h for the possible values.
1537 const char kSaveFileType[] = "savefile.type"; 1542 const char kSaveFileType[] = "savefile.type";
1538 1543
1539 // String which specifies the last directory that was chosen for uploading 1544 // String which specifies the last directory that was chosen for uploading
1540 // or opening a file. 1545 // or opening a file.
1541 const char kSelectFileLastDirectory[] = "selectfile.last_directory"; 1546 const char kSelectFileLastDirectory[] = "selectfile.last_directory";
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
2405 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2410 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2406 // given by the PartnerBookmarksProvider and either the user-visible renamed 2411 // given by the PartnerBookmarksProvider and either the user-visible renamed
2407 // title or an empty string if the bookmark node was removed. 2412 // title or an empty string if the bookmark node was removed.
2408 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2413 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2409 #endif 2414 #endif
2410 2415
2411 // Whether DNS Quick Check is disabled in proxy resolution. 2416 // Whether DNS Quick Check is disabled in proxy resolution.
2412 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2417 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2413 2418
2414 } // namespace prefs 2419 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698