electron_constants.h 969 B

123456789101112131415161718192021222324252627282930313233
  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. #ifndef ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_
  5. #define ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_
  6. #include "base/files/file_path.h"
  7. #include "build/build_config.h"
  8. #include "electron/buildflags/buildflags.h"
  9. namespace electron {
  10. // The app-command in NativeWindow.
  11. extern const char kBrowserForward[];
  12. extern const char kBrowserBackward[];
  13. // Keys for Device APIs
  14. extern const char kDeviceVendorIdKey[];
  15. extern const char kDeviceProductIdKey[];
  16. extern const char kDeviceSerialNumberKey[];
  17. extern const char kRunAsNode[];
  18. #if BUILDFLAG(ENABLE_PDF_VIEWER)
  19. extern const char kPDFExtensionPluginName[];
  20. extern const char kPDFInternalPluginName[];
  21. extern const base::FilePath::CharType kPdfPluginPath[];
  22. #endif // BUILDFLAG(ENABLE_PDF_VIEWER)
  23. } // namespace electron
  24. #endif // ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_