electron/shell/common/electron_constants.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
937 B
C
Raw Normal View History

2015-12-01 08:21:15 +00:00
// Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_
#define ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_
2015-12-01 08:21:15 +00:00
2020-02-13 00:39:12 +00:00
#include "base/files/file_path.h"
#include "electron/buildflags/buildflags.h"
2015-12-01 08:21:15 +00:00
namespace electron {
// The app-command in NativeWindow.
extern const char kBrowserForward[];
extern const char kBrowserBackward[];
// Keys for Device APIs
extern const char kDeviceVendorIdKey[];
extern const char kDeviceProductIdKey[];
extern const char kDeviceSerialNumberKey[];
extern const char kRunAsNode[];
#if BUILDFLAG(ENABLE_PDF_VIEWER)
extern const char kPDFExtensionPluginName[];
extern const char kPDFInternalPluginName[];
2020-02-13 00:39:12 +00:00
extern const base::FilePath::CharType kPdfPluginPath[];
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)
2017-01-23 13:20:30 +00:00
2015-12-01 08:21:15 +00:00
} // namespace electron
#endif // ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_