[EFL] Move function to get dpi to the WebCore/platform/efl/EflScreenUtilities.cpp.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jan 2012 06:46:45 +0000 (06:46 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jan 2012 06:46:45 +0000 (06:46 +0000)
commite6d28a452b067b8dbc6c7d4520c696168b14929e
treea84f5f90bd317cbdbce730770b1220ae6190fb9d
parentdee5743ccf2c3671f926f641044333347065491c
[EFL] Move function to get dpi to the WebCore/platform/efl/EflScreenUtilities.cpp.
https://bugs.webkit.org/show_bug.cgi?id=75292

Patch by Eunmi Lee <eunmi15.lee@samsung.com> on 2012-01-01
Reviewed by Andreas Kling.

Move ewk_util_dpi_get() function in the ewk_util.cpp to the
WebCore/platform/efl/EflScreenUtilities.cpp in order to use it in the WebKit2.
The function's name is changed to getDPI().

Source/WebCore:

* PlatformEfl.cmake:
* platform/efl/EflScreenUtilities.cpp: Added.
(WebCore::getDPI):
* platform/efl/EflScreenUtilities.h: Added.

Source/WebKit/efl:

* ewk/ewk_private.h:
* ewk/ewk_util.cpp:
(ewk_util_image_from_cairo_surface_add):
* ewk/ewk_view.cpp:
(_ewk_view_viewport_attributes_compute):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@103891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/PlatformEfl.cmake
Source/WebCore/platform/efl/EflScreenUtilities.cpp [new file with mode: 0644]
Source/WebCore/platform/efl/EflScreenUtilities.h [new file with mode: 0644]
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/ewk/ewk_private.h
Source/WebKit/efl/ewk/ewk_util.cpp
Source/WebKit/efl/ewk/ewk_view.cpp