1. 04 Dec, 2007 2 commits
    • 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
    • darin@apple.com's avatar
      WebCore: · 89c61adc
      darin@apple.com authored
              Reviewed by Kevin Decker.
      
              - added an assertion for a situation that leads to a Safari assertion:
                a commit that is not followed by a load completion
      
              - removed some unneeded FrameLoader stuff -- maybe some day we'll get this
                class cut down to size
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::FrameLoader): Added boolean for assertion.
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame): Added code to assert
              that we already sent a commit before sending a complete.
              (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy): Call
              client directly instead of indirecting through a function.
              (WebCore::FrameLoader::loadItem): Ditto.
              (WebCore::FrameLoader::goToItem): Ditto.
              (WebCore::FrameLoader::addHistoryForCurrentLocation): Get the private browsing
              state from Settings instead of FrameLoaderClient. Also call client directly
              instead of indirecting through a function.
              (WebCore::FrameLoader::updateHistoryForReload): Call client directly instead
              of indirecting through a function.
              (WebCore::FrameLoader::dispatchDidCommitLoad): Added code to assert
              that we did not yet send a commit and set the flag that will be used to check
              that we don't do this twice in a row without an intervening completion call.
      
              * loader/FrameLoader.h: Added a boolean for the assertion. Removed six
              now-unneeded functions.
      
              * loader/FrameLoaderClient.h: Removed now-unneeded privateBrowsingEnabled function.
      
              * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::willCacheResponse): Get
              the private browsing state from Settings instead of FrameLoaderClient.
      
              * svg/graphics/SVGImageEmptyClients.h: Removed obsolete privateBrowsingEnabled.
      
      WebKit/gtk:
      
              Reviewed by Kevin Decker.
      
              * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
              * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
      
      WebKit/mac:
      
              Reviewed by Kevin Decker.
      
              * WebCoreSupport/WebFrameLoaderClient.h: Removed obsolete privateBrowsingEnabled.
              * WebCoreSupport/WebFrameLoaderClient.mm: Ditto.
              * WebKit.order: Ditto.
      
      WebKit/qt:
      
              Reviewed by Kevin Decker.
      
              * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
              * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
      
      WebKit/win:
      
              Reviewed by Kevin Decker.
      
              * WebFrame.cpp: Removed obsolete privateBrowsingEnabled.
              * WebFrame.h: Ditto.
      
      WebKit/wx:
      
              Reviewed by Kevin Decker.
      
              * WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
              * WebKitSupport/FrameLoaderClientWx.h: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89c61adc
  2. 06 Nov, 2007 1 commit
  3. 27 Sep, 2007 1 commit
  4. 14 Aug, 2003 1 commit
    • vicki's avatar
      JavaScriptCore: · 40ec51ca
      vicki authored
              Reviewed by John.
      
              * JavaScriptCore.order: Removed.  We now link to the order file at /AppleInternal/OrderFiles.
              * JavaScriptCore.pbproj/project.pbxproj: change sectorder flag to point to /AppleInternal/OrderFiles/JavaScriptCore.order
      
      WebCore:
      
              Reviewed by John.
      
              * WebCore.order: Removed. We now point to the WebCore order file in /AppleInternal/OrderFiles.
              * WebCore.pbproj/project.pbxproj: change sectorder flag to point to /AppleInternal/OrderFiles/WebCore.order
      
      WebKit:
      
              Reviewed by John.
      
              * WebKit.order: Removed. We now point to the WebKit order file in /AppleInternal/OrderFiles.
              * WebKit.pbproj/project.pbxproj: set sectorder flag to point to /AppleInternal/OrderFiles/WebKit.order
      
      WebBrowser:
      
              Reviewed by John.
      
              * Safari.order: updated this order file
              * WebBrowser.pbproj/project.pbxproj: set sectorder flag to point to Safari.order
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40ec51ca
  5. 10 Jun, 2003 1 commit
    • vicki's avatar
      JavaScriptCore: · aba12b87
      vicki authored
              Reviewed by john.
      
              * JavaScriptCore.order: new order file for 1.0
      
      WebCore:
      
              Reviewed by john.
      
              * WebCore.order: new order file for 1.0
      
      WebKit:
      
              Reviewed by john.
      
              * WebKit.order: new order file for 1.0
      
      WebBrowser:
      
              Reviewed by john.
      
              * Safari.order: new order file for 1.0
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aba12b87
  6. 21 May, 2003 1 commit
    • vicki's avatar
      JavaScriptCore: · dadb9f81
      vicki authored
              Reviewed by john
      	- fixed 3234553: Safari and its frameworks should link using order files
      
              * JavaScriptCore.order: Added.
              * JavaScriptCore.pbproj/project.pbxproj: set SECTORDER_FLAGS = -sectorder __TEXT __text JavaScriptCore.order
      
      WebCore:
      
              Reviewed by john
      	- fixed 3234553: Safari and its frameworks should link using order files
      
              * WebCore.order: Added.
              * WebCore.pbproj/project.pbxproj: set SECTORDER_FLAGS = -sectorder __TEXT __text WebCore.order
      
      WebKit:
      
              Reviewed by john
      	- fixed 3234553: Safari and its frameworks should link using order files
      
              * WebKit.order: Added.
              * WebKit.pbproj/project.pbxproj: set SECTORDER_FLAGS = -sectorder __TEXT __text WebKit.order;
      
      WebBrowser:
      
              Reviewed by john
      	- fixed 3234553: Safari and its frameworks should link using order files
      
              * Safari.order: Added.
              * WebBrowser.pbproj/project.pbxproj: set SECTORDER_FLAGS = -sectorder __TEXT __text Safari.order -e start;
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4404 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dadb9f81