Skip to content
  • eric@webkit.org's avatar
    2010-03-02 Eric Uhrhane <ericu@chromium.org> · 3b6686bf
    eric@webkit.org authored
            Reviewed by David Levin.
    
            Move database enable bit fully out of settings
            This is stage one of a three-stage commit [webkit, then chromium, then
            webkit again].  In this change I'm adding calls to
            Database::setIsAvailable inside Settings::setDatabaseEnabled and
            anywhere else that called it, and switching webkit fully over to using
            that flag [added in a previous checkin].  Phase two will remove
            Chromium's use of Settings for the Database, and phase three will remove
            the Setting for the Database enable entirely, leaving only
            Database::isAvailable/setIsAvailable.
    
            No new tests; tested by existing storage tests.
    
            https://bugs.webkit.org/show_bug.cgi?id=35310
    
            * WebCore.base.exp: Export Database::setIsAvailable
            * WebCore.xcodeproj/project.pbxproj: Export needed headers as Private
            * page/DOMWindow.cpp: Read isAvailable, not Settings::isDatabaseEnabled
            (WebCore::DOMWindow::openDatabase):
            * page/Settings.cpp:  Add a call to Database::setIsAvailable.
            (WebCore::Settings::setDatabasesEnabled):
    2010-03-02  Eric Uhrhane  <ericu@chromium.org>
    
            Reviewed by David Levin.
    
            Move database enable bit fully out of settings
            This is stage one of a three-stage commit [webkit, then chromium, then
            webkit again].  In this change I'm adding calls to
            Database::setIsAvailable inside Settings::setDatabaseEnabled and
            anywhere else that called it, and switching webkit fully over to using
            that flag [added in a previous checkin].  Phase two will remove
            Chromium's use of Settings for the Database, and phase three will remove
            the Setting for the Database enable entirely, leaving only
            Database::isAvailable/setIsAvailable.
    
            No new tests; tested by existing storage tests.
    
            https://bugs.webkit.org/show_bug.cgi?id=35310
    
            * webkit/webkitwebview.cpp:  Add calls to Database::setIsAvailable
            (DNDContentsRequest::webkit_web_view_update_settings):
            (DNDContentsRequest::webkit_web_view_settings_notify):
    2010-03-02  Eric Uhrhane  <ericu@chromium.org>
    
            Reviewed by David Levin.
    
            Move database enable bit fully out of settings
            This is stage one of a three-stage commit [webkit, then chromium, then
            webkit again].  In this change I'm adding calls to
            Database::setIsAvailable inside Settings::setDatabaseEnabled and
            anywhere else that called it, and switching webkit fully over to using
            that flag [added in a previous checkin].  Phase two will remove
            Chromium's use of Settings for the Database, and phase three will remove
            the Setting for the Database enable entirely, leaving only
            Database::isAvailable/setIsAvailable.
    
            No new tests; tested by existing storage tests.
    
            https://bugs.webkit.org/show_bug.cgi?id=35310
    
            * WebView/WebView.mm:  Added a call to Database::setIsAvailable.
            (-[WebView _preferencesChangedNotification:]):
    2010-03-02  Eric Uhrhane  <ericu@chromium.org>
    
            Reviewed by David Levin.
    
            Move database enable bit fully out of settings
            This is stage one of a three-stage commit [webkit, then chromium, then
            webkit again].  In this change I'm adding calls to
            Database::setIsAvailable inside Settings::setDatabaseEnabled and
            anywhere else that called it, and switching webkit fully over to using
            that flag [added in a previous checkin].  Phase two will remove
            Chromium's use of Settings for the Database, and phase three will remove
            the Setting for the Database enable entirely, leaving only
            Database::isAvailable/setIsAvailable.
    
            No new tests; tested by existing storage tests.
    
            https://bugs.webkit.org/show_bug.cgi?id=35310
    
            * Api/qwebsettings.cpp:
            (QWebSettingsPrivate::apply):  Add a call to Database::setIsAvailable
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3b6686bf