Skip to content
  • beidson@apple.com's avatar
    https://bugs.webkit.org/show_bug.cgi?id=84512 Repurpose... · 48fb048e
    beidson@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=84512 Repurpose ActiveDOMObject::WillShowDialog to WillDeferLoading
    
    Reviewed by Eric Carlson.
    
    Source/WebCore:
    
    No new tests. (Refactor, no behavior change)
    
    Rename WillShowDialog to WillDeferLoading:
    * dom/ActiveDOMObject.h:
    * html/HTMLMediaElement.cpp:
    (WebCore::HTMLMediaElement::suspend):
    
    Don't take a ReasonForSuspension argument anymore, just use WillDeferLoading:
    * page/PageGroupLoadDeferrer.cpp:
    (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
    * page/PageGroupLoadDeferrer.h:
    
    Don't pass a Reason anymore as WillDeferLoading is used by default:
    * page/Chrome.cpp:
    (WebCore::Chrome::runModal):
    (WebCore::Chrome::runBeforeUnloadConfirmPanel):
    (WebCore::Chrome::runJavaScriptAlert):
    (WebCore::Chrome::runJavaScriptConfirm):
    (WebCore::Chrome::runJavaScriptPrompt):
    (WebCore::Chrome::shouldInterruptJavaScript):
    
    Source/WebKit/blackberry:
    
    PageGroupLoadDeferrer's don't take a ReasonForSuspension argument anymore;
    They just use WillDeferLoading by default.
    
    * Api/WebPageGroupLoadDeferrer.cpp:
    (BlackBerry::WebKit::WebPageGroupLoadDeferrer::WebPageGroupLoadDeferrer):
    
    * WebCoreSupport/ChromeClientBlackBerry.cpp:
    (WebCore::ChromeClientBlackBerry::createWindow):
    (WebCore::ChromeClientBlackBerry::runOpenPanel):
    
    Source/WebKit/chromium:
    
    PageGroupLoadDeferrer's don't take a ReasonForSuspension argument anymore;
    They just use WillDeferLoading by default.
    
    * src/WebViewImpl.cpp:
    (WebKit::WebView::willEnterModalLoop):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    48fb048e