Changes after TouchData renamed to TouchEvent 08/241108/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 14 Aug 2020 14:41:25 +0000 (15:41 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 14 Aug 2020 14:41:35 +0000 (15:41 +0100)
Change-Id: Ica24452a357de3996567c7db7f725c80883493c0

dali-extension/web-engine-chromium/tizen-web-engine-chromium.cpp
dali-extension/web-engine-chromium/tizen-web-engine-chromium.h
dali-extension/web-engine-lwe/tizen-web-engine-lwe.cpp
dali-extension/web-engine-lwe/tizen-web-engine-lwe.h

index 8b8aa15..31a12a3 100644 (file)
@@ -322,7 +322,7 @@ public:
     evas_object_resize( mWebView, mWidth, mHeight );
   }
 
-  bool SendTouchEvent( const TouchData& touch )
+  bool SendTouchEvent( const TouchEvent& touch )
   {
     Ewk_Touch_Event_Type type = EWK_TOUCH_START;
     Evas_Touch_Point_State state = EVAS_TOUCH_POINT_DOWN;
@@ -813,7 +813,7 @@ void TizenWebEngineChromium::SetSize( int width, int height )
   }
 }
 
-bool TizenWebEngineChromium::SendTouchEvent( const Dali::TouchData& touch )
+bool TizenWebEngineChromium::SendTouchEvent( const Dali::TouchEvent& touch )
 {
   if( mWebViewContainer )
   {
index cf1f53f..2aca277 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_TIZEN_WEB_ENGINE_CHROMIUM_H
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -279,7 +279,7 @@ public:
   /**
    * @copydoc Dali::WebEnginePlugin::SendTouchEvent()
    */
-  bool SendTouchEvent( const Dali::TouchData& touch ) override;
+  bool SendTouchEvent( const Dali::TouchEvent& touch ) override;
 
   /**
    * @copydoc Dali::WebEnginePlugin::SendKeyEvent()
index 82ca3d1..dd63972 100644 (file)
@@ -22,7 +22,7 @@
 #include <dali/integration-api/debug.h>
 #include <dali/devel-api/common/stage.h>
 #include <dali/public-api/events/key-event.h>
-#include <dali/public-api/events/touch-data.h>
+#include <dali/public-api/events/touch-event.h>
 #include <dali/devel-api/adaptor-framework/application-devel.h>
 
 #include <unistd.h>
@@ -731,7 +731,7 @@ void TizenWebEngineLWE::DispatchMouseMoveEvent( float x, float y, bool isLButton
     : LWE::MouseButtonsValue::NoButtonDown, x, y );
 }
 
-bool TizenWebEngineLWE::SendTouchEvent( const TouchData& touch )
+bool TizenWebEngineLWE::SendTouchEvent( const TouchEvent& touch )
 {
   size_t pointCount = touch.GetPointCount();
   if( pointCount == 1 )
index 2168115..7fa5d7e 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_TIZEN_WEB_ENGINE_LWE_H
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -235,7 +235,7 @@ public:
   /**
    * @copydoc Dali::WebEnginePlugin::SendTouchEvent()
    */
-  bool SendTouchEvent( const Dali::TouchData& touch ) override;
+  bool SendTouchEvent( const Dali::TouchEvent& touch ) override;
 
   /**
    * @copydoc Dali::WebEnginePlugin::SendKeyEvent()