electron/atom/common/options_switches.cc

42 lines
1.2 KiB
C++
Raw Normal View History

2013-04-12 07:04:46 +00:00
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// 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";
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";
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";
// 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";
const char kNodeIntegration[] = "node-integration";
// Enable the NSView to accept first mouse event.
const char kAcceptFirstMouse[] = "accept-first-mouse";
2013-04-12 07:04:46 +00:00
} // namespace switches
} // namespace atom