electron/shell/common/options_switches.h

144 lines
4.4 KiB
C
Raw Normal View History

// Copyright (c) 2013 GitHub, Inc.
2014-04-25 09:49:37 +00:00
// Use of this source code is governed by the MIT license that can be
2013-04-12 07:04:46 +00:00
// found in the LICENSE file.
2019-06-19 20:56:58 +00:00
#ifndef SHELL_COMMON_OPTIONS_SWITCHES_H_
#define SHELL_COMMON_OPTIONS_SWITCHES_H_
2013-04-12 07:04:46 +00:00
#include "electron/buildflags/buildflags.h"
namespace electron {
2013-04-12 07:04:46 +00:00
namespace options {
2013-04-12 07:04:46 +00:00
extern const char kTitle[];
extern const char kIcon[];
extern const char kFrame[];
extern const char kShow[];
extern const char kCenter[];
2013-04-12 07:04:46 +00:00
extern const char kX[];
extern const char kY[];
extern const char kWidth[];
extern const char kHeight[];
extern const char kMinWidth[];
extern const char kMinHeight[];
extern const char kMaxWidth[];
extern const char kMaxHeight[];
extern const char kResizable[];
extern const char kMovable[];
extern const char kMinimizable[];
2016-01-22 21:24:33 +00:00
extern const char kMaximizable[];
2016-01-23 07:47:37 +00:00
extern const char kFullScreenable[];
extern const char kClosable[];
2013-04-12 07:04:46 +00:00
extern const char kFullscreen[];
extern const char kSkipTaskbar[];
2013-04-12 07:04:46 +00:00
extern const char kKiosk[];
extern const char kSimpleFullScreen[];
2013-04-12 07:04:46 +00:00
extern const char kAlwaysOnTop[];
extern const char kAcceptFirstMouse[];
2014-05-15 07:18:46 +00:00
extern const char kUseContentSize[];
2016-10-27 18:29:51 +00:00
extern const char kZoomToPageWidth[];
extern const char kFullscreenWindowTitle[];
extern const char kTitleBarStyle[];
2017-03-27 14:15:17 +00:00
extern const char kTabbingIdentifier[];
extern const char kAutoHideMenuBar[];
extern const char kEnableLargerThanScreen[];
extern const char kDarkTheme[];
2014-12-23 01:48:54 +00:00
extern const char kTransparent[];
extern const char kType[];
2015-04-27 04:08:22 +00:00
extern const char kDisableAutoHideCursor[];
extern const char kStandardWindow[];
extern const char kBackgroundColor[];
extern const char kHasShadow[];
2017-09-29 02:26:02 +00:00
extern const char kOpacity[];
2016-06-13 08:10:28 +00:00
extern const char kFocusable[];
2015-11-10 14:17:27 +00:00
extern const char kWebPreferences[];
2016-11-07 20:22:41 +00:00
extern const char kVibrancyType[];
extern const char kVisualEffectState[];
extern const char kTrafficLightPosition[];
extern const char kRoundedCorners[];
2013-04-12 07:04:46 +00:00
2015-11-10 14:17:27 +00:00
// WebPreferences.
extern const char kZoomFactor[];
extern const char kPreloadScript[];
extern const char kPreloadScripts[];
2015-11-13 08:03:40 +00:00
extern const char kPreloadURL[];
2015-11-10 14:17:27 +00:00
extern const char kNodeIntegration[];
2016-12-15 21:20:17 +00:00
extern const char kContextIsolation[];
extern const char kWorldSafeExecuteJavaScript[];
2015-11-10 14:17:27 +00:00
extern const char kGuestInstanceID[];
2014-09-09 02:33:31 +00:00
extern const char kExperimentalFeatures[];
2015-12-17 13:27:14 +00:00
extern const char kOpenerID[];
extern const char kScrollBounce[];
extern const char kEnableBlinkFeatures[];
2016-06-07 20:42:42 +00:00
extern const char kDisableBlinkFeatures[];
2017-03-15 09:51:21 +00:00
extern const char kNodeIntegrationInWorker[];
extern const char kWebviewTag[];
extern const char kNativeWindowOpen[];
extern const char kCustomArgs[];
extern const char kPlugins[];
extern const char kSandbox[];
extern const char kWebSecurity[];
extern const char kAllowRunningInsecureContent[];
extern const char kOffscreen[];
extern const char kNodeIntegrationInSubFrames[];
extern const char kDisableHtmlFullscreenWindowResize[];
extern const char kJavaScript[];
extern const char kImages[];
extern const char kTextAreasAreResizable[];
extern const char kWebGL[];
extern const char kNavigateOnDragDrop[];
extern const char kEnableWebSQL[];
extern const char kEnablePreferredSizeMode[];
extern const char kDisableElectronSiteInstanceOverrides[];
extern const char kEnableNodeLeakageInRenderers[];
extern const char kHiddenPage[];
#if BUILDFLAG(ENABLE_BUILTIN_SPELLCHECKER)
extern const char kSpellcheck[];
#endif
2018-04-18 01:44:10 +00:00
} // namespace options
2014-09-09 02:33:31 +00:00
2015-11-10 14:17:27 +00:00
// Following are actually command line switches, should be moved to other files.
namespace switches {
extern const char kEnableSandbox[];
2015-11-10 14:17:27 +00:00
extern const char kPpapiFlashPath[];
extern const char kPpapiFlashVersion[];
extern const char kDisableHttpCache[];
extern const char kStandardSchemes[];
extern const char kServiceWorkerSchemes[];
extern const char kSecureSchemes[];
extern const char kBypassCSPSchemes[];
extern const char kFetchSchemes[];
extern const char kCORSSchemes[];
extern const char kStreamingSchemes[];
extern const char kAppUserModelId[];
2017-04-04 00:36:01 +00:00
extern const char kAppPath[];
extern const char kEnableApiFilteringLogging[];
extern const char kScrollBounce[];
2017-03-15 09:51:21 +00:00
extern const char kNodeIntegrationInWorker[];
extern const char kWidevineCdmPath[];
extern const char kWidevineCdmVersion[];
extern const char kDiskCacheSize[];
extern const char kIgnoreConnectionsLimit[];
extern const char kAuthServerWhitelist[];
extern const char kAuthNegotiateDelegateWhitelist[];
extern const char kEnableAuthNegotiatePort[];
extern const char kDisableNTLMv2[];
extern const char kGlobalCrashKeys[];
extern const char kEnableWebSQL[];
2013-04-12 07:04:46 +00:00
} // namespace switches
} // namespace electron
2013-04-12 07:04:46 +00:00
2019-06-19 20:56:58 +00:00
#endif // SHELL_COMMON_OPTIONS_SWITCHES_H_