Skip to content
  • commit-queue@webkit.org's avatar
    [EFL] Implement PlatformStrategies · 1578f4df
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=86946
    
    Source/WebCore:
    
    Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-06-01
    Reviewed by Carlos Garcia Campos.
    
    * PlatformEfl.cmake: Add PlatformStrategies.cpp file to the build system.
    Also, remove PluginDataEfl.cpp because the same functionality is now
    implemented in PlatformStrategiesEfl.cpp.
    
    Source/WebKit:
    
    Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-06-01
    Reviewed by Carlos Garcia Campos.
    
    * PlatformEfl.cmake: Add PlatformStrategiesEfl file to the build
    system.
    
    Source/WebKit/efl:
    
    Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-06-01
    Reviewed by Carlos Garcia Campos.
    
    Enable PLATFORM_STRATEGIES for EFL platform.
    
    * WebCoreSupport/PlatformStrategiesEfl.cpp: Added, code was moved
    from platform/PluginDataEfl.
    (PlatformStrategiesEfl::initialize): Initialize platform strategies.
    (PlatformStrategiesEfl::PlatformStrategiesEfl):
    (PlatformStrategiesEfl::createCookiesStrategy): Return this.
    (PlatformStrategiesEfl::createPluginStrategy): Ditto.
    (PlatformStrategiesEfl::createVisitedLinkStrategy): Ditto.
    (PlatformStrategiesEfl::createPasteboardStrategy): Return 0, since
    PasteboardStrategy is only used by mac code for now.
    (PlatformStrategiesEfl::notifyCookiesChanged):
    (PlatformStrategiesEfl::refreshPlugins): Refresh the plugin
    database. Code executes only when NETSCAPE_PLUGIN_API is ON.
    (PlatformStrategiesEfl::getPluginInfo): Initialize plugins and
    populate the given vector with plugins information. Code executes
    only when NETSCAPE_PLUGIN_API is ON.
    (PlatformStrategiesEfl::isLinkVisited): Return whether the given
    hash is a visited link of the page group.
    (PlatformStrategiesEfl::addVisitedLink): Add the given hash to the
    page group visited links.
    * WebCoreSupport/PlatformStrategiesEfl.h: Added.
    (PlatformStrategiesEfl):
    * ewk/ewk_main.cpp: Initialize PlatformStrategiesEfl.
    (_ewk_init_body):
    
    Source/WTF:
    
    Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-06-01
    Reviewed by Carlos Garcia Campos.
    
    * wtf/Platform.h: Enable PLATFORM_STRATEGIES for EFL platform.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119208 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1578f4df