f2c341b655
* chore: bump chromium in DEPS to 108.0.5339.0 * chore: bump chromium in DEPS to 108.0.5341.0 * chore: sync patch to unrelated upstream code shear patches/chromium/network_service_allow_remote_certificate_verification_logic.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3927793 * chore: sync patch to unrelated upstream code shear patches/chromium/printing.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3927793 * chore: sync patch to unrelated upstream code shear patches/chromium/chore_add_electron_deps_to_gitignores.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3906023 * chore: refresh patches - `e patches all` * chore: remove unused parameter from WillCreateURLLoaderRequestInterceptors Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3932218 * perf: avoid unique pointer round trip Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3913938 * refactor: Simplify entropy provider management. Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3901211 * fixup! perf: avoid unique pointer round trip * fixup! perf: avoid unique pointer round trip * refactor: update typeof FileSelectHelper::select_file_dialog_ Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3930092 * fixup! fixup! perf: avoid unique pointer round trip * chore: bump chromium in DEPS to 108.0.5343.0 * chore: update patches * chore: bump chromium in DEPS to 108.0.5345.0 * chore: bump chromium in DEPS to 108.0.5347.0 * chore: bump chromium in DEPS to 108.0.5349.0 * chore: bump chromium in DEPS to 108.0.5351.0 * chore: bump chromium in DEPS to 108.0.5353.0 * chore: bump chromium in DEPS to 108.0.5355.0 * chore: update patches * Refactor display::win::DisplayInfo to display::win::internal::DisplayInfo Refs https://chromium-review.googlesource.com/c/chromium/src/+/3929014 * Update proxy resolution to use NAK - Part 2 Refs https://chromium-review.googlesource.com/c/chromium/src/+/3934016 * Disable PreconnectManager when the user disabled preloading. Refs https://chromium-review.googlesource.com/c/chromium/src/+/3928470 Refs https://chromium-review.googlesource.com/c/chromium/src/+/3937183 * chore: update patches * chore: update sysroot * linux: Remove breakpad integration Refs https://chromium-review.googlesource.com/c/chromium/src/+/3764621 * chore: update comments Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com> Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
138 lines
4.3 KiB
C++
138 lines
4.3 KiB
C++
// Copyright (c) 2013 GitHub, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef ELECTRON_SHELL_COMMON_OPTIONS_SWITCHES_H_
|
|
#define ELECTRON_SHELL_COMMON_OPTIONS_SWITCHES_H_
|
|
|
|
#include "electron/buildflags/buildflags.h"
|
|
|
|
namespace electron {
|
|
|
|
namespace options {
|
|
|
|
extern const char kTitle[];
|
|
extern const char kIcon[];
|
|
extern const char kFrame[];
|
|
extern const char kShow[];
|
|
extern const char kCenter[];
|
|
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[];
|
|
extern const char kMaximizable[];
|
|
extern const char kFullScreenable[];
|
|
extern const char kClosable[];
|
|
extern const char kFullscreen[];
|
|
extern const char kSkipTaskbar[];
|
|
extern const char kKiosk[];
|
|
extern const char kSimpleFullScreen[];
|
|
extern const char kAlwaysOnTop[];
|
|
extern const char kAcceptFirstMouse[];
|
|
extern const char kUseContentSize[];
|
|
extern const char kZoomToPageWidth[];
|
|
extern const char kFullscreenWindowTitle[];
|
|
extern const char kTitleBarStyle[];
|
|
extern const char kTabbingIdentifier[];
|
|
extern const char kAutoHideMenuBar[];
|
|
extern const char kEnableLargerThanScreen[];
|
|
extern const char kDarkTheme[];
|
|
extern const char kTransparent[];
|
|
extern const char kType[];
|
|
extern const char kDisableAutoHideCursor[];
|
|
extern const char kStandardWindow[];
|
|
extern const char kBackgroundColor[];
|
|
extern const char kHasShadow[];
|
|
extern const char kOpacity[];
|
|
extern const char kFocusable[];
|
|
extern const char kWebPreferences[];
|
|
extern const char kVibrancyType[];
|
|
extern const char kVisualEffectState[];
|
|
extern const char kTrafficLightPosition[];
|
|
extern const char kRoundedCorners[];
|
|
extern const char ktitleBarOverlay[];
|
|
extern const char kOverlayButtonColor[];
|
|
extern const char kOverlaySymbolColor[];
|
|
extern const char kOverlayHeight[];
|
|
|
|
// WebPreferences.
|
|
extern const char kZoomFactor[];
|
|
extern const char kPreloadScript[];
|
|
extern const char kPreloadScripts[];
|
|
extern const char kNodeIntegration[];
|
|
extern const char kContextIsolation[];
|
|
extern const char kExperimentalFeatures[];
|
|
extern const char kScrollBounce[];
|
|
extern const char kEnableBlinkFeatures[];
|
|
extern const char kDisableBlinkFeatures[];
|
|
extern const char kNodeIntegrationInWorker[];
|
|
extern const char kWebviewTag[];
|
|
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 kImageAnimationPolicy[];
|
|
extern const char kTextAreasAreResizable[];
|
|
extern const char kWebGL[];
|
|
extern const char kNavigateOnDragDrop[];
|
|
extern const char kEnableWebSQL[];
|
|
extern const char kEnablePreferredSizeMode[];
|
|
|
|
extern const char kHiddenPage[];
|
|
|
|
#if BUILDFLAG(ENABLE_BUILTIN_SPELLCHECKER)
|
|
extern const char kSpellcheck[];
|
|
#endif
|
|
|
|
} // namespace options
|
|
|
|
// Following are actually command line switches, should be moved to other files.
|
|
|
|
namespace switches {
|
|
|
|
extern const char kEnableSandbox[];
|
|
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[];
|
|
extern const char kAppPath[];
|
|
|
|
extern const char kScrollBounce[];
|
|
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 kEnableWebSQL[];
|
|
} // namespace switches
|
|
|
|
} // namespace electron
|
|
|
|
#endif // ELECTRON_SHELL_COMMON_OPTIONS_SWITCHES_H_
|