2013-04-12 07:04:46 +00:00
|
|
|
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
|
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.
|
|
|
|
|
2014-03-16 00:30:26 +00:00
|
|
|
#include "atom/common/options_switches.h"
|
2013-04-12 07:04:46 +00:00
|
|
|
|
|
|
|
namespace atom {
|
|
|
|
|
|
|
|
namespace switches {
|
|
|
|
|
|
|
|
const char kTitle[] = "title";
|
|
|
|
const char kIcon[] = "icon";
|
|
|
|
const char kFrame[] = "frame";
|
|
|
|
const char kShow[] = "show";
|
2013-05-10 12:34:05 +00:00
|
|
|
const char kCenter[] = "center";
|
2013-04-12 07:04:46 +00:00
|
|
|
const char kX[] = "x";
|
|
|
|
const char kY[] = "y";
|
|
|
|
const char kWidth[] = "width";
|
|
|
|
const char kHeight[] = "height";
|
2013-05-10 12:34:05 +00:00
|
|
|
const char kMinWidth[] = "min-width";
|
|
|
|
const char kMinHeight[] = "min-height";
|
|
|
|
const char kMaxWidth[] = "max-width";
|
|
|
|
const char kMaxHeight[] = "max-height";
|
2013-04-12 07:04:46 +00:00
|
|
|
const char kResizable[] = "resizable";
|
|
|
|
const char kFullscreen[] = "fullscreen";
|
|
|
|
|
2014-06-16 02:29:51 +00:00
|
|
|
// Whether the window should show in taskbar.
|
|
|
|
const char kSkipTaskbar[] = "skip-taskbar";
|
|
|
|
|
2013-04-12 07:04:46 +00:00
|
|
|
// Start with the kiosk mode, see Opera's page for description:
|
|
|
|
// http://www.opera.com/support/mastering/kiosk/
|
|
|
|
const char kKiosk[] = "kiosk";
|
|
|
|
|
|
|
|
// Make windows stays on the top of all other windows.
|
|
|
|
const char kAlwaysOnTop[] = "always-on-top";
|
|
|
|
|
2014-01-30 15:20:12 +00:00
|
|
|
const char kNodeIntegration[] = "node-integration";
|
2014-01-30 13:57:01 +00:00
|
|
|
|
2014-03-15 11:28:23 +00:00
|
|
|
// Enable the NSView to accept first mouse event.
|
|
|
|
const char kAcceptFirstMouse[] = "accept-first-mouse";
|
|
|
|
|
2014-05-15 07:18:46 +00:00
|
|
|
// Whether window size should include window frame.
|
|
|
|
const char kUseContentSize[] = "use-content-size";
|
|
|
|
|
2014-05-22 14:54:09 +00:00
|
|
|
// The WebPreferences.
|
|
|
|
const char kWebPreferences[] = "web-preferences";
|
|
|
|
|
2014-06-16 10:52:04 +00:00
|
|
|
// The factor of which page should be zoomed.
|
|
|
|
const char kZoomFactor[] = "zoom-factor";
|
|
|
|
|
2014-08-07 05:47:58 +00:00
|
|
|
// The menu bar is hidden unless "Alt" is pressed.
|
|
|
|
const char kAutoHideMenuBar[] = "auto-hide-menu-bar";
|
|
|
|
|
2014-08-17 04:23:00 +00:00
|
|
|
// Enable window to be resized larger than screen.
|
|
|
|
const char kEnableLargerThanScreen[] = "enable-larger-than-screen";
|
|
|
|
|
2014-08-21 04:24:55 +00:00
|
|
|
// Forces to use dark theme on Linux.
|
|
|
|
const char kDarkTheme[] = "dark-theme";
|
|
|
|
|
2014-09-09 05:21:15 +00:00
|
|
|
// Web runtime features.
|
|
|
|
const char kExperimentalFeatures[] = "experimental-features";
|
2014-09-09 02:33:31 +00:00
|
|
|
const char kExperimentalCanvasFeatures[] = "experimental-canvas-features";
|
2014-09-09 05:21:15 +00:00
|
|
|
const char kSubpixelFontScaling[] = "subpixel-font-scaling";
|
|
|
|
const char kOverlayScrollbars[] = "overlay-scrollbars";
|
|
|
|
const char kOverlayFullscreenVideo[] = "overlay-fullscreen-video";
|
|
|
|
const char kSharedWorker[] = "shared-worker";
|
2014-09-09 02:33:31 +00:00
|
|
|
|
2013-04-12 07:04:46 +00:00
|
|
|
} // namespace switches
|
|
|
|
|
|
|
|
} // namespace atom
|