[M40_2214] Chromium upversion to m40_2214 branch
authorSeungSeop Park <sns.park@samsung.com>
Thu, 20 Nov 2014 05:14:45 +0000 (14:14 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
* Notes for this rebase:
1. gyp variable 'enable_printing' changed in m40_2214
   : enable_printing -> enable_basic_printing, enable_print_preview

2. Changed include path for gesture_configuration.h
   : ui/events/gestures/ -> ui/events/gesture_detection/

3. OnRequestPlatformNotificationPermission does not exist
   : The API removed from content/public/browser/content_browser_client.h.
     So, removed it from our code since it was dummy anyway.

4. ShowDesktopNotification() : arguments changed

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9170
Reviewed by: Kangil Han, SeungSeop Park, Viatcheslav Ostapenko

Change-Id: I9ecef10f24a48422fa5e44d5862d6935f161aa0a
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
13 files changed:
tizen_src/VERSION
tizen_src/build/gyp_chromiumefl.sh
tizen_src/ewk/efl_integration/pkgconfig/chromium-ewk.pc
tizen_src/ewk/efl_integration/public/ewk_settings.cc
tizen_src/ewk/efl_integration/public/ewk_view.cc
tizen_src/ewk/efl_webview_app/chromium-efl.xml
tizen_src/impl/browser/renderer_host/touchpad_tap_suppression_controller_efl.cc
tizen_src/impl/chromium-efl.gyp
tizen_src/impl/content_browser_client_efl.cc
tizen_src/impl/content_browser_client_efl.h
tizen_src/packaging/chromium-efl.spec
tizen_src/packaging/manifest.xml
tizen_src/sync_repos.sh

index 4c15a6c..c39e29f 100644 (file)
@@ -1 +1 @@
-Chromium upsteam version: 34.0.1847.76
+Chromium upsteam version: 40.0.2214.0
index dbbb804..26e3d0f 100755 (executable)
@@ -62,7 +62,8 @@ else
                               -Dpython_ver=$(getPythonVersion)
                               -Dtarget_arch=$host_arch
                               -Dhost_arch=$host_arch
-                              -Denable_printing=0
+                              -Denable_basic_printing=0
+                              -Denable_print_preview=0
                               -Duse_kerberos=0
                               -Duse_gconf=0
                              "
index 3dff4b8..127777d 100644 (file)
@@ -5,7 +5,7 @@ includedir=${prefix}/include
 
 Name: chromium-ewk
 Description: EWK API based on chromium-efl engine
-Version: 34.1847.76.35-1
+Version: 40.2214.0.47-1
 Requires: chromium-efl
 Libs: -L${libdir} -lchromium-ewk
 Cflags: -I${includedir}/chromium-ewk
index 55511de..faabcf6 100644 (file)
@@ -7,7 +7,7 @@
 #include <tizen_webview/public/tw_webview.h>
 
 // TODO: remove dependency
-#include <ui/events/gestures/gesture_configuration.h>
+#include <ui/events/gesture_detection/gesture_configuration.h>
 #include <../impl/API/ewk_settings_private.h>
 // TODO: move non-ewk header file to other location
 #include "public/text_encoding_map_efl.h"
index a198a41..3193112 100644 (file)
@@ -26,7 +26,7 @@
 #include <tizen_webview/public/tw_webview.h>
 
 // TODO: remove dependency
-#include <ui/events/gestures/gesture_configuration.h>
+#include <ui/events/gesture_detection/gesture_configuration.h>
 #if !defined(EWK_BRINGUP)
 #include <webkit/common/webpreferences.h>
 #else
index 120554d..89e2c19 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" package="chromium-efl" version="34.1847.76.35">
+<manifest xmlns="http://tizen.org/ns/packages" package="chromium-efl" version="40.2214.0.47">
     <label> mini browser application for chromium-efl package </label>
     <author href="www.samsung.com" email="sns.park@samsung.com">SWC</author>
     <description> mini browser application based on chromium-efl </description>
index 44dea6b..5c8de3e 100644 (file)
@@ -8,7 +8,7 @@
 #include "content/browser/renderer_host/input/input_router.h"
 #include "content/browser/renderer_host/input/tap_suppression_controller.h"
 #include "content/browser/renderer_host/input/tap_suppression_controller_client.h"
-#include "ui/events/gestures/gesture_configuration.h"
+#include "ui/events/gesture_detection/gesture_configuration.h"
 
 namespace content {
 
index 3b6ab2b..75337f6 100644 (file)
         'defines': [ 'EWK_BRINGUP=1' ],
         'defines!': [ 'TIZEN_CONTENTS_DETECTION=1' ],
       }],
