Skip to content
  • christophe.dumez@intel.com's avatar
    [EFL][WK2] Use C API inside ewk_favicon_database · 7d7c2c77
    christophe.dumez@intel.com authored
    https://bugs.webkit.org/show_bug.cgi?id=107680
    
    Reviewed by Kenneth Rohde Christiansen.
    
    Use C API inside ewk_favicon_database instead of
    accessible the C++ classes and violating layering.
    We still rely on some C++ methods but this will be
    addressed later since there is no equivalent in
    the C API and it will require more refactoring.
    
    * UIProcess/API/efl/ewk_context.cpp:
    (EwkContext::ensureFaviconDatabase):
    * UIProcess/API/efl/ewk_favicon_database.cpp:
    (EwkFaviconDatabase::EwkFaviconDatabase):
    (EwkFaviconDatabase::~EwkFaviconDatabase):
    (EwkFaviconDatabase::iconURLForPageURL):
    (EwkFaviconDatabase::iconForPageURL):
    (EwkFaviconDatabase::getIconSurfaceSynchronously):
    (EwkFaviconDatabase::iconDataReadyForPageURL):
    (ewk_favicon_database_async_icon_get):
    * UIProcess/API/efl/ewk_favicon_database_private.h:
    (EwkFaviconDatabase::create):
    (EwkFaviconDatabase):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7d7c2c77