Add Tizen-platform implementation Web Process
authorArnaud Renevier <a.renevier@samsung.com>
Thu, 29 May 2014 20:20:40 +0000 (13:20 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Change-Id: Ibf0fa5f8acd084a7d1f1d83f7bdc9b4cf431519e

tizen_src/impl/chromium-efl.gyp
tizen_src/impl/web_process.cc [new file with mode: 0644]

index c0e4b5281295089ca492288faa5c9fbf443f5d96..6a2207e7de03f1a6fd6e1f300005c358245e85eb 100644 (file)
       '.',
       '../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 (file)
index 0000000..73c0e75
--- /dev/null
@@ -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);
+}