• andersca@apple.com's avatar
    WebCore: · c3a561b4
    andersca@apple.com authored
    2008-04-25  Anders Carlsson  <andersca@apple.com>
    
            Reviewed by Sam.
    
            Add and honor offlineWebApplicationCacheEnabled setting.
            
            * WebCore.base.exp:
            * loader/DocumentLoader.cpp:
            (WebCore::DocumentLoader::scheduleApplicationCacheLoad):
            * loader/MainResourceLoader.cpp:
            (WebCore::MainResourceLoader::load):
            * loader/appcache/ApplicationCacheGroup.cpp:
            (WebCore::ApplicationCacheGroup::selectCache):
            (WebCore::ApplicationCacheGroup::selectCacheWithoutManifestURL):
            * page/Settings.cpp:
            (WebCore::Settings::Settings):
            (WebCore::Settings::setOfflineWebApplicationCacheEnabled):
            * page/Settings.h:
            (WebCore::Settings::offlineWebApplicationCacheEnabled):
    
    WebKit/mac:
    
    2008-04-25  Anders Carlsson  <andersca@apple.com>
    
            Reviewed by Sam.
    
            Add offlineWebApplicationCacheEnabled preference.
            
            * WebView/WebPreferenceKeysPrivate.h:
            * WebView/WebPreferences.m:
            (+[WebPreferences initialize]):
            (-[WebPreferences offlineWebApplicationCacheEnabled]):
            (-[WebPreferences setOfflineWebApplicationCacheEnabled:]):
            * WebView/WebPreferencesPrivate.h:
            * WebView/WebView.mm:
            (-[WebView _updateSettingsFromPreferences:]):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c3a561b4
WebCore.base.exp 39.8 KB