[EFL] Add method in ewk_settings for setting the CSS media type
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Apr 2013 12:43:45 +0000 (12:43 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Apr 2013 12:43:45 +0000 (12:43 +0000)
commitd9989cba638773b1c3c21ebf04babaaad99c8811
treee18a8c886a4fa4fa499b614d814bbab09b2129e3
parent2b19dd0182b6d9f93ad130bd90cb8fdc8fc10e62
[EFL] Add method in ewk_settings for setting the CSS media type
https://bugs.webkit.org/show_bug.cgi?id=113284

Patch by Jose Lejin PJ <jose.lejin@gmail.com> on 2013-04-19
Reviewed by Gyuyoung Kim.

Source/WebKit:

test_ewk_setting is added.

* PlatformEfl.cmake:

Source/WebKit/efl:

Added APIs to set and get CSS media type.
Added unit tests for these APIs.

* WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::overrideMediaType):
* ewk/ewk_settings.cpp:
(ewk_settings_css_media_type_set):
(ewk_settings_css_media_type_get):
* ewk/ewk_settings.h:
* tests/test_ewk_setting.cpp: Added.
(TEST_F):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@148740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/PlatformEfl.cmake
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp
Source/WebKit/efl/ewk/ewk_settings.cpp
Source/WebKit/efl/ewk/ewk_settings.h
Source/WebKit/efl/tests/test_ewk_setting.cpp [new file with mode: 0644]