Upstream version 11.40.277.0
[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 // Disables the shared process mode
16 const char kXWalkDisableSharedProcessMode[] = "disable-shared-process-mode";
17
18 // Enable all the experimental features in XWalk.
19 const char kExperimentalFeatures[] = "enable-xwalk-experimental-features";
20
21 // Specifies the window whether launched with fullscreen mode.
22 const char kFullscreen[] = "fullscreen";
23
24 // List the command lines feature flags.
25 const char kListFeaturesFlags[] = "list-features-flags";
26
27 const char kXWalkAllowExternalExtensionsForRemoteSources[] =
28     "allow-external-extensions-for-remote-sources";
29
30 // Specifies the data path directory, which XWalk runtime will look for its
31 // state, e.g. cache, localStorage etc.
32 const char kXWalkDataPath[] = "data-path";
33
34 #if defined(OS_ANDROID)
35 // Specifies the separated folder to save user data on Android.
36 const char kXWalkProfileName[] = "profile-name";
37 #endif
38
39 }  // namespace switches