From 053719528aeb3e82a02483e7c4ca8345b1cc8154 Mon Sep 17 00:00:00 2001 From: Arnaud Renevier Date: Thu, 29 May 2014 13:20:40 -0700 Subject: [PATCH] Add Tizen-platform implementation Web Process Change-Id: Ibf0fa5f8acd084a7d1f1d83f7bdc9b4cf431519e --- tizen_src/impl/chromium-efl.gyp | 3 +++ tizen_src/impl/web_process.cc | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 tizen_src/impl/web_process.cc diff --git a/tizen_src/impl/chromium-efl.gyp b/tizen_src/impl/chromium-efl.gyp index c0e4b52..6a2207e 100644 --- a/tizen_src/impl/chromium-efl.gyp +++ b/tizen_src/impl/chromium-efl.gyp @@ -193,6 +193,9 @@ '.', '../ewk_api_headers', ], + 'sources': [ + 'web_process.cc', + ], 'dependencies': [ 'chromium-efl', ], diff --git a/tizen_src/impl/web_process.cc b/tizen_src/impl/web_process.cc new file mode 100644 index 0000000..73c0e75 --- /dev/null +++ b/tizen_src/impl/web_process.cc @@ -0,0 +1,33 @@ +/* + Copyright (C) 2014 Samsung Electronics + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#include "base/logging.h" +#include "web_process_content_main_delegate_efl.h" + +int main(int argc, const char **argv) { + LOG(INFO) << "web process launching..."; + + content::WebProcessContentMainDelegateEfl content_main_delegate; + content::ContentMainParams params(&content_main_delegate); + + params.argc = argc; + params.argv = argv; + + return content::ContentMain(params); +} -- 2.7.4