[EFL] Remove PlatformTouchEventEfl and PlatformTouchPointEfl
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Aug 2012 23:52:18 +0000 (23:52 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Aug 2012 23:52:18 +0000 (23:52 +0000)
commit63f6dd60854e832b9d973109a05ad4a334c5a5ee
treee32c3e535f82d818dd028fcd8c4fec140e0c913a
parent0b8b6887e8636deaaf5fdc7476eca60bfa06d0f2
[EFL] Remove PlatformTouchEventEfl and PlatformTouchPointEfl
https://bugs.webkit.org/show_bug.cgi?id=93270

Reviewed by Eric Seidel.

Source/WebCore:

PlatformTouchEventEfl and PlatformTouchPointEfl initialize PlatformTouchEvent
directly from Ewk_TouchEvent which is WebKit1/Efl API and they can not be
shared with WebKit2/Efl.

In order to remove this WebKit dependency from WebCore, this patch removes Efl
specific codes from PlatformTouchXXX and adds the classes which convert
Ewk_Touch_XXX to PlatformTouchXXX.

No new tests. Just a refactoring.

* PlatformEfl.cmake: Removed PlatformTouchEventEfl.cpp and PlatformTouchPointEfl.cpp
* platform/PlatformTouchEvent.h: Removed Efl specific codes.
(PlatformTouchEvent):
* platform/PlatformTouchPoint.h: Ditto.
(PlatformTouchPoint):
* platform/efl/PlatformTouchEventEfl.cpp: Removed.
* platform/efl/PlatformTouchPointEfl.cpp: Removed.

Source/WebKit:

* PlatformEfl.cmake: Added ewk_touch_event.cpp

Source/WebKit/efl:

* ewk/ewk_frame.cpp:
(ewk_frame_feed_touch_event):
* ewk/ewk_touch_event.cpp: Added.
(WebKitPlatformTouchPoint):
(WebKitPlatformTouchPoint::WebKitPlatformTouchPoint):
Added to initialize members of PlatformTouchPoint.
(WebKitPlatformTouchEvent):
(WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
Added to initialize members of PlatformTouchEvent.
(EWKPrivate):
(EWKPrivate::platformTouchEvent):
Converted Ewk_Touch_Event to PlatformTouchEvent.
* ewk/ewk_touch_event_private.h:
(EWKPrivate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@124945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/PlatformEfl.cmake
Source/WebCore/platform/PlatformTouchEvent.h
Source/WebCore/platform/PlatformTouchPoint.h
Source/WebCore/platform/efl/PlatformTouchEventEfl.cpp [deleted file]
Source/WebKit/ChangeLog
Source/WebKit/PlatformEfl.cmake
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/ewk/ewk_frame.cpp
Source/WebKit/efl/ewk/ewk_touch_event.cpp [new file with mode: 0644]
Source/WebKit/efl/ewk/ewk_touch_event_private.h [moved from Source/WebCore/platform/efl/PlatformTouchPointEfl.cpp with 60% similarity]