2015-12-01 16:21:15 +08: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.
|
|
|
|
|
2020-02-04 12:19:40 -08:00
|
|
|
#ifndef SHELL_COMMON_ELECTRON_CONSTANTS_H_
|
|
|
|
#define SHELL_COMMON_ELECTRON_CONSTANTS_H_
|
2015-12-01 16:21:15 +08:00
|
|
|
|
2020-02-12 16:39:12 -08:00
|
|
|
#include "base/files/file_path.h"
|
2019-06-12 23:42:21 -07:00
|
|
|
#include "build/build_config.h"
|
2018-10-02 01:30:53 +05:30
|
|
|
#include "electron/buildflags/buildflags.h"
|
|
|
|
|
2019-06-19 14:23:04 -07:00
|
|
|
namespace electron {
|
2015-12-01 16:21:15 +08:00
|
|
|
|
2018-12-05 09:35:59 -08:00
|
|
|
// The app-command in NativeWindow.
|
|
|
|
extern const char kBrowserForward[];
|
|
|
|
extern const char kBrowserBackward[];
|
|
|
|
|
2016-04-11 15:06:33 +05:30
|
|
|
// Strings describing Chrome security policy for DevTools security panel.
|
|
|
|
extern const char kSHA1Certificate[];
|
|
|
|
extern const char kSHA1MajorDescription[];
|
|
|
|
extern const char kSHA1MinorDescription[];
|
|
|
|
extern const char kCertificateError[];
|
|
|
|
extern const char kValidCertificate[];
|
|
|
|
extern const char kValidCertificateDescription[];
|
|
|
|
extern const char kSecureProtocol[];
|
|
|
|
extern const char kSecureProtocolDescription[];
|
2015-12-01 16:21:15 +08:00
|
|
|
|
2019-06-12 23:42:21 -07:00
|
|
|
#if BUILDFLAG(ENABLE_RUN_AS_NODE)
|
|
|
|
extern const char kRunAsNode[];
|
|
|
|
#endif
|
|
|
|
|
2018-10-02 01:30:53 +05:30
|
|
|
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
2017-01-23 18:50:30 +05:30
|
|
|
// The MIME type used for the PDF plugin.
|
|
|
|
extern const char kPdfPluginMimeType[];
|
2020-02-12 16:39:12 -08:00
|
|
|
extern const base::FilePath::CharType kPdfPluginPath[];
|
2018-10-02 01:30:53 +05:30
|
|
|
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)
|
2017-01-23 18:50:30 +05:30
|
|
|
|
2019-06-19 14:23:04 -07:00
|
|
|
} // namespace electron
|
2015-12-01 16:21:15 +08:00
|
|
|
|
2020-02-04 12:19:40 -08:00
|
|
|
#endif // SHELL_COMMON_ELECTRON_CONSTANTS_H_
|