[EFL] Start using evas object directly in Widget class
authormikhail.pozdnyakov@intel.com <mikhail.pozdnyakov@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Mar 2013 13:30:05 +0000 (13:30 +0000)
committermikhail.pozdnyakov@intel.com <mikhail.pozdnyakov@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Mar 2013 13:30:05 +0000 (13:30 +0000)
commit8ddc8f231eca0545e39fa2cb748315227184d234
tree597761fef2cac040bf902797312f06b0a8e02117
parent8fde0f704a4449469e9caf26ec86675128c81b13
[EFL] Start using evas object directly in Widget class
https://bugs.webkit.org/show_bug.cgi?id=111858

Reviewed by Antonio Gomes.

Based on a patch by Kenneth Rohde Christiansen.

EFL Widget class should use evas object pointer directly rather
than WidgetPrivate* m_data as platformWidget() is a Mac specific
implementation detail that they are moving away from with WebKit2.

This patch brings: firstly better compliance with other ports,
secondly it makes code cleaner.

Besides, the evasObject is only directly used in the ScrollbarEfl
subclass of Widget and not in Widget or ScrollView or any other subclass,
thus the evas_object code has now been concentrated in ScrollbarEfl.

No new tests as there are no behavioral changes.

* page/efl/EventHandlerEfl.cpp:
* platform/Widget.h:
(Widget):
(WebCore::Widget::evasObject):
* platform/efl/ScrollbarEfl.cpp:
(ScrollbarEfl::~ScrollbarEfl):
(scrollbarEflEdjeMessage):
(ScrollbarEfl::show):
(ScrollbarEfl::hide):
(ScrollbarEfl::setParent):
(ScrollbarEfl::updateThumbPositionAndProportion):
(ScrollbarEfl::frameRectsChanged):
* platform/efl/ScrollbarEfl.h:
(ScrollbarEfl):
* platform/efl/WidgetEfl.cpp:
(WebCore::Widget::Widget):
(WebCore::Widget::~Widget):
(WebCore::Widget::frameRectsChanged):
(WebCore::Widget::show):
(WebCore::Widget::hide):
(WebCore::Widget::setEvasObject):
* plugins/efl/PluginViewEfl.cpp:
(WebCore::PluginView::platformGetValue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@145710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/efl/EventHandlerEfl.cpp
Source/WebCore/platform/Widget.h
Source/WebCore/platform/efl/ScrollbarEfl.cpp
Source/WebCore/platform/efl/ScrollbarEfl.h
Source/WebCore/platform/efl/WidgetEfl.cpp
Source/WebCore/plugins/efl/PluginViewEfl.cpp