electron_constants.h 1010 B

1234567891011121314151617181920212223242526272829303132333435
  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. #if BUILDFLAG(ENABLE_RUN_AS_NODE)
  18. extern const char kRunAsNode[];
  19. #endif
  20. #if BUILDFLAG(ENABLE_PDF_VIEWER)
  21. extern const char kPDFExtensionPluginName[];
  22. extern const char kPDFInternalPluginName[];
  23. extern const base::FilePath::CharType kPdfPluginPath[];
  24. #endif // BUILDFLAG(ENABLE_PDF_VIEWER)
  25. } // namespace electron
  26. #endif // ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_