refactor: rename the atom directory to shell
This commit is contained in:
parent
4575a4aae3
commit
d7f07e8a80
631 changed files with 0 additions and 0 deletions
47
shell/common/atom_constants.cc
Normal file
47
shell/common/atom_constants.cc
Normal file
|
@ -0,0 +1,47 @@
|
|||
// Copyright (c) 2015 GitHub, Inc.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/common/atom_constants.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
const char kBrowserForward[] = "browser-forward";
|
||||
const char kBrowserBackward[] = "browser-backward";
|
||||
|
||||
const char kCORSHeader[] = "Access-Control-Allow-Origin: *";
|
||||
|
||||
const char kSHA1Certificate[] = "SHA-1 Certificate";
|
||||
const char kSHA1MajorDescription[] =
|
||||
"The certificate for this site expires in 2017 or later, "
|
||||
"and the certificate chain contains a certificate signed using SHA-1.";
|
||||
const char kSHA1MinorDescription[] =
|
||||
"The certificate for this site expires in 2016, "
|
||||
"and the certificate chain contains a certificate signed using SHA-1.";
|
||||
const char kCertificateError[] = "Certificate Error";
|
||||
const char kValidCertificate[] = "Valid Certificate";
|
||||
const char kValidCertificateDescription[] =
|
||||
"The connection to this site is using a valid, trusted server certificate.";
|
||||
const char kSecureProtocol[] = "Secure TLS connection";
|
||||
const char kSecureProtocolDescription[] =
|
||||
"The connection to this site is using a strong protocol version "
|
||||
"and cipher suite.";
|
||||
|
||||
#if defined(OS_WIN)
|
||||
const char kCrashpadPipeName[] = "ELECTRON_CRASHPAD_PIPE_NAME";
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(ENABLE_RUN_AS_NODE)
|
||||
const char kRunAsNode[] = "ELECTRON_RUN_AS_NODE";
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
||||
const char kPdfPluginMimeType[] = "application/x-google-chrome-pdf";
|
||||
const char kPdfPluginPath[] = "chrome://pdf-viewer/";
|
||||
const char kPdfPluginSrc[] = "src";
|
||||
|
||||
const char kPdfViewerUIOrigin[] = "chrome://pdf-viewer/";
|
||||
const char kPdfViewerUIHost[] = "pdf-viewer";
|
||||
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)
|
||||
|
||||
} // namespace atom
|
Loading…
Add table
Add a link
Reference in a new issue