electron_constants.cc 825 B

12345678910111213141516171819202122232425
  1. // Copyright (c) 2015 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #include "shell/common/electron_constants.h"
  5. namespace electron {
  6. const char kBrowserForward[] = "browser-forward";
  7. const char kBrowserBackward[] = "browser-backward";
  8. const char kDeviceVendorIdKey[] = "vendorId";
  9. const char kDeviceProductIdKey[] = "productId";
  10. const char kDeviceSerialNumberKey[] = "serialNumber";
  11. const char kRunAsNode[] = "ELECTRON_RUN_AS_NODE";
  12. #if BUILDFLAG(ENABLE_PDF_VIEWER)
  13. const char kPDFExtensionPluginName[] = "Chromium PDF Viewer";
  14. const char kPDFInternalPluginName[] = "Chromium PDF Plugin";
  15. const base::FilePath::CharType kPdfPluginPath[] =
  16. FILE_PATH_LITERAL("internal-pdf-viewer");
  17. #endif // BUILDFLAG(ENABLE_PDF_VIEWER)
  18. } // namespace electron