#include <algorithm>
#include <memory>
#include <map>
-#include <vector>
#include <regex> // NOLINT
#include <utility>
+#include <vector>
+#include "common/file_utils.h"
#include "common/logger.h"
#include "common/string_utils.h"
-#include "common/file_utils.h"
namespace common {
#include <app_control.h>
#include <bundle.h>
-#include <string>
-#include <vector>
#include <map>
#include <memory>
+#include <string>
+#include <vector>
namespace common {
#ifdef USE_APP_PREFERENCE
#include <app_preference.h>
#else
-#include <unistd.h>
-#include <sqlite3.h>
#include <app.h>
+#include <sqlite3.h>
+#include <unistd.h>
#endif
#include <memory>
-#include "common/string_utils.h"
#include "common/logger.h"
-
+#include "common/string_utils.h"
#ifndef USE_APP_PREFERENCE
#include "common/app_db_sqlite.h"
#endif
#ifndef XWALK_COMMON_APP_DB_H_
#define XWALK_COMMON_APP_DB_H_
-#include <string>
#include <list>
+#include <string>
namespace common {
-/*\r
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- */\r
-\r
-#ifndef XWALK_COMMON_APP_DB_SQLITE_H_\r
-#define XWALK_COMMON_APP_DB_SQLITE_H_\r
-\r
-#include <string>\r
-#include <list>\r
-\r
-#include "common/app_db.h"\r
-\r
-class sqlite3;\r
-\r
-namespace common {\r
-class SqliteDB : public AppDB {\r
- public:\r
- explicit SqliteDB(const std::string& app_data_path = std::string());\r
- ~SqliteDB();\r
- virtual bool HasKey(const std::string& section,\r
- const std::string& key) const;\r
- virtual std::string Get(const std::string& section,\r
- const std::string& key) const;\r
- virtual void Set(const std::string& section,\r
- const std::string& key,\r
- const std::string& value);\r
- virtual void GetKeys(const std::string& section,\r
- std::list<std::string>* keys) const;\r
- virtual void Remove(const std::string& section,\r
- const std::string& key);\r
-\r
- private:\r
- void Initialize();\r
- std::string app_data_path_;\r
- sqlite3* sqldb_;\r
-};\r
-\r
-} // namespace common\r
-\r
-#endif // XWALK_COMMON_APP_DB_SQLITE_H_\r
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef XWALK_COMMON_APP_DB_SQLITE_H_
+#define XWALK_COMMON_APP_DB_SQLITE_H_
+
+#include <list>
+#include <string>
+
+#include "common/app_db.h"
+
+class sqlite3;
+
+namespace common {
+class SqliteDB : public AppDB {
+ public:
+ explicit SqliteDB(const std::string& app_data_path = std::string());
+ ~SqliteDB();
+ virtual bool HasKey(const std::string& section,
+ const std::string& key) const;
+ virtual std::string Get(const std::string& section,
+ const std::string& key) const;
+ virtual void Set(const std::string& section,
+ const std::string& key,
+ const std::string& value);
+ virtual void GetKeys(const std::string& section,
+ std::list<std::string>* keys) const;
+ virtual void Remove(const std::string& section,
+ const std::string& key);
+
+ private:
+ void Initialize();
+ std::string app_data_path_;
+ sqlite3* sqldb_;
+};
+
+} // namespace common
+
+#endif // XWALK_COMMON_APP_DB_SQLITE_H_
#include "common/application_data.h"
-#include <package_manager.h>
-#include <manifest_handlers/widget_config_parser.h>
#include <manifest_handlers/application_manifest_constants.h>
+#include <manifest_handlers/widget_config_parser.h>
+#include <package_manager.h>
#include <vector>
-#include "common/logger.h"
#include "common/file_utils.h"
+#include "common/logger.h"
#include "common/profiler.h"
namespace common {
#include <manifest_handlers/appwidget_handler.h>
#include <manifest_handlers/app_control_handler.h>
#include <manifest_handlers/category_handler.h>
+#include <manifest_handlers/content_handler.h>
+#include <manifest_handlers/csp_handler.h>
#include <manifest_handlers/ime_handler.h>
#include <manifest_handlers/metadata_handler.h>
#include <manifest_handlers/navigation_handler.h>
#include <manifest_handlers/setting_handler.h>
#include <manifest_handlers/splash_screen_handler.h>
#include <manifest_handlers/tizen_application_handler.h>
-#include <manifest_handlers/widget_handler.h>
-#include <manifest_handlers/content_handler.h>
#include <manifest_handlers/warp_handler.h>
-#include <manifest_handlers/csp_handler.h>
-
+#include <manifest_handlers/widget_handler.h>
#include <memory>
#include <string>
#include "common/command_line.h"
#include <cstring>
+
#include "common/file_utils.h"
namespace common {
#ifndef XWALK_COMMON_COMMAND_LINE_H_
#define XWALK_COMMON_COMMAND_LINE_H_
-#include <string>
#include <map>
+#include <string>
#include <vector>
namespace common {
],
'variables': {
'packages': [
- 'dlog',
- 'gio-2.0',
- 'uuid',
- 'aul',
'appsvc',
- 'pkgmgr-info',
- 'manifest-parser',
- 'manifest-handlers',
- 'capi-appfw-package-manager',
+ 'aul',
'capi-appfw-application',
+ 'capi-appfw-package-manager',
'capi-system-system-settings',
+ 'dlog',
+ 'gio-2.0',
+ 'uuid',
'libcurl',
'libwebappenc',
+ 'manifest-parser',
+ 'manifest-handlers',
+ 'pkgmgr-info',
'glib-2.0',
],
},
#include "common/dbus_client.h"
-#include "common/logger.h"
#include "common/file_utils.h"
+#include "common/logger.h"
namespace common {
#ifndef XWALK_COMMON_DBUS_CLIENT_H_
#define XWALK_COMMON_DBUS_CLIENT_H_
-#include <glib.h>
#include <gio/gio.h>
+#include <glib.h>
-#include <string>
#include <functional>
#include <map>
+#include <string>
namespace common {
#ifndef XWALK_COMMON_DBUS_SERVER_H_
#define XWALK_COMMON_DBUS_SERVER_H_
-#include <glib.h>
#include <gio/gio.h>
-#include <string>
-#include <map>
+#include <glib.h>
#include <functional>
+#include <map>
+#include <string>
namespace common {
#include "common/file_utils.h"
-#include <unistd.h>
-#include <libgen.h>
#include <sys/types.h>
+#include <libgen.h>
+#include <unistd.h>
-#include <string>
-#include <sstream>
#include <algorithm>
+#include <sstream>
+#include <string>
namespace common {
namespace utils {
#include "common/locale_manager.h"
#include <system_settings.h>
-#include <memory>
+
#include <algorithm>
+#include <memory>
-#include "common/logger.h"
#include "common/file_utils.h"
+#include "common/logger.h"
namespace common {
#ifndef XWALK_COMMON_LOCALE_MANAGER_H_
#define XWALK_COMMON_LOCALE_MANAGER_H_
-#include <string>
#include <list>
#include <map>
+#include <string>
namespace common {
#include <time.h>
-#include <string>
-#include <memory>
#include <map>
+#include <memory>
+#include <string>
namespace common {
#ifndef XWALK_COMMON_RESOURCE_MANAGER_H_
#define XWALK_COMMON_RESOURCE_MANAGER_H_
-#include <string>
#include <map>
#include <memory>
+#include <string>
namespace wgt {
namespace parse {
#ifndef XWALK_COMMON_STRING_UTILS_H_
#define XWALK_COMMON_STRING_UTILS_H_
-#include <vector>
#include <string>
+#include <vector>
namespace common {
namespace utils {
* limitations under the License.
*/
+#include "common/url.h"
+
#include <algorithm>
#include <stdexcept>
-#include "common/url.h"
-
#include "common/logger.h"
#include "common/string_utils.h"
#include <string>
#include "common/logger.h"
-#include "extensions/public/XW_Extension.h"
#include "extensions/extension/xwalk_extension_adapter.h"
+#include "extensions/public/XW_Extension.h"
namespace extensions {
#include "extensions/extension/xwalk_extension.h"
#include "extensions/extension/xwalk_extension_instance.h"
-
#include "extensions/public/XW_Extension.h"
-#include "extensions/public/XW_Extension_SyncMessage.h"
#include "extensions/public/XW_Extension_EntryPoints.h"
-#include "extensions/public/XW_Extension_Runtime.h"
#include "extensions/public/XW_Extension_Permissions.h"
+#include "extensions/public/XW_Extension_Runtime.h"
+#include "extensions/public/XW_Extension_SyncMessage.h"
namespace extensions {
#ifndef XWALK_EXTENSIONS_XWALK_EXTENSION_INSTANCE_H_
#define XWALK_EXTENSIONS_XWALK_EXTENSION_INSTANCE_H_
-#include <string>
#include <functional>
+#include <string>
#include "extensions/public/XW_Extension.h"
#include <glib.h>
#include <glib-unix.h>
-#include "common/logger.h"
#include "common/command_line.h"
+#include "common/logger.h"
#include "extensions/extension/xwalk_extension_server.h"
int main(int argc, char* argv[]) {
#include "extensions/extension/xwalk_extension_server.h"
-#include <glob.h>
#include <glib.h>
+#include <glob.h>
+#include <fstream>
#include <string>
#include <vector>
-#include <fstream>
-#include "common/logger.h"
+#include "common/app_db.h"
#include "common/file_utils.h"
-#include "common/string_utils.h"
+#include "common/logger.h"
#include "common/picojson.h"
-#include "common/app_db.h"
+#include "common/string_utils.h"
+
#include "extensions/common/constants.h"
#include "extensions/extension/xwalk_extension.h"
#ifndef XWALK_EXTENSIONS_XWALK_EXTENSION_SERVER_H_
#define XWALK_EXTENSIONS_XWALK_EXTENSION_SERVER_H_
-#include <string>
-#include <set>
#include <map>
+#include <set>
+#include <string>
#include <vector>
-#include "common/dbus_server.h"
#include "common/dbus_client.h"
+#include "common/dbus_server.h"
#include "extensions/extension/xwalk_extension.h"
namespace extensions {
],
'variables': {
'packages': [
- 'elementary',
'chromium-efl',
+ 'elementary',
],
},
}, # end of target 'xwalk_extension_renderer'
#include "extensions/public/XW_Extension_Runtime.h"
#include "extensions/public/XW_Extension_SyncMessage.h"
-#include "common/logger.h"
#include "common/application_data.h"
#include "common/locale_manager.h"
+#include "common/logger.h"
#include "common/string_utils.h"
XW_Extension g_xw_extension = 0;
#include "extensions/renderer/object_tools_module.h"
#include <v8/v8.h>
+
#include <string>
#include "common/logger.h"
#include <v8/v8.h>
#include <ewk_ipc_message.h>
+
#include <functional>
#include <map>
#include <string>
#include "extensions/renderer/widget_module.h"
#include <v8/v8.h>
-#include <vector>
+
#include <algorithm>
+#include <vector>
-#include "common/logger.h"
#include "common/app_db.h"
+#include "common/logger.h"
namespace extensions {
#include "extensions/renderer/xwalk_extension_client.h"
-#include <unistd.h>
-#include <glib.h>
#include <gio/gio.h>
+#include <glib.h>
+#include <unistd.h>
+
#include <string>
#include "common/logger.h"
#include "common/profiler.h"
-
#include "extensions/common/constants.h"
namespace extensions {
#ifndef XWALK_EXTENSIONS_RENDERER_XWALK_EXTENSION_CLIENT_H_
#define XWALK_EXTENSIONS_RENDERER_XWALK_EXTENSION_CLIENT_H_
-#include <string>
-#include <memory>
#include <map>
+#include <memory>
+#include <string>
#include <vector>
#include "common/dbus_client.h"
#include "extensions/renderer/xwalk_extension_module.h"
-#include <stdio.h>
-#include <stdarg.h>
#include <v8/v8.h>
+#include <stdarg.h>
+#include <stdio.h>
#include <vector>
#include "common/logger.h"
+#include "extensions/renderer/runtime_ipc_client.h"
#include "extensions/renderer/xwalk_extension_client.h"
#include "extensions/renderer/xwalk_module_system.h"
-#include "extensions/renderer/runtime_ipc_client.h"
// The arraysize(arr) macro returns the # of elements in an array arr.
// The expression is a compile-time constant, and therefore can be
#include "common/logger.h"
#include "common/profiler.h"
+#include "extensions/renderer/object_tools_module.h"
+#include "extensions/renderer/widget_module.h"
#include "extensions/renderer/xwalk_extension_client.h"
#include "extensions/renderer/xwalk_extension_module.h"
#include "extensions/renderer/xwalk_module_system.h"
#include "extensions/renderer/xwalk_v8tools_module.h"
-#include "extensions/renderer/widget_module.h"
-#include "extensions/renderer/object_tools_module.h"
namespace extensions {
#define XWALK_EXTENSIONS_RENDERER_XWALK_EXTENSION_RENDERER_CONTROLLER_H_
#include <v8/v8.h>
-#include <string>
#include <memory>
+#include <string>
namespace extensions {
#include "extensions/renderer/xwalk_module_system.h"
#include <v8/v8.h>
+
#include <algorithm>
#include "common/logger.h"
#define XWALK_EXTENSIONS_RENDERER_XWALK_MODULE_SYSTEM_H_
#include <v8/v8.h>
-#include <vector>
-#include <string>
-#include <memory>
+
#include <map>
+#include <memory>
+#include <string>
+#include <vector>
namespace extensions {
%endif
############################################################
-BuildRequires: ninja
+BuildRequires: boost-devel
BuildRequires: edje-tools
BuildRequires: gettext
+BuildRequires: ninja
BuildRequires: python
-BuildRequires: boost-devel
BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(bundle)
-BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(capi-appfw-application)
-BuildRequires: pkgconfig(manifest-parser)
-BuildRequires: pkgconfig(manifest-handlers)
-BuildRequires: pkgconfig(pkgmgr-info)
BuildRequires: pkgconfig(capi-appfw-package-manager)
-BuildRequires: pkgconfig(efl-extension)
-BuildRequires: pkgconfig(deviced)
BuildRequires: pkgconfig(capi-system-system-settings)
-BuildRequires: pkgconfig(uuid)
-BuildRequires: pkgconfig(gio-2.0)
-BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(chromium-efl)
+BuildRequires: pkgconfig(deviced)
+BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(ecore)
-BuildRequires: pkgconfig(notification)
-BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(ecore-wayland)
-BuildRequires: pkgconfig(chromium-efl)
+BuildRequires: pkgconfig(efl-extension)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libwebappenc)
-BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(manifest-handlers)
+BuildRequires: pkgconfig(manifest-parser)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(uuid)
%description
Crosswalk Runtime and AppShell for Tizen 3.0 and later
#ifndef XWALK_RUNTIME_BROWSER_NATIVE_WINDOW_H_
#define XWALK_RUNTIME_BROWSER_NATIVE_WINDOW_H_
-#include <functional>
-#include <map>
#include <Elementary.h>
+#include <functional>
+#include <map>
+
namespace runtime {
class NativeWindow {
#ifndef XWALK_RUNTIME_BROWSER_NOTIFICATION_MANAGER_H_
#define XWALK_RUNTIME_BROWSER_NOTIFICATION_MANAGER_H_
-#include <string>
#include <map>
+#include <string>
namespace runtime {
class NotificationManager {
#include "runtime/browser/popup.h"
#include "common/logger.h"
-
-#include "runtime/common/constants.h"
#include "runtime/browser/native_window.h"
#include "runtime/browser/popup_string.h"
+#include "runtime/common/constants.h"
namespace runtime {
#ifndef XWALK_RUNTIME_BROWSER_POPUP_H_
#define XWALK_RUNTIME_BROWSER_POPUP_H_
-#include <Evas.h>
#include <Elementary.h>
+#include <Evas.h>
-#include <string>
+#include <functional>
#include <set>
+#include <string>
#include <vector>
-#include <functional>
namespace runtime {
* limitations under the License.
*/
-
#include "runtime/browser/runtime.h"
#include <ewk_chromium.h>
-#include <string>
#include <memory>
+#include <string>
-#include "common/logger.h"
-#include "common/command_line.h"
-#include "common/app_control.h"
#include "common/application_data.h"
+#include "common/app_control.h"
#include "common/app_db.h"
+#include "common/command_line.h"
+#include "common/logger.h"
#include "common/profiler.h"
-#include "runtime/common/constants.h"
#include "runtime/browser/native_app_window.h"
+#include "runtime/common/constants.h"
namespace runtime {
* limitations under the License.
*/
-
#ifndef XWALK_RUNTIME_BROWSER_RUNTIME_H_
#define XWALK_RUNTIME_BROWSER_RUNTIME_H_
#include <ewk_chromium.h>
-#include "common/logger.h"
#include "common/command_line.h"
+#include "common/logger.h"
#include "common/profiler.h"
#include "runtime/browser/runtime.h"
#include <app.h>
#include <Ecore.h>
#include <ewk_chromium.h>
+
#include <algorithm>
+#include <map>
#include <memory>
#include <sstream>
#include <vector>
-#include <map>
-#include "common/logger.h"
-#include "common/command_line.h"
-#include "common/string_utils.h"
-#include "common/app_control.h"
-#include "common/locale_manager.h"
#include "common/application_data.h"
-#include "common/resource_manager.h"
#include "common/app_db.h"
+#include "common/app_control.h"
+#include "common/command_line.h"
+#include "common/locale_manager.h"
+#include "common/logger.h"
#include "common/profiler.h"
-
+#include "common/resource_manager.h"
+#include "common/string_utils.h"
#include "runtime/browser/native_window.h"
-#include "runtime/browser/web_view.h"
-#include "runtime/browser/vibration_manager.h"
#include "runtime/browser/notification_manager.h"
#include "runtime/browser/popup.h"
#include "runtime/browser/popup_string.h"
+#include "runtime/browser/vibration_manager.h"
+#include "runtime/browser/web_view.h"
#ifndef INJECTED_BUNDLE_PATH
#error INJECTED_BUNDLE_PATH is not set.
#ifndef XWALK_RUNTIME_BROWSER_WEB_APPLICATION_H_
#define XWALK_RUNTIME_BROWSER_WEB_APPLICATION_H_
-#include <string>
+#include <functional>
#include <list>
#include <memory>
-#include <functional>
+#include <string>
#include "runtime/browser/web_view.h"
#include <Elementary.h>
#include <ewk_ipc_message.h>
-#include <string>
#include <functional>
+#include <string>
#include "runtime/browser/native_window.h"
#include <functional>
#include <sstream>
-#include "common/logger.h"
#include "common/file_utils.h"
+#include "common/logger.h"
#include "common/profiler.h"
#include "runtime/browser/native_window.h"
#ifndef XWALK_RUNTIME_BROWSER_WEB_VIEW_IMPL_H_
#define XWALK_RUNTIME_BROWSER_WEB_VIEW_IMPL_H_
-#include <ewk_chromium.h>
-#include <Elementary.h>
#include <efl_extension.h>
-#include <string>
+#include <Elementary.h>
+#include <ewk_chromium.h>
+
#include <map>
+#include <string>
#include "common/url.h"
#include "runtime/browser/web_view.h"
* limitations under the License.
*/
+#include <Ecore.h>
+#include <ewk_ipc_message.h>
#include <unistd.h>
#include <v8.h>
-#include <ewk_ipc_message.h>
-#include <Ecore.h>
-#include <string>
+
#include <memory>
+#include <string>
-#include "common/logger.h"
-#include "common/string_utils.h"
#include "common/application_data.h"
-#include "common/resource_manager.h"
#include "common/locale_manager.h"
+#include "common/logger.h"
#include "common/profiler.h"
+#include "common/resource_manager.h"
+#include "common/string_utils.h"
#include "extensions/renderer/runtime_ipc_client.h"
+#include "extensions/renderer/widget_module.h"
#include "extensions/renderer/xwalk_extension_renderer_controller.h"
#include "extensions/renderer/xwalk_module_system.h"
-#include "extensions/renderer/widget_module.h"
namespace runtime {
class BundleGlobalData {
],
'variables': {
'packages': [
+ 'capi-appfw-application',
+ 'chromium-efl',
'ecore',
'ecore-wayland',
- 'elementary',
'efl-extension',
- 'chromium-efl',
- 'capi-appfw-application',
+ 'elementary',
'deviced',
'notification',
],
],
'variables': {
'packages': [
- 'elementary',
'chromium-efl',
+ 'elementary',
],
},
}, # end of target 'xwalk_injected_bundle'
],
-}
\ No newline at end of file
+}