5e9e8ea016bb07299a19057d384557e74588b0a5
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / common / xwalk_switches.cc
1 // Copyright (c) 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "xwalk/runtime/common/xwalk_switches.h"
6
7 namespace switches {
8
9 // Specifies the icon file for the app window.
10 const char kAppIcon[] = "app-icon";
11
12 // Disables the usage of Portable Native Client.
13 const char kDisablePnacl[] = "disable-pnacl";
14
15 // Enable all the experimental features in XWalk.
16 const char kExperimentalFeatures[] = "enable-xwalk-experimental-features";
17
18 // Specifies the window whether launched with fullscreen mode.
19 const char kFullscreen[] = "fullscreen";
20
21 // Specifies install an application.
22 const char kInstall[] = "install";
23
24 // Specifies list all installed applications.
25 const char kListApplications[] = "list-apps";
26
27 // List the command lines feature flags.
28 const char kListFeaturesFlags[] = "list-features-flags";
29
30 // Specifies uninstall an application from runtime.
31 const char kUninstall[] = "uninstall";
32
33 const char kXWalkAllowExternalExtensionsForRemoteSources[] =
34     "allow-external-extensions-for-remote-sources";
35
36 // Runs Crosswalk in service mode: it loads no application by default but stays
37 // alive, and listens for external requests to launch applications. The way to
38 // issue these requests is platform-specific.
39 const char kXWalkRunAsService[] = "run-as-service";
40
41 // Specifies the data path directory, which XWalk runtime will look for its
42 // state, e.g. cache, localStorage etc.
43 const char kXWalkDataPath[] = "data-path";
44
45 }  // namespace switches