refactor: remove unused switches (#38497)
* refactor: remove unused declaration of electron::kSHA1Certificate usage removed in13a1d79
* refactor: remove unused declaration of electron::kSHA1MajorDescription usage removed in13a1d79
* refactor: remove unused declaration of electron::kSHA1MinorDescription usage removed in13a1d79
* refactor: remove unused declaration of electron::kCertificateError usage removed in13a1d79
* refactor: remove unused declaration of electron::kValidCertificate usage removed in13a1d79
* refactor: remove unused declaration of electron::kValidCertificateDescription usage removed in13a1d79
* refactor: remove unused declaration of electron::kSecureProtocol, kSecureProtocolDescription usage removed in497f5a1
* refactor: remove electron::options::kPreloadScripts removed inbad8d5e0
* refactor: remove electron::options::kImageAnimationPolicy removed in385d0f5
This commit is contained in:
parent
74b8133a93
commit
c14f7b7d0b
4 changed files with 0 additions and 33 deletions
|
@ -9,22 +9,6 @@ namespace electron {
|
||||||
const char kBrowserForward[] = "browser-forward";
|
const char kBrowserForward[] = "browser-forward";
|
||||||
const char kBrowserBackward[] = "browser-backward";
|
const char kBrowserBackward[] = "browser-backward";
|
||||||
|
|
||||||
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.";
|
|
||||||
|
|
||||||
const char kDeviceVendorIdKey[] = "vendorId";
|
const char kDeviceVendorIdKey[] = "vendorId";
|
||||||
const char kDeviceProductIdKey[] = "productId";
|
const char kDeviceProductIdKey[] = "productId";
|
||||||
const char kDeviceSerialNumberKey[] = "serialNumber";
|
const char kDeviceSerialNumberKey[] = "serialNumber";
|
||||||
|
|
|
@ -15,16 +15,6 @@ namespace electron {
|
||||||
extern const char kBrowserForward[];
|
extern const char kBrowserForward[];
|
||||||
extern const char kBrowserBackward[];
|
extern const char kBrowserBackward[];
|
||||||
|
|
||||||
// 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[];
|
|
||||||
|
|
||||||
// Keys for Device APIs
|
// Keys for Device APIs
|
||||||
extern const char kDeviceVendorIdKey[];
|
extern const char kDeviceVendorIdKey[];
|
||||||
extern const char kDeviceProductIdKey[];
|
extern const char kDeviceProductIdKey[];
|
||||||
|
|
|
@ -123,8 +123,6 @@ const char kZoomFactor[] = "zoomFactor";
|
||||||
// Script that will be loaded by guest WebContents before other scripts.
|
// Script that will be loaded by guest WebContents before other scripts.
|
||||||
const char kPreloadScript[] = "preload";
|
const char kPreloadScript[] = "preload";
|
||||||
|
|
||||||
const char kPreloadScripts[] = "preloadScripts";
|
|
||||||
|
|
||||||
// Enable the node integration.
|
// Enable the node integration.
|
||||||
const char kNodeIntegration[] = "nodeIntegration";
|
const char kNodeIntegration[] = "nodeIntegration";
|
||||||
|
|
||||||
|
@ -173,9 +171,6 @@ const char kJavaScript[] = "javascript";
|
||||||
// Enables image support.
|
// Enables image support.
|
||||||
const char kImages[] = "images";
|
const char kImages[] = "images";
|
||||||
|
|
||||||
// Image animation policy.
|
|
||||||
const char kImageAnimationPolicy[] = "imageAnimationPolicy";
|
|
||||||
|
|
||||||
// Make TextArea elements resizable.
|
// Make TextArea elements resizable.
|
||||||
const char kTextAreasAreResizable[] = "textAreasAreResizable";
|
const char kTextAreasAreResizable[] = "textAreasAreResizable";
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,6 @@ extern const char kOverlayHeight[];
|
||||||
// WebPreferences.
|
// WebPreferences.
|
||||||
extern const char kZoomFactor[];
|
extern const char kZoomFactor[];
|
||||||
extern const char kPreloadScript[];
|
extern const char kPreloadScript[];
|
||||||
extern const char kPreloadScripts[];
|
|
||||||
extern const char kNodeIntegration[];
|
extern const char kNodeIntegration[];
|
||||||
extern const char kContextIsolation[];
|
extern const char kContextIsolation[];
|
||||||
extern const char kExperimentalFeatures[];
|
extern const char kExperimentalFeatures[];
|
||||||
|
@ -86,7 +85,6 @@ extern const char kNodeIntegrationInSubFrames[];
|
||||||
extern const char kDisableHtmlFullscreenWindowResize[];
|
extern const char kDisableHtmlFullscreenWindowResize[];
|
||||||
extern const char kJavaScript[];
|
extern const char kJavaScript[];
|
||||||
extern const char kImages[];
|
extern const char kImages[];
|
||||||
extern const char kImageAnimationPolicy[];
|
|
||||||
extern const char kTextAreasAreResizable[];
|
extern const char kTextAreasAreResizable[];
|
||||||
extern const char kWebGL[];
|
extern const char kWebGL[];
|
||||||
extern const char kNavigateOnDragDrop[];
|
extern const char kNavigateOnDragDrop[];
|
||||||
|
|
Loading…
Reference in a new issue