Revert "[Tizen] Disable hover and wheel code until chromium support it"
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 20 Apr 2021 01:36:27 +0000 (10:36 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Tue, 20 Apr 2021 01:36:27 +0000 (10:36 +0900)
This reverts commit 7d7217e1562fbcdd0618ee9c3dc2a9b8cf49347e.

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

index 7201ebe..df4e638 100755 (executable)
@@ -593,7 +593,7 @@ public:
 
   bool SendHoverEvent(const HoverEvent& hover)
   {
-#if 0
+#if defined(OS_TIZEN_TV)
     //TODO...left/right/middle of mouse could not be acquired now.
     Ewk_Mouse_Button_Type type = EWK_Mouse_Button_Left;
     switch ( hover.GetState( 0 ) )
@@ -630,7 +630,7 @@ public:
 
   bool SendWheelEvent(const WheelEvent& wheel)
   {
-#if 0
+#if defined(OS_TIZEN_TV)
     Eina_Bool direction = wheel.GetDirection() ? true : false;
     int step = wheel.GetDelta();
     float x = wheel.GetPoint().x;
@@ -825,7 +825,7 @@ private:
 TizenWebEngineChromium::TizenWebEngineChromium()
     : mWebViewContainer(0)
     , mJavaScriptEvaluationCount(0)
-{
+{\r
 }
 
 TizenWebEngineChromium::~TizenWebEngineChromium()