2014-10-31 21:17:05 +03:00
|
|
|
// Copyright (c) 2013 GitHub, Inc.
|
2014-04-25 13:49:37 +04:00
|
|
|
// Use of this source code is governed by the MIT license that can be
|
2013-04-12 11:04:46 +04:00
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2014-03-16 04:58:59 +04:00
|
|
|
#ifndef ATOM_COMMON_OPTIONS_SWITCHES_H_
|
|
|
|
#define ATOM_COMMON_OPTIONS_SWITCHES_H_
|
2013-04-12 11:04:46 +04:00
|
|
|
|
|
|
|
namespace atom {
|
|
|
|
|
2015-11-13 08:58:31 +03:00
|
|
|
namespace options {
|
2013-04-12 11:04:46 +04:00
|
|
|
|
|
|
|
extern const char kTitle[];
|
|
|
|
extern const char kIcon[];
|
|
|
|
extern const char kFrame[];
|
|
|
|
extern const char kShow[];
|
2013-05-10 16:34:05 +04:00
|
|
|
extern const char kCenter[];
|
2013-04-12 11:04:46 +04: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[];
|
2016-01-15 05:45:19 +03:00
|
|
|
extern const char kMovable[];
|
2016-01-19 01:46:35 +03:00
|
|
|
extern const char kMinimizable[];
|
2016-01-23 00:24:33 +03:00
|
|
|
extern const char kMaximizable[];
|
2016-01-23 10:47:37 +03:00
|
|
|
extern const char kFullScreenable[];
|
2016-01-19 01:46:35 +03:00
|
|
|
extern const char kClosable[];
|
2013-04-12 11:04:46 +04:00
|
|
|
extern const char kFullscreen[];
|
2014-06-16 06:29:51 +04:00
|
|
|
extern const char kSkipTaskbar[];
|
2013-04-12 11:04:46 +04:00
|
|
|
extern const char kKiosk[];
|
|
|
|
extern const char kAlwaysOnTop[];
|
2014-03-15 15:28:23 +04:00
|
|
|
extern const char kAcceptFirstMouse[];
|
2014-05-15 11:18:46 +04:00
|
|
|
extern const char kUseContentSize[];
|
2016-10-27 21:29:51 +03:00
|
|
|
extern const char kZoomToPageWidth[];
|
2015-09-14 15:15:41 +03:00
|
|
|
extern const char kTitleBarStyle[];
|
2014-08-07 09:47:58 +04:00
|
|
|
extern const char kAutoHideMenuBar[];
|
2014-08-17 08:23:00 +04:00
|
|
|
extern const char kEnableLargerThanScreen[];
|
2014-08-21 08:24:55 +04:00
|
|
|
extern const char kDarkTheme[];
|
2014-12-23 04:48:54 +03:00
|
|
|
extern const char kTransparent[];
|
2015-02-11 07:12:22 +03:00
|
|
|
extern const char kType[];
|
2015-04-27 07:08:22 +03:00
|
|
|
extern const char kDisableAutoHideCursor[];
|
2015-05-08 23:28:24 +03:00
|
|
|
extern const char kStandardWindow[];
|
2015-10-21 13:17:28 +03:00
|
|
|
extern const char kBackgroundColor[];
|
2016-01-23 03:15:49 +03:00
|
|
|
extern const char kHasShadow[];
|
2016-06-13 11:10:28 +03:00
|
|
|
extern const char kFocusable[];
|
2015-11-10 17:17:27 +03:00
|
|
|
extern const char kWebPreferences[];
|
2016-11-07 23:22:41 +03:00
|
|
|
extern const char kVibrancyType[];
|
2013-04-12 11:04:46 +04:00
|
|
|
|
2015-11-10 17:17:27 +03:00
|
|
|
// WebPreferences.
|
|
|
|
extern const char kZoomFactor[];
|
|
|
|
extern const char kPreloadScript[];
|
2015-11-13 11:03:40 +03:00
|
|
|
extern const char kPreloadURL[];
|
2015-11-10 17:17:27 +03:00
|
|
|
extern const char kNodeIntegration[];
|
2016-12-16 00:20:17 +03:00
|
|
|
extern const char kContextIsolation[];
|
2015-11-10 17:17:27 +03:00
|
|
|
extern const char kGuestInstanceID[];
|
2014-09-09 06:33:31 +04:00
|
|
|
extern const char kExperimentalFeatures[];
|
|
|
|
extern const char kExperimentalCanvasFeatures[];
|
2015-12-17 16:27:14 +03:00
|
|
|
extern const char kOpenerID[];
|
2016-05-06 08:57:43 +03:00
|
|
|
extern const char kScrollBounce[];
|
2016-01-07 09:10:18 +03:00
|
|
|
extern const char kBlinkFeatures[];
|
2016-06-07 23:42:42 +03:00
|
|
|
extern const char kDisableBlinkFeatures[];
|
2017-03-15 12:51:21 +03:00
|
|
|
extern const char kNodeIntegrationInWorker[];
|
2015-11-13 08:58:31 +03:00
|
|
|
|
|
|
|
} // namespace options
|
|
|
|
|
2014-09-09 06:33:31 +04:00
|
|
|
|
2015-11-10 17:17:27 +03:00
|
|
|
// Following are actually command line switches, should be moved to other files.
|
2015-11-13 08:58:31 +03:00
|
|
|
|
|
|
|
namespace switches {
|
|
|
|
|
2016-08-15 13:59:08 +03:00
|
|
|
extern const char kEnableSandbox[];
|
2015-11-10 17:17:27 +03:00
|
|
|
extern const char kEnablePlugins[];
|
|
|
|
extern const char kPpapiFlashPath[];
|
|
|
|
extern const char kPpapiFlashVersion[];
|
2015-01-06 00:40:38 +03:00
|
|
|
extern const char kDisableHttpCache[];
|
2016-06-08 09:46:50 +03:00
|
|
|
extern const char kStandardSchemes[];
|
2015-12-08 22:21:46 +03:00
|
|
|
extern const char kRegisterServiceWorkerSchemes[];
|
2016-11-14 19:20:04 +03:00
|
|
|
extern const char kSecureSchemes[];
|
2015-07-10 01:57:17 +03:00
|
|
|
extern const char kAppUserModelId[];
|
|
|
|
|
2016-04-02 14:35:57 +03:00
|
|
|
extern const char kBackgroundColor[];
|
2015-11-13 08:58:31 +03:00
|
|
|
extern const char kPreloadScript[];
|
2015-11-13 11:03:40 +03:00
|
|
|
extern const char kPreloadURL[];
|
2015-11-13 08:58:31 +03:00
|
|
|
extern const char kNodeIntegration[];
|
2016-12-16 00:20:17 +03:00
|
|
|
extern const char kContextIsolation[];
|
2015-11-13 08:58:31 +03:00
|
|
|
extern const char kGuestInstanceID[];
|
2015-12-17 16:27:14 +03:00
|
|
|
extern const char kOpenerID[];
|
2016-05-06 08:57:43 +03:00
|
|
|
extern const char kScrollBounce[];
|
2017-01-12 03:36:59 +03:00
|
|
|
extern const char kHiddenPage[];
|
2017-03-15 12:51:21 +03:00
|
|
|
extern const char kNodeIntegrationInWorker[];
|
2015-11-13 08:58:31 +03:00
|
|
|
|
2015-12-16 13:06:38 +03:00
|
|
|
extern const char kWidevineCdmPath[];
|
|
|
|
extern const char kWidevineCdmVersion[];
|
|
|
|
|
2013-04-12 11:04:46 +04:00
|
|
|
} // namespace switches
|
|
|
|
|
|
|
|
} // namespace atom
|
|
|
|
|
2014-03-16 04:58:59 +04:00
|
|
|
#endif // ATOM_COMMON_OPTIONS_SWITCHES_H_
|