[M44_2403] Chromium upversion to m44_2403 branch
authorYoungcheol Kang <ychul.kang@samsung.com>
Wed, 29 Jul 2015 06:51:54 +0000 (15:51 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
This patch cherry-picked from below patches of dev/master branch,

[Origin Patch]

- [M43_2357] Chromium upversion to m43_2357 branch
  (http://165.213.202.130/gerrit/#/c/79126/)
- fixup! [M43_2357] Chromium upversion to m43_2357 branch
  (http://165.213.202.130/gerrit/#/c/80912/)
- Always forward touch events to the TouchEventQueue
  (http://165.213.202.130/gerrit/#/c/80137/)
- [M44_2403] Chromium upversion to m44_2403 branch
  (http://165.213.202.130/gerrit/#/c/81624/)
- [M44_2403][EWK_BRINGUP] modify to call WebContents::ClosePage()
  (http://165.213.202.130/gerrit/#/c/82170/)
- [M44_2403][EWK_BRINGUP] modify to call RenderViewHostImpl::Blur() directly
  (http://165.213.202.130/gerrit/#/c/82168/)

This patch deals with following upstream changes:

1. Folder and class name changes

- Changed the name of the LayoutThemeChromium* to the LayoutTheme*
- Changed the name of the devtools_target.h to the
  devtools_target_descriptor.h. Also the namespace and path changed to
  the components/devtools_discovery from the content/public/browser
- Changed the path of the content_renderer to the relative path from the
  absolute path
- Changed the path of the skcanvas_video_renderer.h to the media/blink
  from the media/filters
- Changed the path of the video_capture_types.h to the media/base from
  the media/video/capture
- Changed the namespace and path of the devtools_http_handler.h to the
  components/devtools_http_handler from the content/public/browser
  Because of this the namespace of the DevToolsDelegateEfl class in
  impl/ changed to the devtools_http_handler from the content
- Changed the namespace and path of the sqlite_persistent_cookie_store.h
  to the net/extras/sqlite from the content/browser/net

2. API changes

- Added the CreateGPUTimingClient API in the gfx::GLContext class
- Added the CreatePlugin API in LoadablePluginPlaceholder class
- Added the DidHostRunInsecureContent, HostRanInsecureContent API in
  SSLHostStateDelegate class
- Added the GetPermissionManager API in the BrowserContext class
- Added the GetFrontendResource, GetPageThumbnailData API in
  DevToolsHttpHandlerDelegate class
- Added the GetImageTextureTarget, GetTaskGraphRunner API in
  ContextFactory class
- Changed the argument of Compositor API in ui class
- Changed the argument of CreateNewWindow API in Shell class
- Changed the argument of CreateOutputSurface API in ContextFactory
  class
- Changed the argument of DownloadImage API in WebContentsImpl class
- Changed the argument of DidStartLoading API in RenderViewImpl class
- Changed the argument of EnterFullscreenModeForTab API in
  WebContentsDelegate class
- Changed the argument of InProcessGpuThread in content class
- Changed the argument of ReadbackYUV API in ReadbackYUVImpl class
- Changed the argument of RemoveReflector API in ContextFactory class
- Changed the argument of SQLitePersistentCookieStore API in net class
- Changed the argement of ReportValueChanged, SetValue, RemoveValue API
  in PersistentPrefStore class
- Changed the return type of CreateReflector API in ContextFactory class
- Changed the ExecuteJavaScriptForTests API to the
  ExecuteJavaScriptWithUserGestureForTests API in the RenderFrameHost
  class
- Changed the GetLastActivityTime API to the GetLastActiveTime API in
  the DevToolsTargetDescriptor class. Also the return type was changed
  to the base::Time from the base::TimeTicks
- Changed the OnUnmaskVerificationResult, GetRapporService,
  PropagateAutofillPredictions, IsAutocompleteSavingEnabled API in
  AutofillClient class
- Changed the PermissionType class to enum class
- Removed the Blur API in RenderWidgetHostView class
- Removed the BundlesFrontendResources, GetDebugFrontendDir API in
  DevToolsHttpHandlerDelegate class
- Removed the CreateMediaSourceErrorEvent API in MediaLog Class
- Removed the CreateNewTarget, EnumerateTargets, GetPageThumbnailData
  API in DevToolsManagerDelegate class
- Removed the DidCreateScriptContext API in ContentRendererClient class
- Removed the GetCompositorMessageLoop API in ContextFactory class
- Removed the IsAutocompleteSavingEnabled, DetectAccountCreationForms
  API in AutofillClient class
- Removed the OrientationLock API in ScreenOrientationDelegate class
- Removed the OrientationLock, OrientationUnlock class in
  WebContentsDelegate class
- Removed the ShouldForwardTouchEvent API in RenderWidgetHostImpl class
- Removed the WebContentsDestroyed API and added the ResetDialogState
  API in JavaScriptDialogManager class

3. Need to change API (TODO issues)

- The icu function has been changed. Temporary using the icu of the
  chromium instead of the system.
  (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13290)
- The multimedia function has been changed. Temporary disabling the
  'tizen_multimedia_support' flag
  (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14037)
- The Reflector class has been changed. Temporary disabling the codes
  (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14038)
- The KillProcessAPI was removed in base class. Temporary disabling the
  codes (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14039)
- Some switch was removed in the cc::switches class. Temporary disabling
  the codes (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14040)
- The GestureConfiguration class has been changed. Temporary disabling
  the 'gesture_detection' setting
  (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14041)
- The PersonalDataManager class has been changed. Temporary disabling
  the codes (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14042)
- The RequestPermission class has been changed. Temporary disabling the
  codes (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14043)
- The DevToolsHttpHandler class has been changed. Temporary disabling
  the codes (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14044)
- The g_app_info_launch_default_for_uri API was undefined in desktop
  build (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14045)
- The GPU function has been changed. Temporary disabling the
  'tizen_disable_gpu_thread' flag
  (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14046)
- The build breaks in libGLESv2.gypi. For the temporary solution the
  patch file into the /src/tizen_src/build/patches
  (http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14048)

4. Verification

- This patch supports to the mobile and tv target on Tizen 2.4 and 3.0
- There is no build breaks in all target
- The browser (efl_webview_app, mini_browser, ubrowser) is working in
  all target

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14049

Change-Id: Ic9f5cf9bde8340030ac8a296d6c324f35c547f3c
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
67 files changed:
tizen_src/DEPS.efl
tizen_src/VERSION
tizen_src/build/gbs.conf
tizen_src/build/gyp_chromiumefl.sh
tizen_src/build/patches/hotfix_angle.diff [new file with mode: 0644]
tizen_src/chromium_impl/components/js_dialogs_efl/javascript_dialog_manager_efl.cc
tizen_src/chromium_impl/components/js_dialogs_efl/javascript_dialog_manager_efl.h
tizen_src/chromium_impl/content/browser/renderer_host/context_factory_efl.cc
tizen_src/chromium_impl/content/browser/renderer_host/context_factory_efl.h
tizen_src/chromium_impl/content/browser/renderer_host/render_widget_host_view_efl.cc
tizen_src/chromium_impl/content/browser/renderer_host/render_widget_host_view_efl.h
tizen_src/chromium_impl/content/browser/screen_orientation/screen_orientation_delegate_efl.cc
tizen_src/chromium_impl/content/browser/web_contents/web_contents_impl_efl.cc
tizen_src/chromium_impl/content/browser/web_contents/web_contents_view_efl.cc
tizen_src/chromium_impl/content/gpu/in_process_gpu_thread_efl.cc
tizen_src/chromium_impl/content/renderer/media/efl/media_source_delegate_efl.cc
tizen_src/chromium_impl/content/renderer/media/efl/media_source_delegate_efl.h
tizen_src/chromium_impl/content/renderer/media/efl/webmediaplayer_efl.h
tizen_src/chromium_impl/content/shell/browser/shell_efl.cc
tizen_src/chromium_impl/efl/init.cc
tizen_src/chromium_impl/third_party/WebKit/Source/core/core_efl.gypi
tizen_src/chromium_impl/third_party/WebKit/Source/core/rendering/RenderThemeChromiumTizen.cpp
tizen_src/chromium_impl/third_party/WebKit/Source/core/rendering/RenderThemeChromiumTizen.h
tizen_src/chromium_impl/ui/gl/efl_pixmap.h
tizen_src/chromium_impl/ui/gl/gl_shared_context_efl.cc
tizen_src/chromium_impl/ui/ui_efl.gypi
tizen_src/ewk/efl_integration/browser/autofill/autofill_manager_delegate_efl.cc
tizen_src/ewk/efl_integration/browser/autofill/autofill_manager_delegate_efl.h
tizen_src/ewk/efl_integration/browser/autofill/autofill_pref_store_efl.cc
tizen_src/ewk/efl_integration/browser/autofill/autofill_pref_store_efl.h
tizen_src/ewk/efl_integration/browser/autofill/personal_data_manager_factory.cc
tizen_src/ewk/efl_integration/browser/favicon/favicon_downloader.cc
tizen_src/ewk/efl_integration/browser/javascript_dialog_manager_efl.h
tizen_src/ewk/efl_integration/browser/notification/notification_controller_efl.cc
tizen_src/ewk/efl_integration/browser/ssl_host_state_delegate_efl.cc
tizen_src/ewk/efl_integration/browser/ssl_host_state_delegate_efl.h
tizen_src/ewk/efl_integration/browser_context_efl.h
tizen_src/ewk/efl_integration/browser_main_parts_efl.cc
tizen_src/ewk/efl_integration/browser_main_parts_efl.h
tizen_src/ewk/efl_integration/command_line_efl.cc
tizen_src/ewk/efl_integration/content_browser_client_efl.cc
tizen_src/ewk/efl_integration/content_browser_client_efl.h
tizen_src/ewk/efl_integration/cookie_manager.h
tizen_src/ewk/efl_integration/devtools_delegate_efl.cc
tizen_src/ewk/efl_integration/devtools_delegate_efl.h
tizen_src/ewk/efl_integration/devtools_manager_delegate_efl.cc
tizen_src/ewk/efl_integration/devtools_manager_delegate_efl.h
tizen_src/ewk/efl_integration/efl_integration.gypi
tizen_src/ewk/efl_integration/eweb_context.cc
tizen_src/ewk/efl_integration/eweb_context.h
tizen_src/ewk/efl_integration/eweb_view.cc
tizen_src/ewk/efl_integration/eweb_view.h
tizen_src/ewk/efl_integration/ewk_global_data.cc
tizen_src/ewk/efl_integration/pkgconfig/chromium-ewk.pc
tizen_src/ewk/efl_integration/popup_controller_efl.cc
tizen_src/ewk/efl_integration/renderer/content_renderer_client_efl.cc
tizen_src/ewk/efl_integration/renderer/content_renderer_client_efl.h
tizen_src/ewk/efl_integration/renderer/plugins/plugin_placeholder_efl.cc
tizen_src/ewk/efl_integration/renderer/plugins/plugin_placeholder_efl.h
tizen_src/ewk/efl_integration/url_request_context_getter_efl.cc
tizen_src/ewk/efl_integration/web_contents_delegate_efl.cc
tizen_src/ewk/efl_integration/web_contents_delegate_efl.h
tizen_src/ewk/efl_webview_app/chromium-efl.xml
tizen_src/ewk/efl_webview_app/efl_webview_app.gypi
tizen_src/packaging/chromium-efl.spec
tizen_src/packaging/manifest.xml
tizen_src/supplement.gypi

index 56c6aaa..bc3c506 100644 (file)
@@ -25,7 +25,7 @@ ozone_wayland_rev = 'bd769b47008882f3d0fcb78070415a5ef2700032'
 # SVN revision while Blink is still in SVN.
 blink_upstream_rev = '191638' #TODO(TK) : need to update revision number
 
-efl_integration_branch = 'origin/beta/m42_2311_t'
+efl_integration_branch = 'origin/dev/m44_2403'
 ct_git = 'ssh://165.213.202.130:29418/webplatform'
 
 ozone_wayland_git = 'https://github.com/01org'
index a5be0ab..e552a80 100644 (file)
@@ -1 +1 @@
-Chromium upsteam version: 42.0.2311.0
+Chromium upsteam version: 44.0.2403.0
index 35ff302..fbddf0a 100755 (executable)
@@ -5,14 +5,17 @@
 [profile.tizenmb_v2.4]
 obs = obs.tizenmb
 # The order is IMPORTANT!
-repos = repo.devel-gcc49-base, repo.tizenmb_base_v2.4_obs
+repos = repo.tizenmb_supplement_v2.4, repo.devel_gcc49_base_standard, repo.spin_2.4_mobile_target_tm1
 buildroot = ~/GBS-ROOT-2.4-DEV
 
-[repo.devel-gcc49-base]
-url = http://168.219.209.55/download/live/devel:/gcc49:/Base/standard/
+[repo.spin_2.4_mobile_target_tm1]
+url = http://168.219.209.55/download/snapshots/2.4-mobile/common/latest/repos/target-TM1/packages/
 
-[repo.tizenmb_base_v2.4_obs]
-url = http://168.219.209.55/download/snapshots/2.4-mobile/common/latest/repos/target/packages
+[repo.devel_gcc49_base_standard]
+url = http://168.219.209.55/download/snapshots/2.4-base/common/latest/repos/standard/packages/
+
+[repo.tizenmb_supplement_v2.4]
+url = http://10.251.52.177/tizenrepo/eur-open/supplement_mobile_v2.4/
 
 ###############################################
 #
@@ -21,11 +24,14 @@ url = http://168.219.209.55/download/snapshots/2.4-mobile/common/latest/repos/ta
 [profile.tizen_emulator_v2.4]
 obs = obs.tizenmb
 # The order is IMPORTANT!
-repos = repo.tizen_emulator_base_v2.4_obs
+repos = repo.spin_2.4_mobile_emulator, repo.devel_gcc49_base_emulator
 buildroot = ~/GBS-ROOT-2.4-DEV
 
-[repo.tizen_emulator_base_v2.4_obs]
-url = http://168.219.209.55/download/snapshots/2.4-mobile/common/latest/repos/emulator/packages
+[repo.spin_2.4_mobile_emulator]
+url = http://168.219.209.55/download/snapshots/2.4-mobile/common/latest/repos/emulator/packages/
+
+[repo.devel_gcc49_base_emulator]
+url = http://168.219.209.55/download/live/devel:/gcc49:/Base/emulator/
 
 ###############################################
 #
index 3ebcf54..767078a 100755 (executable)
@@ -81,6 +81,7 @@ COMMON_GYP_PARAMETERS="
                       -Duse_cairo=0
                       -Duse_openssl=1
                       -Duse_openssl_certs=1
+                      -Duse_nss_certs=0
                       -Dtizen_multimedia_eme_support=0
                       -Denable_plugins=1
                       -Denable_extensions=1
@@ -101,10 +102,13 @@ add_desktop_flags() {
                               -Dbuilding_for_tizen_mobile=0
                               -Dbuilding_for_tizen_tv=0
                               -Dclang=${USE_CLANG}
-                              -Dtizen_multimedia_support=1
                               -Dwerror=
                               -Duse_wayland=0
                              "
+  # [M44_2403] Temporary disabling the multimedia flag for switching to new chromium
+  #            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14037
+  ADDITIONAL_GYP_PARAMETERS+="-Dtizen_multimedia_support=0
+                             "
 }
 
 add_arm_flags() {
@@ -143,10 +147,14 @@ add_tizen_flags() {
   fi
 
   if [ "$tizen_version" == "3.0" ]; then
-    COMMON_GYP_PARAMETERS+="-Dtizen_multimedia_support=1
+    # [M44_2403] Temporary disabling the multimedia flag for switching to new chromium
+    #            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14037
+    COMMON_GYP_PARAMETERS+="-Dtizen_multimedia_support=0
                            "
   elif [ "$tizen_version" == "2.4" -a "$target" == "tv" ]; then
-    COMMON_GYP_PARAMETERS+="-Dtizen_multimedia_support=1
+    # [M44_2403] Temporary disabling the multimedia flag for switching to new chromium
+    #            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14037
+    COMMON_GYP_PARAMETERS+="-Dtizen_multimedia_support=0
                            "
   else
     COMMON_GYP_PARAMETERS+="-Dtizen_multimedia_support=0
@@ -178,7 +186,6 @@ add_gbs_flags() {
   # Unfortunately the gbs root doesn't contain everything chromium needs.
   SYSTEM_DEPS="-Duse_system_expat=1
                -Duse_system_flac=1
-               -Duse_system_icu=1
                -Duse_system_libjpeg=0
                -Duse_system_libpng=1
                -Duse_system_libxml=1
@@ -187,6 +194,13 @@ add_gbs_flags() {
                -Duse_system_speex=1
                -Duse_system_zlib=1
               "
+
+  # [M44_2403] Temporary changing which uses the chromium 'ICU' instead of the system 'ICU'
+  #            for switching to new chromium
+  #            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13290
+  SYSTEM_DEPS="-Duse_system_icu=0
+              "
+
   if [ "$target" == "mobile" ]; then
     SYSTEM_DEPS+="-Duse_system_bzip2=1
                   -Duse_system_libexif=1
diff --git a/tizen_src/build/patches/hotfix_angle.diff b/tizen_src/build/patches/hotfix_angle.diff
new file mode 100644 (file)
index 0000000..0dc778b
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/third_party/angle/src/libGLESv2.gypi b/src/libGLESv2.gypi
+index bc021c5..29c93fc 100644
+--- a/third_party/angle/src/libGLESv2.gypi
++++ b/third_party/angle/src/libGLESv2.gypi
+@@ -744,7 +744,7 @@
+                 {
+                     'msvs_enable_winphone' : '1',
+                 }],
+-                ['OS=="linux"',
++                ['OS=="linux" and use_wayland==0',
+                 {
+                     'link_settings': {
+                         'ldflags': [
index ced17a0..b2ae6b3 100644 (file)
@@ -84,9 +84,9 @@ void JavaScriptDialogManagerEfl::CancelActiveAndPendingDialogs(
   }
 }
 
-void JavaScriptDialogManagerEfl::WebContentsDestroyed(
+void JavaScriptDialogManagerEfl::ResetDialogState(
     content::WebContents* web_contents) {
-  CancelActiveAndPendingDialogs(web_contents);
+  NOTIMPLEMENTED();
 }
 
 } // namespace content
index 951cd9f..eb1b2e9 100644 (file)
@@ -44,7 +44,7 @@ class JavaScriptDialogManagerEfl: public JavaScriptDialogManager {
       const base::string16* prompt_override) override;
   void CancelActiveAndPendingDialogs(
       content::WebContents* web_contents) override;
-  void WebContentsDestroyed(
+  void ResetDialogState(
       content::WebContents* web_contents) override;
 
  private:
index 0c5da1f..e897544 100644 (file)
@@ -427,9 +427,7 @@ void ContextFactoryEfl::GetFrameFromMailbox(gpu::Mailbox* mailbox,
   delegate_->GetTextureFromMailbox(mailbox, size);
 }
 
-void ContextFactoryEfl::CreateOutputSurface(
-    base::WeakPtr<Compositor> compositor,
-    bool software_fallback) {
+void ContextFactoryEfl::CreateOutputSurface(base::WeakPtr<Compositor> compositor) {
   blink::WebGraphicsContext3D::Attributes attrs;
   attrs.depth = false;
   attrs.stencil = false;
@@ -447,7 +445,7 @@ void ContextFactoryEfl::CreateOutputSurface(
   if (gpu_channel_host.get() && !gpu_channel_host->IsLost()) {
     context_provider = content::ContextProviderCommandBuffer::Create(
         CreateGpuProcessViewContext(gpu_channel_host, attrs, 0),
-        "BrowserCompositor");
+        content::BROWSER_COMPOSITOR_ONSCREEN_CONTEXT);
   }
   if (!context_provider.get()) {
     LOG(ERROR) << "Failed to create 3D context for compositor.";
@@ -470,13 +468,20 @@ void ContextFactoryEfl::CreateOutputSurface(
 #endif
 }
 
-scoped_refptr<Reflector> ContextFactoryEfl::CreateReflector(
+scoped_ptr<Reflector> ContextFactoryEfl::CreateReflector(
     Compositor* mirrored_compositor,
     Layer* mirroring_layer) {
+#if !defined(EWK_BRINGUP)
+// [M44_2403] Temporary disabling the codes for switching to new chromium
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14038
   return new Reflector();
+#else
+  // It should be removed after resolving this issue.
+  return NULL;
+#endif
 }
 
-void ContextFactoryEfl::RemoveReflector(scoped_refptr<Reflector> reflector) {
+void ContextFactoryEfl::RemoveReflector(Reflector* reflector) {
 }
 
 void ContextFactoryEfl::OnLostMainThreadSharedContextInsideCallback() {
@@ -504,7 +509,7 @@ ContextFactoryEfl::SharedMainThreadContextProvider() {
   if (gpu_channel_host.get() && !gpu_channel_host->IsLost()) {
   shared_main_thread_contexts_ = content::ContextProviderCommandBuffer::Create(
         CreateGpuProcessViewContext(gpu_channel_host, attrs, 0),
-        "Offscreen-MainThread");
+        content::BROWSER_OFFSCREEN_MAINTHREAD_CONTEXT);
   }
 
   if (!shared_main_thread_contexts_->BindToCurrentThread())
@@ -519,6 +524,10 @@ bool ContextFactoryEfl::DoesCreateTestContexts() {
   return false;
 }
 
+uint32 ContextFactoryEfl::GetImageTextureTarget() {
+  return GL_TEXTURE_2D;
+}
+
 cc::SharedBitmapManager* ContextFactoryEfl::GetSharedBitmapManager() {
   return content::HostSharedBitmapManager::current();
 }
@@ -527,8 +536,8 @@ gpu::GpuMemoryBufferManager* ContextFactoryEfl::GetGpuMemoryBufferManager() {
   return content::BrowserGpuMemoryBufferManager::current();
 }
 
-base::MessageLoopProxy* ContextFactoryEfl::GetCompositorMessageLoop() {
-  return NULL;
+cc::TaskGraphRunner* ContextFactoryEfl::GetTaskGraphRunner() {
+  NOTIMPLEMENTED();
 }
 
 scoped_ptr<cc::SurfaceIdAllocator>
index d977d71..af1f2f8 100644 (file)
@@ -33,13 +33,12 @@ class ContextFactoryEfl : public ContextFactory {
  public:
   ContextFactoryEfl(content::ContextFactoryDelegate* delegate, int surface_id);
 
-  void CreateOutputSurface(base::WeakPtr<Compositor> compositor,
-                           bool software_fallback) override;
+  void CreateOutputSurface(base::WeakPtr<Compositor> compositor) override;
 
-  scoped_refptr<Reflector> CreateReflector(Compositor* mirrored_compositor,
-                                           Layer* mirroring_layer) override;
+  scoped_ptr<Reflector> CreateReflector(Compositor* mirrored_compositor,
+                                        Layer* mirroring_layer) override;
 
-  void RemoveReflector(scoped_refptr<Reflector> reflector) override;
+  void RemoveReflector(Reflector* reflector) override;
 
   scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override;
 
@@ -47,11 +46,13 @@ class ContextFactoryEfl : public ContextFactory {
 
   bool DoesCreateTestContexts() override;
 
+  uint32 GetImageTextureTarget() override;
+
   cc::SharedBitmapManager* GetSharedBitmapManager() override;
 
   gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
 
-  base::MessageLoopProxy* GetCompositorMessageLoop() override;
+  cc::TaskGraphRunner* GetTaskGraphRunner() override;
 
   scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override;
 
index 15d1527..66e2afb 100755 (executable)
@@ -62,6 +62,7 @@
 #include "third_party/WebKit/public/web/WebTouchPoint.h"
 #include "ui/base/clipboard/clipboard_helper_efl.h"
 #include "ui/base/layout.h"
+#include "ui/events/blink/blink_event_util.h"
 #include "ui/events/event_switches.h"
 #include "ui/events/event_utils.h"
 #define private public
@@ -531,16 +532,9 @@ void RenderWidgetHostViewEfl::Init_EvasGL(int width, int height) {
 
   context_factory_ = new ui::ContextFactoryEfl(this, host_->surface_id());
 
-  bool gpu_thread_disabled = false;
-
-#if defined(TIZEN_DISABLE_GPU_THREAD)
-  gpu_thread_disabled = GpuDataManagerImpl::GetInstance()->GpuThreadDisabled();
-#endif
-
   compositor_ = new ui::Compositor(GetNativeViewId(),
-                                       context_factory_,
-                                       base::ThreadTaskRunnerHandle::Get(),
-                                       gpu_thread_disabled);
+                                   context_factory_,
+                                   base::ThreadTaskRunnerHandle::Get());
 
 #if defined(TIZEN_DISABLE_GPU_THREAD)
   if (gpu_thread_disabled) {
@@ -746,11 +740,6 @@ void RenderWidgetHostViewEfl::Focus() {
   evas_object_focus_set(content_image_, EINA_TRUE);
 }
 
-void RenderWidgetHostViewEfl::Blur() {
-  elm_object_focus_set(content_image_elm_host_, EINA_FALSE);
-  evas_object_focus_set(content_image_, EINA_FALSE);
-}
-
 bool RenderWidgetHostViewEfl::HasFocus() const {
   return evas_object_focus_get(content_image_);
 }
@@ -1252,7 +1241,6 @@ void RenderWidgetHostViewEfl::CopyFromCompositingSurfaceHasResultForVideo(
                                              result_rect.size(),
                                              result_rect,
                                              video_frame->coded_size(),
-                                             region_in_frame,
                                              true,
                                              true));
     yuv_readback_pipeline = rwhvefl->yuv_readback_pipeline_.get();
@@ -1270,6 +1258,7 @@ void RenderWidgetHostViewEfl::CopyFromCompositingSurfaceHasResultForVideo(
       texture_mailbox.mailbox(),
       texture_mailbox.sync_point(),
       video_frame,
+      video_frame->visible_rect().origin(),
       finished_callback);
 }
 
@@ -1369,7 +1358,7 @@ void RenderWidgetHostViewEfl::OnHostFocusIn(
 void RenderWidgetHostViewEfl::OnHostFocusOut(
     void* data, Evas_Object*, void*) {
   RenderWidgetHostViewEfl* thiz = static_cast<RenderWidgetHostViewEfl*>(data);
-  thiz->Blur();
+  thiz->host_->Blur();
 }
 
 void RenderWidgetHostViewEfl::OnMouseDown(
@@ -1722,30 +1711,12 @@ void RenderWidgetHostViewEfl::HandleTouchEvent(ui::TouchEvent* event) {
     return;
   }
 
-  blink::WebTouchEvent touch_event = CreateWebTouchEventFromMotionEvent(
+  blink::WebTouchEvent touch_event = ui::CreateWebTouchEventFromMotionEvent(
       pointer_state_, event->may_cause_scrolling());
   pointer_state_.CleanupRemovedTouchPoints(*event);
 
-  // Forward the touch event only if a touch point was updated, and there's a
-  // touch-event handler in the page, and no other touch-event is in the queue.
-  // It is important to always consume the event if there is a touch-event
-  // handler in the page, or some touch-event is already in the queue, even if
-  // no point has been updated, to make sure that this event does not get
-  // processed by the gesture recognizer before the events in the queue.
-  if (host_->ShouldForwardTouchEvent()) {
-    event->StopPropagation();
-  }
-
-  bool forwarded = false;
-  if (host_->ShouldForwardTouchEvent()) {
-    forwarded = true;
-    host_->ForwardTouchEventWithLatencyInfo(touch_event, *event->latency());
-  }
-
-  // If we forward it to the renderer than either blink handles it or we will
-  // have a second round with it in ProcessAckedTouchEvent.
-  if (forwarded)
-    return;
+  event->StopPropagation();
+  host_->ForwardTouchEventWithLatencyInfo(touch_event, *event->latency());
 
   scoped_ptr<ui::GestureRecognizer::Gestures> gestures(
         gesture_recognizer_->AckSyncTouchEvent(event->unique_event_id(), ui::ER_UNHANDLED, this));
index 30f08bd..0e2c7f2 100755 (executable)
@@ -120,7 +120,6 @@ class CONTENT_EXPORT RenderWidgetHostViewEfl
   bool LockMouse() override;
   void UnlockMouse() override;
   void Focus() override;
-  void Blur() override;
   bool HasFocus() const override;
   void MovePluginContainer(const WebPluginGeometry&);
   void MovePluginWindows(
index 555e779..e032984 100644 (file)
@@ -26,9 +26,6 @@ void ScreenOrientationDelegateEfl::Lock(
     WebContents* web_contents,
     blink::WebScreenOrientationLockType lock_orientation) {
   content::WebContentsDelegate* delegate = web_contents->GetDelegate();
-
-  if (delegate)
-    delegate->OrientationLock(lock_orientation);
 }
 
 bool ScreenOrientationDelegateEfl::ScreenOrientationProviderSupported() {
@@ -38,9 +35,6 @@ bool ScreenOrientationDelegateEfl::ScreenOrientationProviderSupported() {
 
 void ScreenOrientationDelegateEfl::Unlock(WebContents* web_contents) {
   content::WebContentsDelegate* delegate = web_contents->GetDelegate();
-
-  if (delegate)
-    delegate->OrientationUnlock();
 }
 
 } // namespace content
index f93bd88..671614a 100644 (file)
@@ -112,7 +112,11 @@ void WebContentsImplEfl::CreateNewWindow(
     if (process_handle != base::kNullProcessHandle) {
       RecordAction(
           base::UserMetricsAction("Terminate_ProcessMismatch_CreateNewWindow"));
+#if !defined(EWK_BRINGUP)
+// [M44_2403] Temporary disabling the codes for switching to new chromium
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14039
       base::KillProcess(process_handle, RESULT_CODE_KILLED, false);
+#endif
     }
     return;
   }
index 89e96ed..8903cf1 100644 (file)
@@ -303,7 +303,7 @@ void WebContentsViewEfl::SetOrientation(int orientation) {
     params.screen_info = screen_info;
     params.new_size =
         gfx::Size(screen_info.rect.width, screen_info.rect.height);
-    params.is_fullscreen = contents_impl.IsFullscreenForCurrentTab();
+    params.is_fullscreen_granted = contents_impl.IsFullscreenForCurrentTab();
 
     rwh->Send(new ViewMsg_Resize(rwh->GetRoutingID(), params));
     rwhv->UpdateScreenInfo(rwhv->GetNativeView());
index 2e56b89..5e1c4f9 100644 (file)
@@ -22,8 +22,8 @@
 namespace content {
 
 struct GpuChildThreadEfl : public content::GpuChildThread {
-  explicit GpuChildThreadEfl(const std::string& channel_id)
-      : GpuChildThread(channel_id) { }
+  explicit GpuChildThreadEfl(const content::InProcessChildThreadParams& params)
+      : GpuChildThread(params) { }
 
   bool OnControlMessageReceived(const IPC::Message& msg) override {
     bool handled = true;
@@ -51,19 +51,19 @@ struct GpuChildThreadEfl : public content::GpuChildThread {
 
 struct InProcessGpuThreadEfl : public content::InProcessGpuThread {
 
-  explicit InProcessGpuThreadEfl(const std::string& channel_id)
-      : InProcessGpuThread(channel_id) { }
+  explicit InProcessGpuThreadEfl(const content::InProcessChildThreadParams& params)
+      : InProcessGpuThread(params) { }
 
   void Init() override {
     gpu_process_ = new content::GpuProcess();
     // The process object takes ownership of the thread object, so do not
     // save and delete the pointer.
-    gpu_process_->set_main_thread(new GpuChildThreadEfl(channel_id_));
+    gpu_process_->set_main_thread(new GpuChildThreadEfl(params_));
   }
 };
 
-base::Thread* CreateInProcessGpuThread(const std::string& channel_id) {
-  return new InProcessGpuThreadEfl(channel_id);
+base::Thread* CreateInProcessGpuThread(const content::InProcessChildThreadParams& params) {
+  return new InProcessGpuThreadEfl(params);
 }
 
 } // namespace content
index 359c884..1f75e70 100644 (file)
 
 namespace content {
 
-static void LogMediaSourceError(
-    const scoped_refptr<media::MediaLog>& media_log,
-    const std::string& error) {
-  media_log->AddEvent(media_log->CreateMediaSourceErrorEvent(error));
-}
-
 MediaSourceDelegateEfl::MediaSourceDelegateEfl(
     RendererDemuxerEfl* demuxer_client,
     int demuxer_client_id,
@@ -79,7 +73,7 @@ void MediaSourceDelegateEfl::InitializeMediaSource(
       media::BindToCurrentLoop(
           base::Bind(&MediaSourceDelegateEfl::OnEncryptedMediaInitData,
                      main_weak_this_)),
-      base::Bind(&LogMediaSourceError, media_log_), media_log_, false));
+      base::Bind(&media::MediaLog::AddLogEvent, media_log_, false));
 
   media_task_runner_->PostTask(FROM_HERE,
       base::Bind(&MediaSourceDelegateEfl::InitializeDemuxer,
@@ -106,7 +100,7 @@ void MediaSourceDelegateEfl::InitializeDemuxer() {
 }
 
 void MediaSourceDelegateEfl::OnEncryptedMediaInitData (
-    const std::string& type,
+    media::EmeInitDataType /* init_data_type */,
     const std::vector<uint8>& init_data) {
   DCHECK(main_loop_->BelongsToCurrentThread());
   if (emedia_init_data_cb_.is_null()) {
@@ -120,7 +114,7 @@ void MediaSourceDelegateEfl::OnDemuxerOpened() {
   if (media_source_opened_cb_.is_null())
     return;
   media_source_opened_cb_.Run(new media::WebMediaSourceImpl(
-      chunk_demuxer_.get(), base::Bind(&LogMediaSourceError, media_log_)));
+      chunk_demuxer_.get(), base::Bind(&media::MediaLog::AddLogEvent, media_log_)));
 }
 
 void MediaSourceDelegateEfl::OnDemuxerError(
index 1bcdc31..a0a9084 100644 (file)
@@ -84,7 +84,7 @@ class MediaSourceDelegateEfl
   void OnDemuxerSeekDone(media::PipelineStatus status);
 
  private:
-  void OnEncryptedMediaInitData(const std::string& type,
+  void OnEncryptedMediaInitData(media::EmeInitDataType init_data_type,
                                 const std::vector<uint8>& init_data);
   void OnDemuxerOpened();
   void InitializeDemuxer();
index 70d37f1..d81fbd4 100644 (file)
 #include "base/message_loop/message_loop.h"
 #include "base/memory/shared_memory.h"
 #include "cc/layers/video_frame_provider_client_impl.h"
+#include "content/common/media/tizen/media_player_messages_enums_tizen.h"
 #include "content/renderer/media/efl/media_source_delegate_efl.h"
 #include "content/renderer/media/efl/renderer_media_player_manager_efl.h"
 #include "media/base/efl/media_player_efl.h"
+#include "media/blink/skcanvas_video_renderer.h"
 #include "media/blink/video_frame_compositor.h"
-#include "media/filters/skcanvas_video_renderer.h"
 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
 
 #if defined(TIZEN_MULTIMEDIA_EME_SUPPORT)
index c8fb182..a7184b0 100644 (file)
@@ -127,11 +127,11 @@ class Shell::Impl {
 
   static void OnNewWindow(void* data, Evas_Object*, void*) {
     Shell* shell = static_cast<Shell::Impl*>(data)->shell_;
+    gfx::Size initial_size = Shell::GetShellDefaultSize();
     Shell::CreateNewWindow(shell->web_contents()->GetBrowserContext(),
                            GURL("https://www.google.com"),
                            NULL,
-                           gfx::Size(kDefaultTestWindowWidthDip,
-                                     kDefaultTestWindowHeightDip));
+                           initial_size);
   }
 
   static void OnForward(void* data, Evas_Object*, void*) {
@@ -202,8 +202,8 @@ void Shell::PlatformSetContents() {
   Evas_Object* win = efl::WindowFactory::GetHostWindow(web_contents_.get());
   evas_object_smart_callback_add(win, "delete,request",
       OnShellWindowDelRequest, this);
-  evas_object_resize(win, kDefaultTestWindowWidthDip,
-      kDefaultTestWindowHeightDip);
+  gfx::Size initial_size = Shell::GetShellDefaultSize();
+  evas_object_resize(win, initial_size.width(), initial_size.height());
   evas_object_show(win);
   window_ = win;
   impl_ = new Impl(this, static_cast<Evas_Object*>(window_));
index 864052b..1dacce1 100644 (file)
@@ -67,6 +67,9 @@ void AppendPortParams(base::CommandLine& cmdline) {
   cmdline.AppendSwitch(switches::kUIDisableThreadedCompositing);
   cmdline.AppendSwitch(switches::kEnableDelegatedRenderer);
 
+#if !defined(EWK_BRINGUP)
+// [M44_2403] Temporary disabling the codes for switching to new chromium
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14040
 #if defined(OS_TIZEN)
   cmdline.AppendSwitch(cc::switches::kEnableTileCompression);
   cmdline.AppendSwitchASCII(cc::switches::kTileCompressionThreshold, "-1");
@@ -77,6 +80,7 @@ void AppendPortParams(base::CommandLine& cmdline) {
        cmdline.HasSwitch(cc::switches::kEnableTileCompression))
     cmdline.AppendSwitch(switches::kDisableGpuRasterization);
 #endif
+#endif // EWK_BRINGUP
 
 #if defined(OS_TIZEN_TV)
   cmdline.AppendSwitchASCII(switches::kAcceleratedCanvas2dMSAASampleCount, "4");
index 9c8e6bc..e6fad5b 100644 (file)
@@ -8,7 +8,7 @@
 
       ['_target_name=="webcore_rendering"', {
         'sources/': [
-          [ 'exclude', 'layout/LayoutThemeChromiumLinux\\.cpp$' ],
+          [ 'exclude', 'layout/LayoutThemeLinux\\.cpp$' ],
         ],
         'sources': [
           'rendering/RenderThemeChromiumTizen.cpp',
index a07426d..66ee08a 100644 (file)
@@ -26,7 +26,7 @@ RenderThemeChromiumTizen::~RenderThemeChromiumTizen()
 
 String RenderThemeChromiumTizen::extraDefaultStyleSheet()
 {
-    return LayoutThemeChromiumDefault::extraDefaultStyleSheet() +
+    return LayoutThemeDefault::extraDefaultStyleSheet() +
         String(themeChromiumTizenCss, sizeof(themeChromiumTizenCss));
 }
 
index 7433351..a6e23ab 100644 (file)
@@ -5,11 +5,11 @@
 #ifndef RenderThemeChromiumTizen_h
 #define RenderThemeChromiumTizen_h
 
-#include "core/layout/LayoutThemeChromiumDefault.h"
+#include "core/layout/LayoutThemeDefault.h"
 
 namespace blink {
 
-class RenderThemeChromiumTizen final : public LayoutThemeChromiumDefault {
+class RenderThemeChromiumTizen final : public LayoutThemeDefault {
 public:
     static PassRefPtr<LayoutTheme> create();
     String extraDefaultStyleSheet() override;
index 3b36063..e102cc0 100644 (file)
@@ -10,7 +10,6 @@
 #include "base/memory/ref_counted.h"
 #include "base/memory/scoped_ptr.h"
 #include "base/memory/scoped_vector.h"
-#include "cc/base/ref_counted_managed.h"
 #include "ui/gfx/geometry/size.h"
 #include "ui/gl/gl_bindings.h"
 
index 969835f..d70245a 100644 (file)
@@ -12,6 +12,7 @@
 #include "gpu/command_buffer/service/mailbox_manager_impl.h"
 #include "ui/gl/gl_context.h"
 #include "ui/gl/gl_share_group.h"
+#include "ui/gl/gpu_timing.h"
 #if defined(TIZEN_DISABLE_GPU_THREAD)
 #include "base/command_line.h"
 #endif
@@ -143,7 +144,11 @@ struct GLSharedContextEflPrivate : public gfx::GLContext {
     return handle_;
   }
 
-  void OnSetSwapInterval(int interval) override {
+  virtual scoped_refptr<gfx::GPUTimingClient> CreateGPUTimingClient() override {
+    return 0;
+  }
+
+  virtual void OnSetSwapInterval(int interval) override {
     NOTREACHED();
   }
 
index 7539401..835584c 100644 (file)
         ],
       }],
 
-      ['_target_name=="gesture_detection"', {
-        'sources/': [
-          ['exclude', 'gesture_detection/gesture_configuration_default\\.cc$']
-        ],
-        'sources': [
-          'events/gesture_detection/gesture_configuration_efl.cc',
-        ],
-      }],
+# [M44_2403] Temporary disabling the gesture_detection setting for switching to new chromium
+#            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14041
+#      ['_target_name=="gesture_detection"', {
+#        'sources/': [
+#          ['exclude', 'gesture_detection/gesture_configuration_default\\.cc$']
+#        ],
+#        'sources': [
+#          'events/gesture_detection/gesture_configuration_efl.cc',
+#        ],
+#      }],
 
     ], # target_conditions
   } # target_defaults
index 3be491a..0995d18 100644 (file)
@@ -139,7 +139,7 @@ void AutofillManagerDelegateEfl::UpdateAutofillPopupDataListValues(
   NOTIMPLEMENTED();
 }
 
-void AutofillManagerDelegateEfl::OnUnmaskVerificationResult(bool success) {
+void AutofillManagerDelegateEfl::OnUnmaskVerificationResult(GetRealPanResult result) {
   NOTIMPLEMENTED();
 }
 
@@ -166,6 +166,10 @@ IdentityProvider* AutofillManagerDelegateEfl::GetIdentityProvider() {
   return nullptr;
 }
 
+rappor::RapporService* AutofillManagerDelegateEfl::GetRapporService() {
+  NOTIMPLEMENTED();
+}
+
 void AutofillManagerDelegateEfl::HideAutofillPopup() {
   DCHECK(web_contents_);
   if (popup_controller_) {
@@ -184,6 +188,12 @@ bool AutofillManagerDelegateEfl::IsAutocompleteEnabled() {
   return false;
 }
 
+void AutofillManagerDelegateEfl::PropagateAutofillPredictions(
+    content::RenderFrameHost* rfh,
+    const std::vector<autofill::FormStructure*>& forms) {
+  NOTIMPLEMENTED();
+}
+
 bool AutofillManagerDelegateEfl::IsAutocompleteSavingEnabled() {
   if (webview_)
     return webview_->GetSettings()->formCandidateData();
@@ -207,17 +217,6 @@ void AutofillManagerDelegateEfl::WebContentsDestroyed() {
   HideAutofillPopup();
 }
 
-void AutofillManagerDelegateEfl::DetectAccountCreationForms(
-    content::RenderFrameHost* rfh,
-    const std::vector<autofill::FormStructure*>& forms) {
-  DCHECK(web_contents_);
-  PasswordGenerationManager* manager =
-      PasswordManagerClientEfl::GetGenerationManagerFromWebContents(
-          web_contents_);
-  if (manager)
-    manager->DetectAccountCreationForms(forms);
-}
-
 AutofillPopupViewEfl * AutofillManagerDelegateEfl::GetOrCreatePopupController() {
   if (webview_ && !popup_controller_)
     popup_controller_ = new AutofillPopupViewEfl(webview_);
index 3a1c184..7669b97 100644 (file)
@@ -60,18 +60,19 @@ class AutofillManagerDelegateEfl
   void UpdateAutofillPopupDataListValues(
       const std::vector<base::string16>& values,
       const std::vector<base::string16>& labels) override;
-  void OnUnmaskVerificationResult(bool success) override;
+  void OnUnmaskVerificationResult(GetRealPanResult result) override;
   bool HasCreditCardScanFeature() override;
   void ScanCreditCard(const CreditCardScanCallback& callback) override;
   void OnFirstUserGestureObserved() override;
   void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override;
   IdentityProvider* GetIdentityProvider() override;
+  rappor::RapporService* GetRapporService() override;
   void HideAutofillPopup() override;
   bool IsAutocompleteEnabled() override;
-  bool IsAutocompleteSavingEnabled();
-  void DetectAccountCreationForms(
+  void PropagateAutofillPredictions(
       content::RenderFrameHost* rfh,
       const std::vector<autofill::FormStructure*>& forms) override;
+  bool IsAutocompleteSavingEnabled();
   // content::WebContentsObserver implementation.
   void DidNavigateMainFrame(const content::LoadCommittedDetails& details,
       const content::FrameNavigateParams& params) override;
index c2a6cf7..4988b7b 100644 (file)
@@ -37,19 +37,23 @@ bool AutofillPrefStore::IsInitializationComplete() const {
   return true;
 }
 
-void AutofillPrefStore::SetValue(const std::string& key, base::Value* value) {
+void AutofillPrefStore::SetValue(const std::string& key,
+                                 base::Value* value,
+                                 uint32 flags) {
   DCHECK(value);
   if (prefs_.SetValue(key, value))
-    ReportValueChanged(key);
+    ReportValueChanged(key, flags);
 }
 
-void AutofillPrefStore::SetValueSilently(const std::string& key, base::Value* value) {
+void AutofillPrefStore::SetValueSilently(const std::string& key,
+                                         base::Value* value,
+                                         uint32 flags) {
   prefs_.SetValue(key, value);
 }
 
-void AutofillPrefStore::RemoveValue(const std::string& key) {
+void AutofillPrefStore::RemoveValue(const std::string& key, uint32 flags) {
   if (prefs_.RemoveValue(key))
-    ReportValueChanged(key);
+    ReportValueChanged(key, flags);
 }
 
 bool AutofillPrefStore::ReadOnly() const {
@@ -67,6 +71,6 @@ PersistentPrefStore::PrefReadError AutofillPrefStore::ReadPrefs() {
 void AutofillPrefStore::ReadPrefsAsync(ReadErrorDelegate* error_delegate_raw) {
 }
 
-void AutofillPrefStore::ReportValueChanged(const std::string& key) {
+void AutofillPrefStore::ReportValueChanged(const std::string& key, uint32 flags) {
   FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key));
 }
index 0246732..fd1b1c4 100644 (file)
@@ -33,11 +33,14 @@ class AutofillPrefStore : public PersistentPrefStore {
   // PersistentPrefStore overrides:
   bool GetMutableValue(const std::string& key,
                        base::Value** result) override;
-  void ReportValueChanged(const std::string& key) override;
-  void SetValue(const std::string& key, base::Value* value) override;
+  void ReportValueChanged(const std::string& key, uint32 flags) override;
+  void SetValue(const std::string& key,
+                base::Value* value,
+                uint32 flags) override;
   void SetValueSilently(const std::string& key,
-                        base::Value* value) override;
-  void RemoveValue(const std::string& key) override;
+                        base::Value* value,
+                        uint32 flags) override;
+  void RemoveValue(const std::string& key, uint32 flags) override;
   bool ReadOnly() const override;
   PrefReadError GetReadError() const override;
   PersistentPrefStore::PrefReadError ReadPrefs() override;
index a843832..0cba7e0 100644 (file)
@@ -34,7 +34,11 @@ void PersonalDataManagerFactory::PersonalDataManagerAdd(content::BrowserContext*
       CHECK(srv);
       content::ContentBrowserClient* client = content::GetContentClientExport()->browser();
       mgr = new PersonalDataManager(client->GetApplicationLocale());
+#if !defined(EWK_BRINGUP)
+// [M44_2403] Temporary disabling the codes for switching to new chromium
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14042
       mgr->Init(WebDataServiceFactory::GetAutofillWebDataForProfile(), srv, ctx->IsOffTheRecord());
+#endif
       mgr->AddObserver(this);
       personal_data_manager_id_map_.AddWithID(mgr, uniqueId);
     }
index 82f87bb..25773dd 100644 (file)
@@ -22,8 +22,9 @@ void FaviconDownloader::Start() {
 
 int FaviconDownloader::DownloadFavicon(const GURL &faviconUrl) {
   return web_contents()->DownloadImage(faviconUrl,
-                                       true,
-                                       0,
+                                       true,  /* bool is_favicon */
+                                       0,     /* uint32_t max_bitmap_size */
+                                       false, /* bool bypass_cache */
                                        base::Bind(&FaviconDownloader::DidDownloadFavicon,
                                                   m_weakPtrFactory.GetWeakPtr()));
 }
index 18c457d..fc0b94a 100644 (file)
@@ -73,7 +73,7 @@ class JavaScriptDialogManagerEfl: public content::JavaScriptDialogManager {
     NOTIMPLEMENTED();
   }
 
-  virtual void WebContentsDestroyed(content::WebContents* web_contents) override
+  virtual void ResetDialogState(content::WebContents* web_contents) override
   {
     NOTIMPLEMENTED();
   }
index cf98d2b..50b021b 100644 (file)
@@ -44,7 +44,7 @@ bool NotificationControllerEfl::NotificationClosed(uint64_t notification_id,
   if (!saved_data)
     return false;
 
-  saved_data->notification_delegate->NotificationClosed(by_user);
+  saved_data->notification_delegate->NotificationClosed();
   notifications_map_.Remove(notification_id);
   return true;
 }
@@ -109,7 +109,7 @@ void NotificationControllerEfl::DisplayNotification(
       || (notification_show_callback_ && notification_cancel_callback_);
 
   if (!has_callbacks) {
-    delegate->NotificationClosed(false);
+    delegate->NotificationClosed();
     return;
   }
 
index a969b40..33c28cf 100644 (file)
@@ -87,4 +87,13 @@ SSLHostStateDelegate::CertJudgment SSLHostStateDelegateEfl::QueryPolicy(
              : SSLHostStateDelegate::DENIED;
 }
 
+void SSLHostStateDelegateEfl::RevokeUserAllowExceptions(
+    const std::string& host) {
+  cert_policy_for_host_.erase(host);
+}
+
+bool SSLHostStateDelegateEfl::HasAllowException(const std::string& host) const {
+  NOTIMPLEMENTED();
+}
+
 }
index 38d0216..19ed713 100644 (file)
@@ -65,6 +65,16 @@ class SSLHostStateDelegateEfl : public content::SSLHostStateDelegate {
   bool DidHostRunInsecureContent(const std::string& host,
                                  int pid) const override;
 
+  // Revokes all SSL certificate error allow exceptions made by the user for
+  // |host|.
+  void RevokeUserAllowExceptions(const std::string& host) override;
+
+  // Returns whether the user has allowed a certificate error exception for
+  // |host|. This does not mean that *all* certificate errors are allowed, just
+  // that there exists an exception. To see if a particular certificate and
+  // error combination exception is allowed, use QueryPolicy().
+  bool HasAllowException(const std::string& host) const override;
+
  private:
   // Certificate policies for each host.
   std::map<std::string, internal::CertPolicy> cert_policy_for_host_;
index 248a13c..9346039 100644 (file)
@@ -112,6 +112,9 @@ class BrowserContextEfl
 
   virtual base::FilePath GetPath() const override;
 
+  virtual PermissionManager* GetPermissionManager() override
+  { return 0; }
+
   net::URLRequestContextGetter* CreateRequestContext(
       content::ProtocolHandlerMap* protocol_handlers,
       URLRequestInterceptorScopedVector request_interceptors);
index 0e2db68..002e6ed 100644 (file)
@@ -11,6 +11,7 @@
 #include "base/command_line.h"
 #include "content/public/common/content_switches.h"
 
+using devtools_http_handler::DevToolsDelegateEfl;
 
 namespace content {
 
index f1e5130..0ef9b09 100644 (file)
@@ -9,9 +9,11 @@
 #include "base/memory/scoped_ptr.h"
 #include "content/public/browser/browser_main_parts.h"
 
-namespace content {
-
+namespace devtools_http_handler {
 class DevToolsDelegateEfl;
+}
+
+namespace content {
 
 // EFL port implementation of BrowserMainParts.
 // This class contains different "stages" to be executed by BrowserMain(),
@@ -27,7 +29,7 @@ class BrowserMainPartsEfl : public BrowserMainParts {
   virtual void PostMainMessageLoopRun() override;
 
  private:
-  DevToolsDelegateEfl* devtools_delegate_;
+  devtools_http_handler::DevToolsDelegateEfl* devtools_delegate_;
 
   DISALLOW_COPY_AND_ASSIGN(BrowserMainPartsEfl);
 };
index d008a63..5960e54 100644 (file)
@@ -71,7 +71,11 @@ content::MainFunctionParams CommandLineEfl::GetDefaultPortParams() {
   p_command_line->AppendSwitch(switches::kEnableSpatialNavigation);
   p_command_line->AppendSwitch(switches::kMainFrameResizesAreOrientationChanges);
   p_command_line->AppendSwitch(switches::kForceAccelerated2dCanvas);
+#if !defined(EWK_BRINGUP)
+// [M44_2403] Temporary disabling the codes for switching to new chromium
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14040
   p_command_line->AppendSwitch(cc::switches::kEnableParallelCanvasMode);
+#endif // EWK_BRINGUP
 #else
   p_command_line->AppendSwitch(switches::kIgnoreGpuBlacklist);
 #endif
@@ -122,6 +126,9 @@ void CommandLineEfl::AppendUserArgs(base::CommandLine& command_line) {
 
 void CommandLineEfl::AppendMemoryOptimizationSwitches(
     base::CommandLine* command_line) {
+#if !defined(EWK_BRINGUP)
+// [M44_2403] Temporary disabling the codes for switching to new chromium
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14040
   // For optimizing tile buffer size.
   command_line->AppendSwitchASCII(switches::kDefaultTileRoundUp, "16");
   command_line->AppendSwitch(switches::kEnableMultipleTextureSizes);
@@ -131,6 +138,7 @@ void CommandLineEfl::AppendMemoryOptimizationSwitches(
 
   // For adding runtime switch to configure the discardable image cache size.
   command_line->AppendSwitchASCII(switches::kImageCacheSize, "0");
+#endif
 
   // For testing link disambiguation popup
   command_line->AppendSwitch(switches::kEnableLinkDisambiguationPopup);
index 2637f6d..2c0b5a1 100644 (file)
@@ -23,6 +23,7 @@
 #include "common/content_switches_efl.h"
 #include "content/browser/web_contents/web_contents_view_efl.h"
 #include "content/public/browser/browser_thread.h"
+#include "content/public/browser/permission_type.h"
 #include "content/public/browser/render_widget_host.h"
 #include "content/public/browser/render_widget_host_iterator.h"
 #include "content/public/browser/resource_dispatcher_host.h"
@@ -310,6 +311,9 @@ void ContentBrowserClientEfl::RenderProcessWillLaunch(
   }
 }
 
+#if !defined(EWK_BRINGUP)
+// [M44_2403] Temporary disabling the codes for switching to new chromium
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14043
 void ContentBrowserClientEfl::RequestPermission(
     content::PermissionType permission,
     content::WebContents* web_contents,
@@ -328,7 +332,7 @@ void ContentBrowserClientEfl::RequestPermission(
       browser_context->GetGeolocationPermissionContext();
 
   switch (permission) {
-    case content::PERMISSION_GEOLOCATION: {
+    case content::PermissionType::GEOLOCATION: {
       if (!browser_context) {
         LOG(ERROR) << "Dropping GeolocationPermission request";
         result_callback.Run(false);
@@ -341,7 +345,7 @@ void ContentBrowserClientEfl::RequestPermission(
                                                        result_callback);
       break;
     }
-    case content::PERMISSION_NOTIFICATIONS:
+    case content::PermissionType::NOTIFICATIONS:
     {
 #if defined(ENABLE_NOTIFICATIONS)
       notification_controller_->RequestPermission(web_contents,
@@ -350,11 +354,11 @@ void ContentBrowserClientEfl::RequestPermission(
 #endif
       break;
     }
-    case content::PERMISSION_PROTECTED_MEDIA_IDENTIFIER:
-    case content::PERMISSION_MIDI_SYSEX:
-    case content::PERMISSION_PUSH_MESSAGING: {
+    case content::PermissionType::PROTECTED_MEDIA_IDENTIFIER:
+    case content::PermissionType::MIDI_SYSEX:
+    case content::PermissionType::PUSH_MESSAGING: {
       NOTIMPLEMENTED() << "RequestPermission not implemented for "
-                       << permission;
+                       << static_cast<int>(permission);
       ContentBrowserClient::RequestPermission(permission,
                                               web_contents,
                                               bridge_id,
@@ -364,10 +368,12 @@ void ContentBrowserClientEfl::RequestPermission(
       break;
     }
     default: {
-      NOTREACHED() << "Invalid RequestPermission for " << permission;
+      NOTREACHED() << "Invalid RequestPermission for "
+                   << static_cast<int>(permission);
     }
   }
 }
+#endif
 
 void ContentBrowserClientEfl::SetCertificatePem(const net::SSLInfo& ssl_info,
                                                 int render_process_id,
index ffa375d..59cd229 100644 (file)
@@ -109,6 +109,9 @@ class ContentBrowserClientEfl: public ContentBrowserClient {
                                  int render_process_id,
                                  int render_view_id);
 
+#if !defined(EWK_BRINGUP)
+// [M44_2403] Temporary disabling the codes for switching to new chromium
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14043
   void RequestPermission(
       content::PermissionType permission,
       content::WebContents* web_contents,
@@ -116,6 +119,7 @@ class ContentBrowserClientEfl: public ContentBrowserClient {
       const GURL& requesting_frame,
       bool user_gesture,
       const base::Callback<void(bool)>& result_callback) override;
+#endif
 
   content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
 
index aabebd4..aa80f1a 100644 (file)
@@ -15,6 +15,7 @@
 #include "net/url_request/url_request_context.h"
 #include "net/url_request/url_request_context_getter.h"
 #include "net/cookies/canonical_cookie.h"
+#include "net/cookies/cookie_monster.h"
 #include "net/cookies/cookie_options.h"
 #include "net/cookies/cookie_util.h"
 #include "public/ewk_cookie_manager.h"
index 8be5205..6ff8c93 100644 (file)
 #include "base/strings/string_number_conversions.h"
 #include "base/strings/stringprintf.h"
 #include "base/strings/utf_string_conversions.h"
+#include "components/devtools_discovery/devtools_target_descriptor.h"
+#include "components/devtools_http_handler/devtools_http_handler.h"
 #include "content/public/browser/browser_thread.h"
 #include "content/public/browser/devtools_agent_host.h"
-#include "content/public/browser/devtools_http_handler.h"
-#include "content/public/browser/devtools_target.h"
+#include "content/public/browser/devtools_frontend_host.h"
+#include "content/public/common/content_client.h"
 #include "content/public/common/content_switches.h"
 #include "content/public/common/url_constants.h"
 #include "content/public/common/user_agent.h"
@@ -32,6 +34,7 @@
 #include <unistd.h>
 
 using content::BrowserThread;
+using devtools_http_handler::DevToolsHttpHandler;
 
 namespace {
 
@@ -43,7 +46,7 @@ const uint16 kMaxTetheringPort = 9444;
 const int kBackLog = 10;
 
 class TCPServerSocketFactory
-    : public content::DevToolsHttpHandler::ServerSocketFactory {
+    : public DevToolsHttpHandler::ServerSocketFactory {
  public:
   TCPServerSocketFactory(const std::string& address, uint16 port)
       : address_(address),
@@ -66,7 +69,7 @@ class TCPServerSocketFactory
 }  // namespace
 
 
-namespace content {
+namespace devtools_http_handler {
 
 DevToolsDelegateEfl::DevToolsDelegateEfl(int port)
     : port_(0)
@@ -104,12 +107,16 @@ DevToolsDelegateEfl::DevToolsDelegateEfl(int port)
   sock->GetLocalAddress(&givenIp);
   port_ = givenIp.port();
 
-  scoped_ptr<content::DevToolsHttpHandler::ServerSocketFactory> factory(
+  scoped_ptr<DevToolsHttpHandler::ServerSocketFactory> factory(
       new TCPServerSocketFactory(addr, port_));
 
+#if !defined(EWK_BRINGUP)
+// [M44_2403] Temporary disabling the codes for switching to new chromium
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14044
   devtools_http_handler_.reset(
     content::DevToolsHttpHandler::Start(factory.Pass(),
        std::string(), this, base::FilePath()));
+#endif
 }
 
 DevToolsDelegateEfl::~DevToolsDelegateEfl() {
@@ -129,12 +136,12 @@ std::string DevToolsDelegateEfl::GetDiscoveryPageHTML() {
       IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE).as_string();
 }
 
-bool DevToolsDelegateEfl::BundlesFrontendResources() {
-  return true;
+std::string DevToolsDelegateEfl::GetFrontendResource(const std::string& path) {
+  return content::DevToolsFrontendHost::GetFrontendResource(path).as_string();
 }
 
-base::FilePath DevToolsDelegateEfl::GetDebugFrontendDir() {
-  return base::FilePath();
+std::string DevToolsDelegateEfl::GetPageThumbnailData(const GURL& url) {
+  return std::string();
 }
 
 }  // namespace content
index c532a92..d2dcca9 100644 (file)
@@ -9,11 +9,14 @@
 #include "base/basictypes.h"
 #include "base/compiler_specific.h"
 #include "base/memory/scoped_ptr.h"
-#include "content/public/browser/devtools_http_handler_delegate.h"
+#include "components/devtools_http_handler/devtools_http_handler_delegate.h"
 
 namespace content {
-
 class BrowserContext;
+}
+
+namespace devtools_http_handler {
+
 class DevToolsHttpHandler;
 
 // This class is to create RemoteInspector Server(Remote Debugger) and return devtools front resources.
@@ -30,8 +33,8 @@ class DevToolsDelegateEfl : public DevToolsHttpHandlerDelegate {
 
   // ChromiumDevToolsHttpHandler::Delegate overrides.
   virtual std::string GetDiscoveryPageHTML() override;
-  virtual bool BundlesFrontendResources() override;
-  virtual base::FilePath GetDebugFrontendDir() override;
+  virtual std::string GetFrontendResource(const std::string& path) override;
+  virtual std::string GetPageThumbnailData(const GURL& url) override;
   DevToolsHttpHandler* devtools_http_handler() {
     return devtools_http_handler_.get();
   }
@@ -41,7 +44,7 @@ class DevToolsDelegateEfl : public DevToolsHttpHandlerDelegate {
 
  private:
   int port_;
-  BrowserContext* browser_context_;
+  content::BrowserContext* browser_context_;
   scoped_ptr<DevToolsHttpHandler> devtools_http_handler_;
 };
 
index 54042c8..025ec5f 100644 (file)
@@ -21,7 +21,7 @@ const char kTargetTypePage[] = "page";
 const char kTargetTypeServiceWorker[] = "service_worker";
 const char kTargetTypeOther[] = "other";
 
-class Target : public content::DevToolsTarget {
+class Target : public devtools_discovery::DevToolsTargetDescriptor {
  public:
 
   explicit Target(scoped_refptr<DevToolsAgentHost> agent_host);
@@ -45,7 +45,7 @@ class Target : public content::DevToolsTarget {
   virtual std::string GetDescription() const override { return std::string(); }
   virtual GURL GetURL() const override { return agent_host_->GetURL(); }
   virtual GURL GetFaviconURL() const override { return favicon_url_; }
-  virtual base::TimeTicks GetLastActivityTime() const override {
+  virtual base::Time GetLastActiveTime() const override {
     return last_activity_time_;
   }
   virtual bool IsAttached() const override {
@@ -64,7 +64,7 @@ class Target : public content::DevToolsTarget {
   std::string title_;
   GURL url_;
   GURL favicon_url_;
-  base::TimeTicks last_activity_time_;
+  base::Time last_activity_time_;
 };
 
 Target::Target(scoped_refptr<content::DevToolsAgentHost> agent_host)
@@ -90,7 +90,7 @@ bool Target::Close() const {
   WebContents* web_contents = agent_host_->GetWebContents();
   if (!web_contents)
     return false;
-  web_contents->GetRenderViewHost()->ClosePage();
+  web_contents->ClosePage();
   return true;
 }
 
@@ -110,23 +110,4 @@ base::DictionaryValue* DevToolsManagerDelegateEfl::HandleCommand(
   return NULL;
 }
 
-std::string DevToolsManagerDelegateEfl::GetPageThumbnailData(const GURL& url) {
-  return std::string();
-}
-
-scoped_ptr<DevToolsTarget> DevToolsManagerDelegateEfl::CreateNewTarget(const GURL& url) {
-  return scoped_ptr<DevToolsTarget>();
-}
-
-void DevToolsManagerDelegateEfl::EnumerateTargets(TargetCallback callback) {
-  TargetList targets;
-  DevToolsAgentHost::List agents = DevToolsAgentHost::GetOrCreateAll();
-  for (DevToolsAgentHost::List::iterator it = agents.begin();
-      it != agents.end();
-      ++it) {
-    targets.push_back(new Target(*it));
-  }
-  callback.Run(targets);
-}
-
 }  // namespace content
index 3477603..e2aea66 100644 (file)
@@ -7,8 +7,8 @@
 
 
 #include "base/basictypes.h"
+#include "components/devtools_discovery/devtools_target_descriptor.h"
 #include "content/public/browser/devtools_manager_delegate.h"
-#include "content/public/browser/devtools_target.h"
 
 namespace content {
 
@@ -25,10 +25,6 @@ class DevToolsManagerDelegateEfl : public DevToolsManagerDelegate {
   virtual base::DictionaryValue* HandleCommand(
       content::DevToolsAgentHost* agent_host,
       base::DictionaryValue* command_dict) override;
-  virtual scoped_ptr<content::DevToolsTarget> CreateNewTarget(
-      const GURL& url) override;
-  virtual void EnumerateTargets(TargetCallback callback) override;
-  virtual std::string GetPageThumbnailData(const GURL& url) override;
 
  private:
   DISALLOW_COPY_AND_ASSIGN(DevToolsManagerDelegateEfl);
index f51abc6..689f274 100644 (file)
@@ -50,6 +50,7 @@
       '<(DEPTH)/components/components.gyp:sessions_content',
       '<(DEPTH)/components/components.gyp:autofill_content_renderer',
       '<(DEPTH)/components/components.gyp:autofill_content_browser',
+      '<(DEPTH)/components/components.gyp:devtools_http_handler',
       '<(DEPTH)/components/components.gyp:password_manager_core_common',
       '<(DEPTH)/components/components.gyp:password_manager_core_browser',
       '<(DEPTH)/components/components.gyp:plugins_renderer',
index 6de6e05..7baf73c 100644 (file)
@@ -569,7 +569,7 @@ void EWebContext::ClearPasswordData() {
 
 unsigned int EWebContext::InspectorServerStart(unsigned int port) {
   InspectorServerStop();
-  inspector_server_ = new content::DevToolsDelegateEfl(port);
+  inspector_server_ = new devtools_http_handler::DevToolsDelegateEfl(port);
   return inspector_server_ ? inspector_server_->port() : 0;
 }
 
index 03773f4..4bcac4b 100644 (file)
@@ -191,7 +191,7 @@ class EWebContext {
   scoped_ptr<EwkDidStartDownloadCallback> start_download_callback_;
   scoped_ptr<EwkMimeOverrideCallback> mime_override_callback_;
   int m_pixmap;
-  content::DevToolsDelegateEfl* inspector_server_;
+  devtools_http_handler::DevToolsDelegateEfl* inspector_server_;
   scoped_ptr<EWebContextNotificationCallback> notification_cb_;
 };
 
index dc11b30..3b42ab0 100644 (file)
@@ -772,10 +772,10 @@ bool EWebView::ExecuteJavaScript(const char* script, Ewk_View_Script_Execute_Cal
     JavaScriptCallbackDetails* script_callback_data = new JavaScriptCallbackDetails(callback, userdata, evas_object_);
     render_frame_host->ExecuteJavaScript(js_script, base::Bind(&JavaScriptComplete, base::Owned(script_callback_data)));
   } else {
-    // We use ExecuteJavaScriptForTests instead of ExecuteJavaScript because
-    // ExecuteJavaScriptForTests sets user_gesture to true. This was the
+    // We use ExecuteJavaScriptWithUserGestureForTests instead of ExecuteJavaScript because
+    // ExecuteJavaScriptWithUserGestureForTests sets user_gesture to true. This was the
     // behaviour is m34, and we want to keep it that way.
-    render_frame_host->ExecuteJavaScriptForTests(js_script);
+    render_frame_host->ExecuteJavaScriptWithUserGestureForTests(js_script);
   }
 
   return true;
@@ -1982,7 +1982,7 @@ int EWebView::StartInspectorServer(int port) {
   if (inspector_server_) {
     inspector_server_->Stop(); // Asynchronous releas inside Stop()
   }
-  inspector_server_ = new content::DevToolsDelegateEfl(port);
+  inspector_server_ = new devtools_http_handler::DevToolsDelegateEfl(port);
   return inspector_server_ ? inspector_server_->port() : 0;
 }
 
index ee32bb1..c9053c6 100644 (file)
 #include "ui/gfx/geometry/size.h"
 #include "web_contents_delegate_efl.h"
 
+namespace devtools_http_handler {
+class DevToolsDelegateEfl;
+}
+
 namespace content {
 class RenderViewHost;
 class RenderWidgetHostViewEfl;
 class WebContentsDelegateEfl;
 class ContextMenuControllerEfl;
-class DevToolsDelegateEfl;
 class WebContentsViewEfl;
 class PopupControllerEfl;
 }
@@ -530,7 +533,7 @@ class EWebView {
   IDMap<WebApplicationCapableGetCallback, IDMapOwnPointer> web_app_capable_get_callback_map_;
   scoped_ptr<NotificationPermissionCallback> notification_permission_callback_;
   scoped_ptr<PermissionPopupManager> permission_popup_manager_;
-  content::DevToolsDelegateEfl* inspector_server_;
+  devtools_http_handler::DevToolsDelegateEfl* inspector_server_;
   scoped_ptr<ScrollDetector> scroll_detector_;
 #if defined(OS_TIZEN_MOBILE)
   content::FileChooserParams::Mode filechooser_mode_;
index ea4040b..ec7e3dc 100644 (file)
@@ -128,7 +128,7 @@ EwkGlobalData* EwkGlobalData::GetInstance() {
     content::RenderProcessHostImpl::RegisterRendererMainThreadFactory(
         content::CreateInProcessRendererThread);
     GpuProcessHost::RegisterGpuMainThreadFactory(
-        content::CreateInProcessGpuThread);
+        reinterpret_cast<content::GpuMainThreadFactoryFunction>(content::CreateInProcessGpuThread));
   }
 
 #ifndef NDEBUG
index d030b73..b81a9df 100644 (file)
@@ -5,7 +5,7 @@ includedir=${prefix}/include
 
 Name: chromium-ewk
 Description: EWK API based on chromium-efl engine
-Version: 42.2311.0.11-1
+Version: 44.2403.0.31-1
 Requires: chromium-efl
 Libs: -L${libdir} -lchromium-ewk
 Cflags: -I${includedir}/chromium-ewk
index a3e0939..9b96153 100644 (file)
@@ -194,12 +194,16 @@ void PopupControllerEfl::openPopup(const char* message) {
   showPopup();
 #else
   GError* error = NULL;
+#if !defined(EWK_BRINGUP)
+// [M44_2403] Temporary disabling the codes for switching to new chromium
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14045
   gboolean ret = g_app_info_launch_default_for_uri(
       full_content_.c_str(), NULL, &error);
   if (!ret) {
     LOG(WARNING) << "Failed to launch default application for: "
                  << full_content_ << ", " << error->message;
   }
+#endif // EWK_BRINGUP
 #endif
 }
 
index cbdd615..806a811 100644 (file)
@@ -210,16 +210,6 @@ bool ContentRendererClientEfl::WillSendRequest(blink::WebFrame* frame,
   return true;
 }
 
-void ContentRendererClientEfl::DidCreateScriptContext(blink::WebFrame* frame,
-                                                      v8::Handle<v8::Context> context,
-                                                      int extension_group,
-                                                      int world_id) {
-  const content::RenderView* render_view = content::RenderView::FromWebView(frame->view());
-  if (wrt_widget_)
-    wrt_widget_->StartSession(context, render_view->GetRoutingID(),
-                            frame->document().baseURL().string().utf8());
-}
-
 void ContentRendererClientEfl::WillReleaseScriptContext(blink::WebFrame* frame,
                                                         v8::Handle<v8::Context> context,
                                                         int world_id) {
index c8f5479..7599d6b 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "common/web_view_settings.h"
 #include "content/public/renderer/content_renderer_client.h"
+#include "content/public/renderer/render_frame_observer.h"
 #include "renderer/content_renderer_client_efl.h"
 #include "v8/include/v8.h"
 #include "renderer/render_process_observer_efl.h"
@@ -53,11 +54,6 @@ class ContentRendererClientEfl : public content::ContentRendererClient
       const blink::WebPluginParams& params,
       blink::WebPlugin** plugin) override;
 
-  void DidCreateScriptContext(blink::WebFrame* frame,
-                              v8::Handle<v8::Context> context,
-                              int extension_group,
-                              int world_id) override;
-
   void WillReleaseScriptContext(blink::WebFrame* frame,
                                 v8::Handle<v8::Context>,
                                 int world_id);
index b110786..fef32a0 100644 (file)
@@ -57,3 +57,6 @@ void PluginPlaceholderEfl::BindWebFrame(blink::WebFrame* frame) {
   global->Set(gin::StringToV8(isolate, "plugin"),
               gin::CreateHandle(isolate, this).ToV8());
 }
+
+blink::WebPlugin* PluginPlaceholderEfl::CreatePlugin() {
+}
index 13376c9..5fb37a7 100644 (file)
@@ -24,6 +24,7 @@ class PluginPlaceholderEfl : public plugins::LoadablePluginPlaceholder {
 
   // WebViewPlugin::Delegate (via PluginPlaceholder) method
   void BindWebFrame(blink::WebFrame* frame) override;
+  blink::WebPlugin* CreatePlugin() override;
 
   DISALLOW_COPY_AND_ASSIGN(PluginPlaceholderEfl);
 };
index 5730bbd..cd86d46 100644 (file)
 #include "content/public/browser/cookie_store_factory.h"
 #include "content/public/common/content_switches.h"
 #include "content/public/common/url_constants.h"
-#include "content/browser/net/sqlite_persistent_cookie_store.h"
 #include "net/base/cache_type.h"
 #include "net/cert/cert_verifier.h"
 #include "net/dns/host_resolver.h"
 #include "net/dns/mapped_host_resolver.h"
+#include "net/extras/sqlite/sqlite_persistent_cookie_store.h"
 #include "net/http/http_auth_handler_factory.h"
 #include "net/http/http_cache.h"
 #include "net/http/http_server_properties_impl.h"
@@ -33,6 +33,8 @@
 #include "network_delegate_efl.h"
 #include "http_user_agent_settings_efl.h"
 
+using net::SQLitePersistentCookieStore;
+
 namespace content {
 
 namespace {
@@ -288,7 +290,7 @@ void URLRequestContextGetterEfl::CreateSQLitePersistentCookieStore(
           cookie_path,
           BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
           BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB),
-          persist_session_cookies, NULL, NULL);
+          persist_session_cookies, NULL);
   } else {
     NOTREACHED() << "The cookie storage directory could not be created";
     return;
index fddb47b..1b2878c 100644 (file)
@@ -187,7 +187,7 @@ void WebContentsDelegateEfl::CloseContents(WebContents* source) {
 }
 
 void WebContentsDelegateEfl::EnterFullscreenModeForTab(content::WebContents* web_contents,
-      const GURL& origin) {
+      const GURL& origin, int display_id) {
    is_fullscreen_ = true;
    web_view_->SmartCallback<EWebViewCallbacks::EnterFullscreen>().call();
 }
@@ -587,14 +587,4 @@ bool WebContentsDelegateEfl::PreHandleGestureEvent(
   return false;
 }
 
-void WebContentsDelegateEfl::OrientationLock(
-    blink::WebScreenOrientationLockType orientation) {
-  WebViewDelegateEwk::GetInstance().RequestHandleOrientationLock(web_view_,
-      static_cast<int>(orientation));
-}
-
-void WebContentsDelegateEfl::OrientationUnlock() {
-  WebViewDelegateEwk::GetInstance().RequestHandleOrientationUnlock(web_view_);
-}
-
 } //namespace content
index 5b84060..aceb13c 100644 (file)
@@ -59,7 +59,8 @@ class WebContentsDelegateEfl
   virtual void CloseContents(WebContents* source) override;
 
   void EnterFullscreenModeForTab(content::WebContents* web_contents,
-                                 const GURL& origin) override;
+                                 const GURL& origin,
+                                 int display_id = 0) override;
   void ExitFullscreenModeForTab(content::WebContents* web_contents) override;
 
   virtual bool IsFullscreenForTabOrPending(
@@ -159,9 +160,6 @@ class WebContentsDelegateEfl
   bool PreHandleGestureEvent(WebContents* source,
                              const blink::WebGestureEvent& event) override;
 
-  void OrientationLock(blink::WebScreenOrientationLockType orientation);
-  void OrientationUnlock();
-
  private:
   void OnGetContentSecurityPolicy(IPC::Message* reply_msg);
   void OnWrtPluginMessage(const Ewk_Wrt_Message_Data& data);
index 872d10f..a7f465c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" package="chromium-efl" version="42.2311.0.11">
+<manifest xmlns="http://tizen.org/ns/packages" package="chromium-efl" version="44.2403.0.31">
     <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 723f5c3..cf88bbc 100644 (file)
           ],
           'cflags': [
             '<!@(pkg-config --cflags dlog)',
+            '<!@(pkg-config --cflags dbus-glib-1)',
           ],
           'link_settings': {
             'ldflags': [
               '<!@(pkg-config --libs-only-L --libs-only-other dlog)',
+              '<!@(pkg-config --libs-only-L --libs-only-other dbus-glib-1)',
             ],
             'libraries': [
               '<!@(pkg-config --libs-only-l dlog)',
+              '<!@(pkg-config --libs-only-l dbus-glib-1)',
             ]
           },
         }]
index 0253329..6494a43 100644 (file)
@@ -1,8 +1,8 @@
 Name: chromium-efl
 Summary: Chromium EFL
 # Set by by scripts/update-chromium-version.sh
-%define ChromiumVersion 42.2311.0
-%define Week 11
+%define ChromiumVersion 44.2403.0
+%define Week 31
 Version: %{ChromiumVersion}.%{Week}
 Release: 1
 # The 'Group' should be specified as one of the following valid group list.
@@ -61,7 +61,7 @@ Requires(post): xkeyboard-config
 Requires(postun): /sbin/ldconfig
 
 BuildRequires: bison, edje-tools, expat-devel, flex, gettext, gperf, libcap-devel
-BuildRequires: libjpeg-turbo-devel, perl, python, python-xml, vi, which
+BuildRequires: libjpeg-turbo-devel, perl, python, python-xml, which
 BuildRequires: pkgconfig(capi-appfw-application)
 BuildRequires: pkgconfig(capi-location-manager)
 BuildRequires: pkgconfig(capi-media-audio-io)
@@ -72,6 +72,7 @@ BuildRequires: pkgconfig(capi-system-device)
 BuildRequires: pkgconfig(capi-system-info)
 BuildRequires: pkgconfig(capi-system-system-settings)
 BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(dbus-glib-1)
 BuildRequires: pkgconfig(ecore)
 BuildRequires: pkgconfig(ecore-evas)
 BuildRequires: pkgconfig(ecore-imf)
@@ -146,10 +147,11 @@ BuildRequires: pkgconfig(ttrace)
 %else # for TV
 BuildRequires: pkgconfig(audio-session-mgr)
 BuildRequires: pkgconfig(mm-session)
+%endif
+
 %if "%{?chromium_efl_tizen_version}%{!?chromium_efl_tizen_version:0}" == "2.4"
 BuildRequires: pkgconfig(glesv2)
 %endif
-%endif
 
 # Version Conditions for Every Targets
 %if "%{?chromium_efl_tizen_version}%{!?chromium_efl_tizen_version:0}" >= "2.4"
index e5e262f..8dfa9f0 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>42.2311.0.11</Version>
+    <Version>44.2403.0.31</Version>
     <Type>C++App</Type>
     <Descriptions>
         <Description Locale="eng-PH"/>
index d14ef86..605dbaa 100644 (file)
@@ -24,7 +24,9 @@
 
     'tizen_multimedia_support%': 1,
     'tizen_multimedia_eme_support%': 1,
-    'tizen_disable_gpu_thread%': 1,
+# [M44_2403] Temporary disabling the tizen_disable_gpu_thread for switching to new chromium
+#            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14046
+    'tizen_disable_gpu_thread%': 0,
 
     'data_dir%'  : '/usr/share/chromium-efl/',
     'exe_dir%'   : '/usr/lib/chromium-efl/',