Skip to content
  • weinig@apple.com's avatar
    Reviewed by Darin. · 64c4a86a
    weinig@apple.com authored
            More cleanup of kjs_window.
            - Move WindowFeatures from bridge/ to page/
            - Move functions related to WindowFeatures (boolFeature,
              floatFeature, setWindowFeature, parseWindowFeatures) into the class.
            - Fix up whitespace.
    
            * WebCore.vcproj/WebCore.vcproj:
            * WebCore.xcodeproj/project.pbxproj:
            * bindings/js/kjs_window.cpp:
            (KJS::DOMWindowTimer::~DOMWindowTimer):
            (KJS::createWindow):
            (KJS::showModalDialog):
            (KJS::Window::getOwnPropertySlot):
            (KJS::Window::allowsAccessFrom):
            (KJS::Window::shouldInterruptScript):
            (KJS::WindowProtoFuncAToB::callAsFunction):
            (KJS::WindowProtoFuncOpen::callAsFunction):
            (KJS::Window::setReturnValueSlot):
            (KJS::ScheduledAction::execute):
            (KJS::Window::timerFired):
            (KJS::Location::Location):
            (KJS::Location::getValueProperty):
            (KJS::Location::getOwnPropertySlot):
            (KJS::Location::put):
            (KJS::LocationProtoFuncReplace::callAsFunction): Use better variable names.
            (KJS::LocationProtoFuncAssign::callAsFunction): Ditto.
            (KJS::LocationProtoFuncToString::callAsFunction): Remove extraneous calls to
            allowsAccessFrom, cleanup the function a little.
            (KJS::PausedTimeouts::~PausedTimeouts):
            * bridge/WindowFeatures.h: Removed.
            * page/WindowFeatures.cpp: Added.
            (WebCore::isSeparator):
            (WebCore::WindowFeatures::WindowFeatures):
            (WebCore::WindowFeatures::setWindowFeature):
            (WebCore::WindowFeatures::boolFeature):
            (WebCore::WindowFeatures::floatFeature):
            * page/WindowFeatures.h: Copied from WebCore/bridge/WindowFeatures.h.
            (WebCore::WindowFeatures::WindowFeatures):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    64c4a86a