Skip to content
  • eric@webkit.org's avatar
    2010-03-01 Thatcher Ulrich <tulrich@google.com> · 869ecb03
    eric@webkit.org authored
            Reviewed by Darin Fisher.
    
            Fix chromium iframe shims.  Add another test case to the
            iframes-shims test.  After r53637, the plugin widget doesn't get
            moved every paint.  This used to hide the bug that if an iframe
            gets added, the plugin's cutout rectangles don't get updated until
            a layout happens.
            https://bugs.webkit.org/show_bug.cgi?id=35184
    
            * plugins/iframe-shims.html: test case that adds an iframe shim dynamically
    2010-03-01  Thatcher Ulrich  <tulrich@google.com>
    
            Reviewed by Darin Fisher.
    
            Fix chromium iframe shims.  Add another test case to the
            iframes-shims test.  After r53637, the plugin widget doesn't get
            moved every paint.  This used to hide the bug that if an iframe
            gets added, the plugin's cutout rectangles don't get updated until
            a layout happens.
            https://bugs.webkit.org/show_bug.cgi?id=35184
    
            * platform/Widget.h:
            (WebCore::Widget::widgetPositionsUpdated): new virtual method
                widgetPositionsUpdated() to notify widgets when other widgets on
                the page have been repositioned.
            * rendering/RenderView.cpp:
            (WebCore::RenderView::updateWidgetPositions): call widgetPositionsUpdated() on the widgets
            * rendering/RenderWidget.cpp:
            (WebCore::RenderWidget::widgetPositionsUpdated): call widgetPositionsUpdated() on the widget
            * rendering/RenderWidget.h:
    2010-03-01  Thatcher Ulrich  <tulrich@google.com>
    
            Reviewed by Darin Fisher.
    
            Fix chromium iframe shims.  Add another test case to the
            iframes-shims test.  After r53637, the plugin widget doesn't get
            moved every paint.  This used to hide the bug that if an iframe
            gets added, the plugin's cutout rectangles don't get updated until
            a layout happens.
            https://bugs.webkit.org/show_bug.cgi?id=35184
    
            * src/WebPluginContainerImpl.cpp:
            (WebKit::WebPluginContainerImpl::widgetPositionsUpdated): do reportGeometry() to ensure that
                the plugin is aware of the positions of cutouts on the page (for iframe shim behavior).
            * src/WebPluginContainerImpl.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    869ecb03