electron_constants.h 937 B

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