Move ewk_util_dpi_get() function in the ewk_util.cpp to the WebCore/platform/efl/EflUtilities.cpp in order to use it in the WebKit2. The function's name is changed to getDPI().
Created attachment 120637 [details] patch for DPI
LGTM.
Comment on attachment 120637 [details] patch for DPI Looks OK; calling something 'utils', 'misc' or 'utilities' is something I'd like to avoid, though. As there is EflKeyboardUtilities.cpp, how about calling EflUtilities.cpp EflScreenUtilities.cpp?
(In reply to comment #3) > (From update of attachment 120637 [details]) > Looks OK; calling something 'utils', 'misc' or 'utilities' is something I'd like to avoid, though. As there is EflKeyboardUtilities.cpp, how about calling EflUtilities.cpp EflScreenUtilities.cpp? I agree with you :) It's better to use EflScreenUtilities.cpp as EflKeyboardUtilities.cpp.
Created attachment 120712 [details] patch for DPI Rename EflUtilities.cpp to EflUtilities.h
(In reply to comment #5) > Created an attachment (id=120712) [details] > patch for DPI > > Rename EflUtilities.cpp to EflUtilities.h Rename EflUtilities.cpp and EflUtilities.h to EflScreenUtilities.*
Though I'm a little concern how many utilities files will be added, looks good. :-)
Comment on attachment 120712 [details] patch for DPI Clearing flags on attachment: 120712 Committed r103891: <http://trac.webkit.org/changeset/103891>
All reviewed patches have been landed. Closing bug.