2011-02-04  Robert Hogan  <robert@webkit.org>

        Reviewed by Darin Fisher.

        Move chromium iframe shim code to cross-platform file.
        https://bugs.webkit.org/show_bug.cgi?id=52594

        * platform/qt/Skipped: Unskip plugins/iframe-shims.html
2011-02-04  Robert Hogan  <robert@webkit.org>

        Reviewed by Darin Fisher.

        Move chromium iframe shim code to cross-platform file
        https://bugs.webkit.org/show_bug.cgi?id=52594

        Move Chromium code for identifying and cutting out
        iframe shims from plugins to cross-platform utility file
        IFrameShimSupport.cpp.
        Amend PluginViewQt to use this code to handle shims correctly.

        * WebCore.gypi: Add Chromium support for IFrameShimSupport.cpp
        * WebCore.pro: Add Qt support for IFrameShimSupport.cpp
        * plugins/IFrameShimSupport.cpp: Added.
        (WebCore::getObjectStack):
        (WebCore::iframeIsAbovePlugin):
        (WebCore::getPluginOcclusions):
        * plugins/IFframeShimSupport.h: Added.
        * plugins/qt/PluginViewQt.cpp:
        (WebCore::PluginView::setNPWindowIfNeeded):
2011-02-04  Robert Hogan  <robert@webkit.org>

        Reviewed by Darin Fisher.

        Move chromium iframe shim code to cross-platform file
        https://bugs.webkit.org/show_bug.cgi?id=52594

        * src/WebPluginContainerImpl.cpp: Move code to WebCore/plugin/IFrameShimSupport.cpp

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
10 files changed