Skip to content
  • hyatt@apple.com's avatar
    WebCore: Change the order of arguments on some of the user stylesheet/script... · 844f6fef
    hyatt@apple.com authored
    WebCore: Change the order of arguments on some of the user stylesheet/script functions.  Split the removal functions
    out into separate ones for scripts and stylesheets.
    
    Reviewed by Adam Roben.
    
    * WebCore.base.exp:
    * page/PageGroup.cpp:
    (WebCore::PageGroup::addUserScriptToWorld):
    (WebCore::PageGroup::addUserStyleSheetToWorld):
    (WebCore::PageGroup::removeUserScriptFromWorld):
    (WebCore::PageGroup::removeUserStyleSheetFromWorld):
    (WebCore::PageGroup::removeUserScriptsFromWorld):
    (WebCore::PageGroup::removeUserStyleSheetsFromWorld):
    * page/PageGroup.h:
    (WebCore::PageGroup::userScripts):
    (WebCore::PageGroup::userStyleSheets):
    
    WebKit/mac: Change the order of arguments on some methods.  Split removal for user stylesheets and script into
    separate functions based off the type of object being removed.
    
    Reviewed by Adam Roben.
    
    * WebView/WebView.mm:
    (+[WebView _addUserScriptToGroup:worldID:source:url:whitelist:blacklist:injectionTime:]):
    (+[WebView _addUserStyleSheetToGroup:worldID:source:url:whitelist:blacklist:]):
    (+[WebView _removeUserScriptFromGroup:worldID:url:]):
    (+[WebView _removeUserStyleSheetFromGroup:worldID:url:]):
    (+[WebView _removeUserScriptsFromGroup:worldID:]):
    (+[WebView _removeUserStyleSheetsFromGroup:worldID:]):
    * WebView/WebViewPrivate.h:
    
    WebKit/win: Split removal functions for user scripts and stylehseets based on type.
    
    Reviewed by Adam Roben..
    
    * Interfaces/IWebViewPrivate.idl:
    * WebView.cpp:
    (WebView::removeUserScriptFromGroup):
    (WebView::removeUserStyleSheetFromGroup):
    * WebView.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    844f6fef