electron_constants.cc 866 B

123456789101112131415161718192021222324252627
  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. #if BUILDFLAG(ENABLE_RUN_AS_NODE)
  12. const char kRunAsNode[] = "ELECTRON_RUN_AS_NODE";
  13. #endif
  14. #if BUILDFLAG(ENABLE_PDF_VIEWER)
  15. const char kPDFExtensionPluginName[] = "Chromium PDF Viewer";
  16. const char kPDFInternalPluginName[] = "Chromium PDF Plugin";
  17. const base::FilePath::CharType kPdfPluginPath[] =
  18. FILE_PATH_LITERAL("internal-pdf-viewer");
  19. #endif // BUILDFLAG(ENABLE_PDF_VIEWER)
  20. } // namespace electron