[EFL][WK1] Do not include cairo header in the public headers
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Feb 2014 08:39:12 +0000 (08:39 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Feb 2014 08:39:12 +0000 (08:39 +0000)
commite63c61a3482d30369defeb3114c74e3f34aa1e45
tree285c22386d14c99b268da5089c8ed18954c3b665
parent046b0f11c4d346fe67eccd60d3fbaec1d7a3be81
[EFL][WK1] Do not include cairo header in the public headers
https://bugs.webkit.org/show_bug.cgi?id=128779

Reviewed by Gyuyoung Kim.

Source/WebKit/efl:

Although ewebkit used cairo internally, it's not good for EFL developers
to use it.
Indeed, almost APIs which returns cairo_surface are duplicated with other APIs
which returns evas_object.

* ewk/ewk_history.cpp:
Removed ewk_history_item_icon_surface_get.
ewk_history_item_icon_object_add will be used instead.
* ewk/ewk_history.h:
* ewk/ewk_settings.cpp:
Removed ewk_settings_icon_database_icon_surface_get.
ewk_settings_icon_database_icon_object_get will be used instead.
* ewk/ewk_settings.h:
* ewk/ewk_view.cpp:
(ewk_view_screenshot_contents_get):
Implemented to replace ewk_view_paint and ewk_view_paint_contents.
* ewk/ewk_view.h:
* tests/test_ewk_view.cpp:
(TEST_F): Added test case for ewk_view_screenshot_contents_get

Tools:

* DumpRenderTree/PlatformEfl.cmake:
* DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
(createBitmapContextFromWebView):
Used ewk_view_screenshot_contents_get instead of ewk_view_paint.
* EWebLauncher/main.c:
(print_history): Replaced ewk_history_item_icon_surface_get to ewk_history_item_icon_object_add
(on_key_down):
* Scripts/webkitpy/style/checker.py:
Added -runtime/ctype_function for EWebLauncher because EWebLauncher is sample
and it does not use WTF.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/ewk/ewk_history.cpp
Source/WebKit/efl/ewk/ewk_history.h
Source/WebKit/efl/ewk/ewk_settings.cpp
Source/WebKit/efl/ewk/ewk_settings.h
Source/WebKit/efl/ewk/ewk_view.cpp
Source/WebKit/efl/ewk/ewk_view.h
Source/WebKit/efl/tests/test_ewk_view.cpp
Tools/ChangeLog
Tools/DumpRenderTree/PlatformEfl.cmake
Tools/DumpRenderTree/efl/PixelDumpSupportEfl.cpp
Tools/EWebLauncher/main.c
Tools/Scripts/webkitpy/style/checker.py