-      ['enable_printing==0', {
+      ['enable_basic_printing==0 and enable_print_preview==0', {
         'sources!': [
           'renderer/print_pages_params.cc',
           'renderer/print_pages_params.h',
index a86740e..2a93cf9 100644 (file)
@@ -107,43 +107,10 @@ void ContentBrowserClientEfl::AllowCertificateError(
          resource_type, overridable, strict_enforcement, callback, result);
 }
 
-void ContentBrowserClientEfl::RequestDesktopNotificationPermission(
-    const GURL& source_origin,
-    content::RenderFrameHost* render_frame_host,
-    const base::Callback<void(blink::WebNotificationPermission)>& callback) {
-#if defined(ENABLE_NOTIFICATIONS) && !defined(EWK_BRINGUP)
-  WebContents* web_contents = WebContentsFromViewID(render_process_id,
-                                                    render_view_id);
-  if (!web_contents)
-    return;
-
-  WebContentsDelegateEfl* delegate =
-       static_cast<WebContentsDelegateEfl*>(web_contents->GetDelegate());
-  if (!delegate)
-    return;
-
-  BrowserContextEfl* browser_context =
-      static_cast<BrowserContextEfl*>(web_contents->GetBrowserContext());
-  NotificationPermissionRequest* notification_permission
-      = new NotificationPermissionRequest(delegate->web_view()->evas_object(),
-                                          callback_context,
-                                          tizen_webview::GetURL(source_origin));
-
-  delegate->web_view()->
-      SmartCallback<EWebViewCallbacks::NotificationPermissionRequest>()
-        .call(notification_permission);
-  // A smart callback cannot have ownership for data because the callback may
-  // not ever exist. Therefore new resource should be deleted in the call site.
-  // [sns.park] TODO: uncomment below if no side effect.
-  //delete notification_permission;
-#else
-  NOTIMPLEMENTED();
-#endif
-}
-
 void ContentBrowserClientEfl::ShowDesktopNotification(
       const content::ShowDesktopNotificationHostMsgParams& params,
-      content::RenderFrameHost* render_frame_host,
+      BrowserContext* browser_context,
+      int render_process_id,
       scoped_ptr<DesktopNotificationDelegate> delegate,
       base::Closure* cancel_callback) {
 #if defined(ENABLE_NOTIFICATIONS) && !defined(EWK_BRINGUP)
index f36cd12..f84f7e1 100644 (file)
@@ -57,16 +57,12 @@ class ContentBrowserClientEfl: public ContentBrowserClient {
                                      const base::Callback<void(bool)>& callback,
                                      CertificateRequestResultType* result) override;
 
-  // Asks permission to show desktop notifications.
-  virtual void RequestDesktopNotificationPermission(const GURL& source_origin,
-      content::RenderFrameHost* render_frame_host,
-      const base::Callback<void(blink::WebNotificationPermission)>& callback) override;
-
   // Show a desktop notification.  If |worker| is true, the request came from an
   // HTML5 web worker, otherwise, it came from a renderer.
   virtual void ShowDesktopNotification(
       const content::ShowDesktopNotificationHostMsgParams& params,
-      content::RenderFrameHost* render_frame_host,
+      BrowserContext* browser_context,
+      int render_process_id,
       scoped_ptr<DesktopNotificationDelegate> delegate,
       base::Closure* cancel_callback) override;
 
index cc71f07..f3dc29c 100755 (executable)
@@ -10,8 +10,8 @@
 Name: chromium-efl
 Summary: Chromium EFL
 # Set by by scripts/update-chromium-version.sh
-%define ChromiumVersion 40.2202.0
-%define Week 44
+%define ChromiumVersion 40.2214.0
+%define Week 47
 Version: %{ChromiumVersion}.%{Week}
 Release: 1
 Group: Applications/Internet
index 58ccfc6..f0528ff 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <Manifest xmlns="http://schemas.tizen.org/2012/12/manifest">
     <Id>kmcele1k1p</Id>
-    <Version>34.1847.76.35</Version>
+    <Version>40.2214.0.47</Version>
     <Type>C++App</Type>
     <Descriptions>
         <Description Locale="eng-PH"/>
index 62c9da2..f101968 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-BRANCH=dev/m40_2202
+BRANCH=dev/m40_2214
 URLBASE='ssh://165.213.202.130:29418/webplatform'
 REPOS=( "src|$URLBASE/s-chromium.git" \
         "src/third_party/WebKit|$URLBASE/s-blink" \