namespace application_manifest_keys {
const char kAppKey[] = "app";
-const char kAppMainKey[] = "app.main";
-const char kAppMainScriptsKey[] = "app.main.scripts";
-const char kAppMainSourceKey[] = "app.main.source";
-const char kCSPKey[] = "content_security_policy";
+const char kCSPKey[] = "csp";
+const char kCSPKeyLegacy[] = "content_security_policy";
const char kDescriptionKey[] = "description";
const char kDisplay[] = "display";
const char kLaunchLocalPathKey[] = "app.launch.local_path";
const char kVersionKey[] = "version";
const char kWebURLsKey[] = "app.urls";
const char kXWalkHostsKey[] = "xwalk_hosts";
+const char kXWalkLaunchScreen[] = "xwalk_launch_screen";
+const char kXWalkLaunchScreenDefault[] = "xwalk_launch_screen.default";
+const char kXWalkLaunchScreenImageBorderDefault[] =
+ "xwalk_launch_screen.default.image_border";
+const char kXWalkLaunchScreenImageBorderLandscape[] =
+ "xwalk_launch_screen.landscape.image_border";
+const char kXWalkLaunchScreenImageBorderPortrait[] =
+ "xwalk_launch_screen.portrait.image_border";
+const char kXWalkLaunchScreenLandscape[] = "xwalk_launch_screen.landscape";
+const char kXWalkLaunchScreenPortrait[] = "xwalk_launch_screen.portrait";
+const char kXWalkLaunchScreenReadyWhen[] = "xwalk_launch_screen.ready_when";
#if defined(OS_TIZEN)
const char kTizenAppIdKey[] = "tizen_app_id";
const char kDefaultLocaleKey[] = "widget.@defaultlocale";
const char kNameKey[] = "widget.name.#text";
const char kVersionKey[] = "widget.@version";
+const char kViewModesKey[] = "widget.@viewmodes";
const char kWidgetKey[] = "widget";
const char kLaunchLocalPathKey[] = "widget.content.@src";
const char kWebURLsKey[] = "widget.@id";
namespace application {
-const char* GetNameKey(Manifest::PackageType package_type) {
- if (package_type == Manifest::TYPE_WGT)
+const char* GetNameKey(Package::Type package_type) {
+ if (package_type == Package::WGT)
return application_widget_keys::kNameKey;
return application_manifest_keys::kNameKey;
}
-const char* GetVersionKey(Manifest::PackageType package_type) {
- if (package_type == Manifest::TYPE_WGT)
+const char* GetVersionKey(Package::Type package_type) {
+ if (package_type == Package::WGT)
return application_widget_keys::kVersionKey;
return application_manifest_keys::kVersionKey;
}
-const char* GetWebURLsKey(Manifest::PackageType package_type) {
- if (package_type == Manifest::TYPE_WGT)
+const char* GetWebURLsKey(Package::Type package_type) {
+ if (package_type == Package::WGT)
return application_widget_keys::kWebURLsKey;
return application_manifest_keys::kWebURLsKey;
}
-const char* GetLaunchLocalPathKey(Manifest::PackageType package_type) {
- if (package_type == Manifest::TYPE_WGT)
+const char* GetLaunchLocalPathKey(Package::Type package_type) {
+ if (package_type == Package::WGT)
return application_widget_keys::kLaunchLocalPathKey;
return application_manifest_keys::kLaunchLocalPathKey;
}
-const char* GetCSPKey(Manifest::PackageType package_type) {
- if (package_type == Manifest::TYPE_WGT)
+const char* GetCSPKey(Package::Type package_type) {
+ if (package_type == Package::WGT)
return application_widget_keys::kCSPKey;
return application_manifest_keys::kCSPKey;
}
#if defined(OS_TIZEN)
-const char* GetTizenAppIdKey(Manifest::PackageType package_type) {
- if (package_type == Manifest::TYPE_WGT)
+const char* GetTizenAppIdKey(Package::Type package_type) {
+ if (package_type == Package::WGT)
return application_widget_keys::kTizenAppIdKey;
return application_manifest_keys::kTizenAppIdKey;
}
-const char* GetIcon128Key(Manifest::PackageType package_type) {
- if (package_type == Manifest::TYPE_WGT)
+const char* GetIcon128Key(Package::Type package_type) {
+ if (package_type == Package::WGT)
return application_widget_keys::kIcon128Key;
return application_manifest_keys::kIcon128Key;