Skip to content
  • aroben@apple.com's avatar
    Make the implementation of Frame::setNeedsReapplyStyles cross-platform · 4cfcb8ae
    aroben@apple.com authored
     WebCore:
    
             Make the implementation of Frame::setNeedsReapplyStyles cross-platform
    
             Reviewed by Hyatt.
    
             No change in functionality.
    
             * page/Frame.cpp:
             (WebCore::Frame::setNeedsReapplyStyles): Added. Invalidates the
             FrameView so that FrameView::layout will be called, which ends up
             calling reapplyStyles.
             (WebCore::Frame::needsReapplyStyles): Added.
             (WebCore::Frame::reapplyStyles): Renamed from reparseConfiguration.
             (WebCore::FramePrivate::FramePrivate):
             * page/Frame.h:
             * page/FramePrivate.h: Added new boolean member.
             * page/FrameView.cpp:
             (WebCore::FrameView::layout): Call Frame::reapplyStyles if needed.
             (WebCore::FrameView::needsLayout): Say that we need layout if the
             Frame needs styles reapplied.
             * page/mac/WebCoreFrameBridge.h: Removed setNeedsReapplyStyles.
             * page/mac/WebCoreFrameBridge.mm:
             (-[WebCoreFrameBridge reapplyStylesForDeviceType:]): Updated for
             rename.
    
             * bridge/win/FrameWin.cpp: Removed Frame::setNeedsReapplyStyles.
             * page/gtk/FrameGtk.cpp: Ditto.
             * page/mac/FrameMac.mm: Ditto.
             * page/qt/FrameQt.cpp: Ditto.
             * platform/wx/TemporaryLinkStubs.cpp: Ditto.
    
     WebKit/mac:
    
             Remove -[WebFrameBridge setNeedsReapplyStyles]
    
             This functionality is now WebCore's responsibility.
    
             Reviewed by Hyatt.
    
             * WebCoreSupport/WebFrameBridge.mm:
             * WebKit.order:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4cfcb8ae