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.
|
|
|
|
|
2019-06-19 20:56:58 +00:00
|
|
|
#ifndef SHELL_COMMON_ATOM_CONSTANTS_H_
|
|
|
|
#define SHELL_COMMON_ATOM_CONSTANTS_H_
|
2015-12-01 08:21:15 +00:00
|
|
|
|
2019-06-13 06:42:21 +00:00
|
|
|
#include "build/build_config.h"
|
2018-10-01 20:00:53 +00:00
|
|
|
#include "electron/buildflags/buildflags.h"
|
|
|
|
|
2015-12-01 08:21:15 +00:00
|
|
|
namespace atom {
|
|
|
|
|
2018-12-05 17:35:59 +00:00
|
|
|
// The app-command in NativeWindow.
|
|
|
|
extern const char kBrowserForward[];
|
|
|
|
extern const char kBrowserBackward[];
|
|
|
|
|
2015-12-01 08:21:15 +00:00
|
|
|
// Header to ignore CORS.
|
2016-04-11 09:36:33 +00:00
|
|
|
extern const char kCORSHeader[];
|
|
|
|
|
|
|
|
// 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 08:21:15 +00:00
|
|
|
|
2019-06-13 06:42:21 +00:00
|
|
|
#if defined(OS_WIN)
|
|
|
|
// Crashpad pipe name.
|
|
|
|
extern const char kCrashpadPipeName[];
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if BUILDFLAG(ENABLE_RUN_AS_NODE)
|
|
|
|
extern const char kRunAsNode[];
|
|
|
|
#endif
|
|
|
|
|
2018-10-01 20:00:53 +00:00
|
|
|
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
2017-01-23 13:20:30 +00:00
|
|
|
// The MIME type used for the PDF plugin.
|
|
|
|
extern const char kPdfPluginMimeType[];
|
|
|
|
extern const char kPdfPluginPath[];
|
2017-02-03 09:36:53 +00:00
|
|
|
extern const char kPdfPluginSrc[];
|
|
|
|
|
|
|
|
// Constants for PDF viewer webui.
|
|
|
|
extern const char kPdfViewerUIOrigin[];
|
|
|
|
extern const char kPdfViewerUIHost[];
|
2018-10-01 20:00:53 +00:00
|
|
|
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)
|
2017-01-23 13:20:30 +00:00
|
|
|
|
2015-12-01 08:21:15 +00:00
|
|
|
} // namespace atom
|
|
|
|
|
2019-06-19 20:56:58 +00:00
|
|
|
#endif // SHELL_COMMON_ATOM_CONSTANTS_H_
|