1. 23 Sep, 2007 1 commit
    • zecke's avatar
      /: · 2752405f
      zecke authored
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * WebKit.pri:
              * WebKit.pro:
      
      JavaScriptCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK 
      
              * JavaScriptCore.pri:
              * kjs/testkjs.pro:
              * pcre/dftables.pro:
              * wtf/Platform.h: PLATFORM(GDK) to PLATFORM(GTK)
      
      WebCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.pro:
              * WebCoreSources.bkl:
              * loader/gdk: Removed.
              * loader/gdk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk: Added.
              * loader/gtk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk/DocumentLoaderGtk.cpp: Added.
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/gdk: Removed.
              * page/gdk/DragControllerGdk.cpp: Removed.
              * page/gdk/EventHandlerGdk.cpp: Removed.
              * page/gdk/FrameGdk.cpp: Removed.
              * page/gtk: Added.
              * page/gtk/DragControllerGdk.cpp: Removed.
              * page/gtk/DragControllerGtk.cpp: Added.
              * page/gtk/EventHandlerGdk.cpp: Removed.
              * page/gtk/EventHandlerGtk.cpp: Added.
              (WebCore::EventHandler::createDraggingClipboard):
              * page/gtk/FrameGdk.cpp: Removed.
              * page/gtk/FrameGtk.cpp: Added.
              * platform/ContextMenuItem.h:
              * platform/Cursor.h:
              * platform/DragData.h:
              * platform/DragImage.h:
              * platform/FontData.h:
              * platform/NotImplemented.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMenuDescription.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformWheelEvent.h:
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/gdk: Removed.
              * platform/gdk/ClipboardGdk.cpp: Removed.
              * platform/gdk/ClipboardGdk.h: Removed.
              * platform/gdk/ContextMenuGdk.cpp: Removed.
              * platform/gdk/ContextMenuItemGdk.cpp: Removed.
              * platform/gdk/CookieJarGdk.cpp: Removed.
              * platform/gdk/CursorGdk.cpp: Removed.
              * platform/gdk/DragDataGdk.cpp: Removed.
              * platform/gdk/DragImageGdk.cpp: Removed.
              * platform/gdk/FileChooserGdk.cpp: Removed.
              * platform/gdk/FileSystemGdk.cpp: Removed.
              * platform/gdk/FontCacheGdk.cpp: Removed.
              * platform/gdk/FontDataGdk.cpp: Removed.
              * platform/gdk/FontGdk.cpp: Removed.
              * platform/gdk/FontPlatformData.h: Removed.
              * platform/gdk/FontPlatformDataGdk.cpp: Removed.
              * platform/gdk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gdk/KeyEventGdk.cpp: Removed.
              * platform/gdk/KeyboardCodes.h: Removed.
              * platform/gdk/LocalizedStringsGdk.cpp: Removed.
              * platform/gdk/LoggingGdk.cpp: Removed.
              * platform/gdk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gdk/MouseEventGdk.cpp: Removed.
              * platform/gdk/PasteboardGdk.cpp: Removed.
              * platform/gdk/PlatformScreenGdk.cpp: Removed.
              * platform/gdk/PlatformScrollBar.h: Removed.
              * platform/gdk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gdk/PopupMenuGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.h: Removed.
              * platform/gdk/ScrollViewGdk.cpp: Removed.
              * platform/gdk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gdk/SharedTimerLinux.cpp: Removed.
              * platform/gdk/SoundGdk.cpp: Removed.
              * platform/gdk/SystemTimeLinux.cpp: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp: Removed.
              * platform/gdk/WheelEventGdk.cpp: Removed.
              * platform/gdk/WidgetGdk.cpp: Removed.
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::setPlatformFont):
              * platform/graphics/gdk: Removed.
              * platform/graphics/gdk/IconGdk.cpp: Removed.
              * platform/graphics/gdk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk: Added.
              * platform/graphics/gtk/IconGdk.cpp: Removed.
              * platform/graphics/gtk/IconGtk.cpp: Added.
              * platform/graphics/gtk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk/ImageGtk.cpp: Added.
              * platform/gtk: Added.
              * platform/gtk/ClipboardGdk.cpp: Removed.
              * platform/gtk/ClipboardGdk.h: Removed.
              * platform/gtk/ClipboardGtk.cpp: Added.
              (WebCore::ClipboardGtk::ClipboardGtk):
              (WebCore::ClipboardGtk::~ClipboardGtk):
              (WebCore::ClipboardGtk::clearData):
              (WebCore::ClipboardGtk::clearAllData):
              (WebCore::ClipboardGtk::getData):
              (WebCore::ClipboardGtk::setData):
              (WebCore::ClipboardGtk::types):
              (WebCore::ClipboardGtk::dragLocation):
              (WebCore::ClipboardGtk::dragImage):
              (WebCore::ClipboardGtk::setDragImage):
              (WebCore::ClipboardGtk::dragImageElement):
              (WebCore::ClipboardGtk::setDragImageElement):
              (WebCore::ClipboardGtk::createDragImage):
              (WebCore::ClipboardGtk::declareAndWriteDragImage):
              (WebCore::ClipboardGtk::writeURL):
              (WebCore::ClipboardGtk::writeRange):
              (WebCore::ClipboardGtk::hasData):
              * platform/gtk/ClipboardGtk.h: Added.
              * platform/gtk/ContextMenuGdk.cpp: Removed.
              * platform/gtk/ContextMenuGtk.cpp: Added.
              * platform/gtk/ContextMenuItemGdk.cpp: Removed.
              * platform/gtk/ContextMenuItemGtk.cpp: Added.
              * platform/gtk/CookieJarGdk.cpp: Removed.
              * platform/gtk/CookieJarGtk.cpp: Added.
              * platform/gtk/CursorGdk.cpp: Removed.
              * platform/gtk/CursorGtk.cpp: Added.
              * platform/gtk/DragDataGdk.cpp: Removed.
              * platform/gtk/DragDataGtk.cpp: Added.
              * platform/gtk/DragImageGdk.cpp: Removed.
              * platform/gtk/DragImageGtk.cpp: Added.
              * platform/gtk/FileChooserGdk.cpp: Removed.
              * platform/gtk/FileChooserGtk.cpp: Added.
              * platform/gtk/FileSystemGdk.cpp: Removed.
              * platform/gtk/FileSystemGtk.cpp: Added.
              * platform/gtk/FontCacheGdk.cpp: Removed.
              * platform/gtk/FontCacheGtk.cpp: Added.
              * platform/gtk/FontDataGdk.cpp: Removed.
              * platform/gtk/FontDataGtk.cpp: Added.
              * platform/gtk/FontGdk.cpp: Removed.
              * platform/gtk/FontGtk.cpp: Added.
              * platform/gtk/FontPlatformDataGdk.cpp: Removed.
              * platform/gtk/FontPlatformDataGtk.cpp: Added.
              * platform/gtk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gtk/GlyphPageTreeNodeGtk.cpp: Added.
              * platform/gtk/KeyEventGdk.cpp: Removed.
              * platform/gtk/KeyEventGtk.cpp: Added.
              * platform/gtk/LocalizedStringsGdk.cpp: Removed.
              * platform/gtk/LocalizedStringsGtk.cpp: Added.
              * platform/gtk/LoggingGdk.cpp: Removed.
              * platform/gtk/LoggingGtk.cpp: Added.
              * platform/gtk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gtk/MIMETypeRegistryGtk.cpp: Added.
              * platform/gtk/MouseEventGdk.cpp: Removed.
              * platform/gtk/MouseEventGtk.cpp: Added.
              * platform/gtk/PasteboardGdk.cpp: Removed.
              * platform/gtk/PasteboardGtk.cpp: Added.
              * platform/gtk/PlatformScreenGdk.cpp: Removed.
              * platform/gtk/PlatformScreenGtk.cpp: Added.
              * platform/gtk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gtk/PlatformScrollBarGtk.cpp: Added.
              * platform/gtk/PopupMenuGdk.cpp: Removed.
              * platform/gtk/PopupMenuGtk.cpp: Added.
              * platform/gtk/RenderThemeGdk.cpp: Removed.
              * platform/gtk/RenderThemeGdk.h: Removed.
              * platform/gtk/RenderThemeGtk.cpp: Added.
              (WebCore::theme):
              (WebCore::RenderThemeGtk::RenderThemeGtk):
              (WebCore::RenderThemeGtk::close):
              (WebCore::RenderThemeGtk::addIntrinsicMargins):
              (WebCore::RenderThemeGtk::supportsFocus):
              (WebCore::RenderThemeGtk::determineState):
              (WebCore::RenderThemeGtk::determineShadow):
              (WebCore::RenderThemeGtk::getThemeData):
              (WebCore::RenderThemeGtk::setCheckboxSize):
              (WebCore::RenderThemeGtk::paintCheckbox):
              (WebCore::RenderThemeGtk::setRadioSize):
              (WebCore::RenderThemeGtk::paintRadio):
              (WebCore::RenderThemeGtk::paintButton):
              (WebCore::RenderThemeGtk::adjustTextFieldStyle):
              (WebCore::RenderThemeGtk::paintTextField):
              (WebCore::RenderThemeGtk::paintTextArea):
              (WebCore::RenderThemeGtk::adjustButtonStyle):
              (WebCore::RenderThemeGtk::systemFont):
              (WebCore::RenderThemeGtk::gtkButton):
              (WebCore::RenderThemeGtk::gtkCheckbox):
              (WebCore::RenderThemeGtk::gtkRadioButton):
              (WebCore::RenderThemeGtk::gtkWindowContainer):
              * platform/gtk/RenderThemeGtk.h: Added.
              * platform/gtk/ScrollViewGdk.cpp: Removed.
              * platform/gtk/ScrollViewGtk.cpp: Added.
              * platform/gtk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gtk/SearchPopupMenuGtk.cpp: Added.
              * platform/gtk/SoundGdk.cpp: Removed.
              * platform/gtk/SoundGtk.cpp: Added.
              * platform/gtk/WheelEventGdk.cpp: Removed.
              * platform/gtk/WheelEventGtk.cpp: Added.
              * platform/gtk/WidgetGdk.cpp: Removed.
              * platform/gtk/WidgetGtk.cpp: Added.
              * platform/network/ResourceHandle.h:
      
      WebKitTools:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              * GdkLauncher: Removed.
              * GdkLauncher/Bakefiles.bkgen: Removed.
              * GdkLauncher/ENV: Removed.
              * GdkLauncher/GdkLauncher.pro: Removed.
              * GdkLauncher/gdklauncher.bkl: Removed.
              * GdkLauncher/main.cpp: Removed.
              * GdkLauncher/mk: Removed.
              * GdkLauncher/simple.svg: Removed.
              * GdkLauncher/text.html: Removed.
              * GtkLauncher: Added.
              * GtkLauncher/GdkLauncher.pro: Removed.
              * GtkLauncher/GtkLauncher.pro: Added.
              * GtkLauncher/main.cpp:
              (updateWindowTitle):
              (main):
              * Scripts/build-webkit:
              * Scripts/regenerate-makefiles:
              * Scripts/run-javascriptcore-tests:
              * Scripts/run-launcher:
              * Scripts/run-webkit-tests:
              * Scripts/webkitdirs.pm:
      
      
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2752405f
  2. 27 May, 2007 1 commit
    • kevino's avatar
      WebCore: · 64ee95cb
      kevino authored
              Reviewed by Sam Weinig.
      
              Consolidate all notImplemented() macro definitions into
              one header file for all platforms.
      
              * loader/gdk/DocumentLoaderGdk.cpp:
              (WebCore::DocumentLoader::getResponseModifiedHeader):
              * loader/gdk/FrameLoaderClientGdk.cpp:
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveAuthenticationChallenge):
              (WebCore::FrameLoaderClientGdk::dispatchDidCancelAuthenticationChallenge):
              (WebCore::FrameLoaderClientGdk::dispatchWillSendRequest):
              (WebCore::FrameLoaderClientGdk::assignIdentifierToInitialRequest):
              (WebCore::FrameLoaderClientGdk::createPlugin):
              (WebCore::FrameLoaderClientGdk::createFrame):
              (WebCore::FrameLoaderClientGdk::redirectDataToPlugin):
              (WebCore::FrameLoaderClientGdk::createJavaAppletWidget):
              (WebCore::FrameLoaderClientGdk::objectContentType):
              (WebCore::FrameLoaderClientGdk::overrideMediaType):
              (WebCore::FrameLoaderClientGdk::windowObjectCleared):
              (WebCore::FrameLoaderClientGdk::hasWebView):
              (WebCore::FrameLoaderClientGdk::hasFrameView):
              (WebCore::FrameLoaderClientGdk::frameLoadCompleted):
              (WebCore::FrameLoaderClientGdk::saveViewStateToItem):
              (WebCore::FrameLoaderClientGdk::restoreViewState):
              (WebCore::FrameLoaderClientGdk::privateBrowsingEnabled):
              (WebCore::FrameLoaderClientGdk::makeDocumentView):
              (WebCore::FrameLoaderClientGdk::makeRepresentation):
              (WebCore::FrameLoaderClientGdk::forceLayout):
              (WebCore::FrameLoaderClientGdk::forceLayoutForNonHTML):
              (WebCore::FrameLoaderClientGdk::setCopiesOnScroll):
              (WebCore::FrameLoaderClientGdk::detachedFromParent1):
              (WebCore::FrameLoaderClientGdk::detachedFromParent2):
              (WebCore::FrameLoaderClientGdk::detachedFromParent3):
              (WebCore::FrameLoaderClientGdk::detachedFromParent4):
              (WebCore::FrameLoaderClientGdk::loadedFromCachedPage):
              (WebCore::FrameLoaderClientGdk::dispatchDidHandleOnloadEvents):
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveServerRedirectForProvisionalLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidCancelClientRedirect):
              (WebCore::FrameLoaderClientGdk::dispatchWillPerformClientRedirect):
              (WebCore::FrameLoaderClientGdk::dispatchDidChangeLocationWithinPage):
              (WebCore::FrameLoaderClientGdk::dispatchWillClose):
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveIcon):
              (WebCore::FrameLoaderClientGdk::dispatchDidStartProvisionalLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveTitle):
              (WebCore::FrameLoaderClientGdk::dispatchDidCommitLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidFinishDocumentLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidFirstLayout):
              (WebCore::FrameLoaderClientGdk::dispatchShow):
              (WebCore::FrameLoaderClientGdk::cancelPolicyCheck):
              (WebCore::FrameLoaderClientGdk::dispatchDidLoadMainResource):
              (WebCore::FrameLoaderClientGdk::revertToProvisionalState):
              (WebCore::FrameLoaderClientGdk::clearUnarchivingState):
              (WebCore::FrameLoaderClientGdk::willChangeTitle):
              (WebCore::FrameLoaderClientGdk::finishedLoading):
              (WebCore::FrameLoaderClientGdk::finalSetupForReplace):
              (WebCore::FrameLoaderClientGdk::setDefersLoading):
              (WebCore::FrameLoaderClientGdk::isArchiveLoadPending):
              (WebCore::FrameLoaderClientGdk::cancelPendingArchiveLoad):
              (WebCore::FrameLoaderClientGdk::clearArchivedResources):
              (WebCore::FrameLoaderClientGdk::canHandleRequest):
              (WebCore::FrameLoaderClientGdk::canShowMIMEType):
              (WebCore::FrameLoaderClientGdk::representationExistsForURLScheme):
              (WebCore::FrameLoaderClientGdk::generatedMIMETypeForURLScheme):
              (WebCore::FrameLoaderClientGdk::provisionalLoadStarted):
              (WebCore::FrameLoaderClientGdk::didFinishLoad):
              (WebCore::FrameLoaderClientGdk::prepareForDataSourceReplacement):
              (WebCore::FrameLoaderClientGdk::setTitle):
              (WebCore::FrameLoaderClientGdk::setDocumentViewFromCachedPage):
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveContentLength):
              (WebCore::FrameLoaderClientGdk::dispatchDidFinishLoading):
              (WebCore::FrameLoaderClientGdk::dispatchDidFailLoading):
              (WebCore::FrameLoaderClientGdk::dispatchDidLoadResourceFromMemoryCache):
              (WebCore::FrameLoaderClientGdk::dispatchDidFailProvisionalLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidFailLoad):
              (WebCore::FrameLoaderClientGdk::download):
              (WebCore::FrameLoaderClientGdk::cancelledError):
              (WebCore::FrameLoaderClientGdk::blockedError):
              (WebCore::FrameLoaderClientGdk::cannotShowURLError):
              (WebCore::FrameLoaderClientGdk::interruptForPolicyChangeError):
              (WebCore::FrameLoaderClientGdk::cannotShowMIMETypeError):
              (WebCore::FrameLoaderClientGdk::fileDoesNotExistError):
              (WebCore::FrameLoaderClientGdk::shouldFallBack):
              (WebCore::FrameLoaderClientGdk::willUseArchive):
              (WebCore::FrameLoaderClientGdk::saveDocumentViewToCachedPage):
              (WebCore::FrameLoaderClientGdk::canCachePage):
              (WebCore::FrameLoaderClientGdk::dispatchCreatePage):
              (WebCore::FrameLoaderClientGdk::dispatchUnableToImplementPolicy):
              (WebCore::FrameLoaderClientGdk::setMainDocumentError):
              (WebCore::FrameLoaderClientGdk::startDownload):
              (WebCore::FrameLoaderClientGdk::updateGlobalHistoryForStandardLoad):
              (WebCore::FrameLoaderClientGdk::updateGlobalHistoryForReload):
              * loader/qt/DocumentLoaderQt.cpp:
              * page/gdk/ContextMenuClientGdk.cpp:
              (WebCore::ContextMenuClientGdk::contextMenuDestroyed):
              (WebCore::ContextMenuClientGdk::getCustomMenuFromDefaultItems):
              (WebCore::ContextMenuClientGdk::contextMenuItemSelected):
              (WebCore::ContextMenuClientGdk::downloadURL):
              (WebCore::ContextMenuClientGdk::copyImageToClipboard):
              (WebCore::ContextMenuClientGdk::searchWithGoogle):
              (WebCore::ContextMenuClientGdk::lookUpInDictionary):
              (WebCore::ContextMenuClientGdk::speak):
              (WebCore::ContextMenuClientGdk::stopSpeaking):
              * page/gdk/EventHandlerGdk.cpp:
              (WebCore::EventHandler::passMouseDownEventToWidget):
              (WebCore::EventHandler::eventActivatedView):
              (WebCore::EventHandler::passSubframeEventToSubframe):
              (WebCore::EventHandler::passWheelEventToWidget):
              (WebCore::EventHandler::createDraggingClipboard):
              * page/qt/EventHandlerQt.cpp:
              * page/qt/FrameQt.cpp:
              * platform/NotImplemented.h: Added.
              * platform/gdk/CursorGdk.cpp:
              (WebCore::Cursor::Cursor):
              * platform/gdk/EditorClientGdk.cpp:
              (WebCore::EditorClientGdk::shouldDeleteRange):
              (WebCore::EditorClientGdk::isContinuousSpellCheckingEnabled):
              (WebCore::EditorClientGdk::isGrammarCheckingEnabled):
              (WebCore::EditorClientGdk::spellCheckerDocumentTag):
              (WebCore::EditorClientGdk::shouldBeginEditing):
              (WebCore::EditorClientGdk::shouldEndEditing):
              (WebCore::EditorClientGdk::shouldInsertText):
              (WebCore::EditorClientGdk::shouldChangeSelectedRange):
              (WebCore::EditorClientGdk::shouldApplyStyle):
              (WebCore::EditorClientGdk::didBeginEditing):
              (WebCore::EditorClientGdk::respondToChangedContents):
              (WebCore::EditorClientGdk::respondToChangedSelection):
              (WebCore::EditorClientGdk::didEndEditing):
              (WebCore::EditorClientGdk::didWriteSelectionToPasteboard):
              (WebCore::EditorClientGdk::didSetSelectionTypesForPasteboard):
              (WebCore::EditorClientGdk::selectWordBeforeMenuEvent):
              (WebCore::EditorClientGdk::isEditable):
              (WebCore::EditorClientGdk::registerCommandForUndo):
              (WebCore::EditorClientGdk::registerCommandForRedo):
              (WebCore::EditorClientGdk::clearUndoRedoOperations):
              (WebCore::EditorClientGdk::canUndo):
              (WebCore::EditorClientGdk::canRedo):
              (WebCore::EditorClientGdk::undo):
              (WebCore::EditorClientGdk::redo):
              (WebCore::EditorClientGdk::shouldInsertNode):
              (WebCore::EditorClientGdk::pageDestroyed):
              (WebCore::EditorClientGdk::smartInsertDeleteEnabled):
              (WebCore::EditorClientGdk::toggleContinuousSpellChecking):
              (WebCore::EditorClientGdk::handleInputMethodKeypress):
              (WebCore::EditorClientGdk::textFieldDidBeginEditing):
              (WebCore::EditorClientGdk::textFieldDidEndEditing):
              (WebCore::EditorClientGdk::textDidChangeInTextField):
              (WebCore::EditorClientGdk::doTextFieldCommandFromEvent):
              (WebCore::EditorClientGdk::textWillBeDeletedInTextField):
              (WebCore::EditorClientGdk::textDidChangeInTextArea):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::Frame::print):
              (WebCore::Frame::issueTransposeCommand):
              (WebCore::Frame::cleanupPlatformScriptObjects):
              (WebCore::Frame::dragImageForSelection):
              * platform/gdk/NotImplementedGdk.h: Removed.
              * platform/gdk/PopupMenuGdk.cpp:
              (WebCore::PopupMenu::PopupMenu):
              (WebCore::PopupMenu::~PopupMenu):
              (WebCore::PopupMenu::show):
              (WebCore::PopupMenu::hide):
              (WebCore::PopupMenu::updateFromElement):
              * platform/gdk/RenderThemeGdk.cpp:
              (WebCore::RenderThemeGdk::setCheckboxSize):
              (WebCore::RenderThemeGdk::setRadioSize):
              (WebCore::RenderThemeGdk::adjustTextFieldStyle):
              * platform/gdk/ScreenGdk.cpp:
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::screenRect):
              (WebCore::screenAvailableRect):
              * platform/gdk/ScrollViewGdk.cpp:
              (WebCore::ScrollView::update):
              (WebCore::ScrollView::addChild):
              (WebCore::ScrollView::removeChild):
              (WebCore::ScrollView::scrollRectIntoViewRecursively):
              (WebCore::ScrollView::inWindow):
              (WebCore::ScrollView::wheelEvent):
              (WebCore::ScrollView::updateScrollbars):
              (WebCore::ScrollView::updateScrollInfo):
              (WebCore::ScrollView::windowToContents):
              (WebCore::ScrollView::contentsToWindow):
              (WebCore::ScrollView::scrollbarUnderMouse):
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameView::updateBorder):
              (WebCore::findNextWordFromIndex):
              (WebCore::currentTextBreakLocaleID):
              (ChromeClientGdk::chromeDestroyed):
              (ChromeClientGdk::windowRect):
              (ChromeClientGdk::setWindowRect):
              (ChromeClientGdk::pageRect):
              (ChromeClientGdk::scaleFactor):
              (ChromeClientGdk::focus):
              (ChromeClientGdk::unfocus):
              (ChromeClientGdk::createWindow):
              (ChromeClientGdk::createModalDialog):
              (ChromeClientGdk::show):
              (ChromeClientGdk::canRunModal):
              (ChromeClientGdk::runModal):
              (ChromeClientGdk::setToolbarsVisible):
              (ChromeClientGdk::toolbarsVisible):
              (ChromeClientGdk::setStatusbarVisible):
              (ChromeClientGdk::statusbarVisible):
              (ChromeClientGdk::setScrollbarsVisible):
              (ChromeClientGdk::scrollbarsVisible):
              (ChromeClientGdk::setMenubarVisible):
              (ChromeClientGdk::menubarVisible):
              (ChromeClientGdk::setResizable):
              (ChromeClientGdk::closeWindowSoon):
              (ChromeClientGdk::canTakeFocus):
              (ChromeClientGdk::takeFocus):
              (ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
              (ChromeClientGdk::addMessageToConsole):
              (ChromeClientGdk::runBeforeUnloadConfirmPanel):
              (ChromeClientGdk::runJavaScriptAlert):
              (ChromeClientGdk::runJavaScriptConfirm):
              (ChromeClientGdk::runJavaScriptPrompt):
              (ChromeClientGdk::setStatusbarText):
              (ChromeClientGdk::shouldInterruptJavaScript):
              (ChromeClientGdk::tabsToLinks):
              (ChromeClientGdk::windowResizerRect):
              (ChromeClientGdk::addToDirtyRegion):
              (ChromeClientGdk::scrollBackingStore):
              (ChromeClientGdk::updateBackingStore):
              (PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (PlugInInfoStore::pluginCount):
              (WebCore::PlugInInfoStore::supportsMIMEType):
              (WebCore::refreshPlugins):
              (SearchPopupMenu::saveRecentSearches):
              (SearchPopupMenu::loadRecentSearches):
              (SearchPopupMenu::SearchPopupMenu):
              (SearchPopupMenu::enabled):
              (FileChooser::FileChooser):
              (FileChooser::~FileChooser):
              (FileChooser::openFileChooser):
              (FileChooser::basenameForWidth):
              (ResourceHandle::willLoadFromCache):
              (ResourceHandle::loadsBlocked):
              (ResourceHandle::loadResourceSynchronously):
              (Icon::Icon):
              (Icon::~Icon):
              (Icon::newIconForFile):
              (Icon::paint):
              (Font::selectionRectForComplexText):
              (Font::drawComplexText):
              (Font::floatWidthForComplexText):
              (Font::offsetForPositionForComplexText):
              (CachedPage::close):
              (Editor::newGeneralClipboard):
              (Pasteboard::generalPasteboard):
              (Pasteboard::writeSelection):
              (Pasteboard::writeURL):
              (Pasteboard::writeImage):
              (Pasteboard::clear):
              (Pasteboard::canSmartReplace):
              (Pasteboard::documentFragment):
              (Pasteboard::plainText):
              (Pasteboard::Pasteboard):
              (Pasteboard::~Pasteboard):
              (ContextMenu::ContextMenu):
              (ContextMenu::~ContextMenu):
              (ContextMenu::appendItem):
              (ContextMenuItem::ContextMenuItem):
              (ContextMenuItem::~ContextMenuItem):
              (ContextMenuItem::releasePlatformDescription):
              (ContextMenuItem::type):
              (ContextMenuItem::setType):
              (ContextMenuItem::action):
              (ContextMenuItem::setAction):
              (ContextMenuItem::title):
              (ContextMenuItem::setTitle):
              (ContextMenuItem::platformSubMenu):
              (ContextMenuItem::setSubMenu):
              (ContextMenuItem::setChecked):
              (ContextMenuItem::setEnabled):
              (WebCore::supportedKeySizes):
              (WebCore::systemBeep):
              (WebCore::userIdleTime):
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              * platform/graphics/cairo/ImageBufferCairo.cpp:
              * platform/graphics/cairo/PathCairo.cpp:
              * platform/graphics/gdk/ImageGdk.cpp:
              * platform/graphics/qt/GraphicsContextQt.cpp:
              * platform/graphics/qt/IconQt.cpp:
              * platform/graphics/qt/ImageQt.cpp:
              * platform/network/gdk/ResourceHandleCurl.cpp:
              (WebCore::ResourceHandle::setDefersLoading):
              * platform/network/gdk/ResourceHandleManager.cpp:
              (WebCore::ResourceHandleManager::setupPUT):
              (WebCore::ResourceHandleManager::setupPOST):
              * platform/network/qt/ResourceHandleQt.cpp:
              * platform/qt/ClipboardQt.cpp:
              * platform/qt/CursorQt.cpp:
              * platform/qt/DragDataQt.cpp:
              * platform/qt/FileChooserQt.cpp:
              * platform/qt/MimeTypeRegistryQt.cpp:
              * platform/qt/PasteboardQt.cpp:
              * platform/qt/PlatformScrollBarQt.cpp:
              * platform/qt/PopupMenuQt.cpp:
              * platform/qt/ScrollViewQt.cpp:
              * platform/qt/TemporaryLinkStubs.cpp:
              * platform/qt/TextBoundaries.cpp:
              * platform/qt/WidgetQt.cpp:
              * platform/win/FontWin.cpp:
              * platform/win/TemporaryLinkStubs.cpp:
              * platform/wx/ClipboardWx.cpp:
              * platform/wx/FontWx.cpp:
              * platform/wx/ScrollViewWx.cpp:
              * platform/wx/SharedTimerWx.cpp:
              * platform/wx/TemporaryLinkStubs.cpp:
      
      WebKitQt:
      
              Reviewed by Sam Weinig.
              
              Consolidate all notImplemented() macro definitions into
              one header file for all platforms.
      
              * WebCoreSupport/ChromeClientQt.cpp:
              * WebCoreSupport/ContextMenuClientQt.cpp:
              * WebCoreSupport/EditorClientQt.cpp:
              * WebCoreSupport/FrameLoaderClientQt.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64ee95cb
  3. 22 Feb, 2007 1 commit
    • kjk's avatar
      Reviewed by Adam Roben, who never sleeps. · d9f38098
      kjk authored
              To avoid code duplication, move notImplementedGdk() macro to a separate
              header file. Remove existing notImplementedGdk() macros and replace
              remaining notImplemented() to notImplementedGdk() in gdk code.
      
              * loader/gdk/DocumentLoaderGdk.cpp:
              (WebCore::DocumentLoader::getResponseModifiedHeader):
              * loader/gdk/FrameLoaderClientGdk.cpp:
              (WebCore::FrameLoaderClientGdk::hasWebView):
              (WebCore::FrameLoaderClientGdk::hasFrameView):
              * page/gdk/ContextMenuClientGdk.cpp:
              (WebCore::ContextMenuClientGdk::contextMenuDestroyed):
              (WebCore::ContextMenuClientGdk::getCustomMenuFromDefaultItems):
              (WebCore::ContextMenuClientGdk::contextMenuItemSelected):
              (WebCore::ContextMenuClientGdk::downloadURL):
              (WebCore::ContextMenuClientGdk::copyImageToClipboard):
              (WebCore::ContextMenuClientGdk::searchWithGoogle):
              (WebCore::ContextMenuClientGdk::lookUpInDictionary):
              (WebCore::ContextMenuClientGdk::speak):
              (WebCore::ContextMenuClientGdk::stopSpeaking):
              * page/gdk/EventHandlerGdk.cpp:
              * platform/gdk/CursorGdk.cpp:
              (WebCore::Cursor::Cursor):
              * platform/gdk/EditorClientGdk.cpp:
              * platform/gdk/NotImplementedGdk.h: Added.
              * platform/gdk/PopupMenuGdk.cpp:
              (WebCore::PopupMenu::PopupMenu):
              (WebCore::PopupMenu::~PopupMenu):
              (WebCore::PopupMenu::show):
              (WebCore::PopupMenu::hide):
              (WebCore::PopupMenu::updateFromElement):
              * platform/gdk/RenderThemeGdk.cpp:
              * platform/gdk/ScreenGdk.cpp:
              (WebCore::screenDepth):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::screenRect):
              (WebCore::screenAvailableRect):
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/graphics/gdk/ImageGdk.cpp:
              (WebCore::Image::drawPattern):
              * platform/network/gdk/ResourceHandleCurl.cpp:
              (WebCore::ResourceHandle::setDefersLoading):
              * platform/network/gdk/ResourceHandleManager.cpp:
              (WebCore::ResourceHandleManager::setupPUT):
              (WebCore::ResourceHandleManager::setupPOST):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9f38098
  4. 07 Feb, 2007 1 commit
    • kjk's avatar
      Reviewed by Adam Roben. · ca22233f
      kjk authored
              Linux/gdk build fixes - add new files based on Qt implementation.
      
              * loader/gdk/DocumentLoaderGdk.cpp: Added.
              (WebCore::DocumentLoader::getResponseModifiedHeader):
              * loader/gdk/FrameLoaderClientGdk.cpp: Added.
              (WebCore::FrameLoaderClientGdk::FrameLoaderClientGdk):
              (WebCore::FrameLoaderClientGdk::frame):
              (WebCore::FrameLoaderClientGdk::userAgent):
              (WebCore::FrameLoaderClientGdk::createDocumentLoader):
              (WebCore::FrameLoaderClientGdk::dispatchWillSubmitForm):
              (WebCore::FrameLoaderClientGdk::committedLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveAuthenticationChallenge):
              (WebCore::FrameLoaderClientGdk::dispatchDidCancelAuthenticationChallenge):
              (WebCore::FrameLoaderClientGdk::dispatchWillSendRequest):
              (WebCore::FrameLoaderClientGdk::assignIdentifierToInitialRequest):
              (WebCore::FrameLoaderClientGdk::postProgressStartedNotification):
              (WebCore::FrameLoaderClientGdk::postProgressEstimateChangedNotification):
              (WebCore::FrameLoaderClientGdk::postProgressFinishedNotification):
              (WebCore::FrameLoaderClientGdk::frameLoaderDestroyed):
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveResponse):
              (WebCore::FrameLoaderClientGdk::dispatchDecidePolicyForMIMEType):
              (WebCore::FrameLoaderClientGdk::dispatchDecidePolicyForNewWindowAction):
              (WebCore::FrameLoaderClientGdk::dispatchDecidePolicyForNavigationAction):
              (WebCore::FrameLoaderClientGdk::createPlugin):
              (WebCore::FrameLoaderClientGdk::createFrame):
              (WebCore::FrameLoaderClientGdk::redirectDataToPlugin):
              (WebCore::FrameLoaderClientGdk::createJavaAppletWidget):
              (WebCore::FrameLoaderClientGdk::objectContentType):
              (WebCore::FrameLoaderClientGdk::overrideMediaType):
              (WebCore::FrameLoaderClientGdk::windowObjectCleared):
              (WebCore::FrameLoaderClientGdk::setMainFrameDocumentReady):
              (WebCore::FrameLoaderClientGdk::hasWebView):
              (WebCore::FrameLoaderClientGdk::hasFrameView):
              (WebCore::FrameLoaderClientGdk::dispatchDidFinishLoad):
              (WebCore::FrameLoaderClientGdk::frameLoadCompleted):
              (WebCore::FrameLoaderClientGdk::privateBrowsingEnabled):
              (WebCore::FrameLoaderClientGdk::makeDocumentView):
              (WebCore::FrameLoaderClientGdk::makeRepresentation):
              (WebCore::FrameLoaderClientGdk::forceLayout):
              (WebCore::FrameLoaderClientGdk::forceLayoutForNonHTML):
              (WebCore::FrameLoaderClientGdk::setCopiesOnScroll):
              (WebCore::FrameLoaderClientGdk::detachedFromParent1):
              (WebCore::FrameLoaderClientGdk::detachedFromParent2):
              (WebCore::FrameLoaderClientGdk::detachedFromParent3):
              (WebCore::FrameLoaderClientGdk::detachedFromParent4):
              (WebCore::FrameLoaderClientGdk::loadedFromPageCache):
              (WebCore::FrameLoaderClientGdk::dispatchDidHandleOnloadEvents):
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveServerRedirectForProvisionalLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidCancelClientRedirect):
              (WebCore::FrameLoaderClientGdk::dispatchWillPerformClientRedirect):
              (WebCore::FrameLoaderClientGdk::dispatchDidChangeLocationWithinPage):
              (WebCore::FrameLoaderClientGdk::dispatchWillClose):
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveIcon):
              (WebCore::FrameLoaderClientGdk::dispatchDidStartProvisionalLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveTitle):
              (WebCore::FrameLoaderClientGdk::dispatchDidCommitLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidFinishDocumentLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidFirstLayout):
              (WebCore::FrameLoaderClientGdk::dispatchShow):
              (WebCore::FrameLoaderClientGdk::cancelPolicyCheck):
              (WebCore::FrameLoaderClientGdk::dispatchDidLoadMainResource):
              (WebCore::FrameLoaderClientGdk::revertToProvisionalState):
              (WebCore::FrameLoaderClientGdk::clearUnarchivingState):
              (WebCore::FrameLoaderClientGdk::willChangeTitle):
              (WebCore::FrameLoaderClientGdk::didChangeTitle):
              (WebCore::FrameLoaderClientGdk::finishedLoading):
              (WebCore::FrameLoaderClientGdk::finalSetupForReplace):
              (WebCore::FrameLoaderClientGdk::setDefersLoading):
              (WebCore::FrameLoaderClientGdk::isArchiveLoadPending):
              (WebCore::FrameLoaderClientGdk::cancelPendingArchiveLoad):
              (WebCore::FrameLoaderClientGdk::clearArchivedResources):
              (WebCore::FrameLoaderClientGdk::canHandleRequest):
              (WebCore::FrameLoaderClientGdk::canShowMIMEType):
              (WebCore::FrameLoaderClientGdk::representationExistsForURLScheme):
              (WebCore::FrameLoaderClientGdk::generatedMIMETypeForURLScheme):
              (WebCore::FrameLoaderClientGdk::restoreScrollPositionAndViewState):
              (WebCore::FrameLoaderClientGdk::provisionalLoadStarted):
              (WebCore::FrameLoaderClientGdk::didFinishLoad):
              (WebCore::FrameLoaderClientGdk::prepareForDataSourceReplacement):
              (WebCore::FrameLoaderClientGdk::setTitle):
              (WebCore::FrameLoaderClientGdk::setDocumentViewFromPageCache):
              (WebCore::FrameLoaderClientGdk::dispatchDidReceiveContentLength):
              (WebCore::FrameLoaderClientGdk::dispatchDidFinishLoading):
              (WebCore::FrameLoaderClientGdk::dispatchDidFailLoading):
              (WebCore::FrameLoaderClientGdk::dispatchDidLoadResourceFromMemoryCache):
              (WebCore::FrameLoaderClientGdk::dispatchDidFailProvisionalLoad):
              (WebCore::FrameLoaderClientGdk::dispatchDidFailLoad):
              (WebCore::FrameLoaderClientGdk::download):
              (WebCore::FrameLoaderClientGdk::cancelledError):
              (WebCore::FrameLoaderClientGdk::cannotShowURLError):
              (WebCore::FrameLoaderClientGdk::interruptForPolicyChangeError):
              (WebCore::FrameLoaderClientGdk::cannotShowMIMETypeError):
              (WebCore::FrameLoaderClientGdk::fileDoesNotExistError):
              (WebCore::FrameLoaderClientGdk::shouldFallBack):
              (WebCore::FrameLoaderClientGdk::willUseArchive):
              (WebCore::FrameLoaderClientGdk::saveScrollPositionAndViewStateToItem):
              (WebCore::FrameLoaderClientGdk::saveDocumentViewToPageCache):
              (WebCore::FrameLoaderClientGdk::canCachePage):
              (WebCore::FrameLoaderClientGdk::dispatchCreatePage):
              (WebCore::FrameLoaderClientGdk::dispatchUnableToImplementPolicy):
              (WebCore::FrameLoaderClientGdk::setMainDocumentError):
              (WebCore::FrameLoaderClientGdk::startDownload):
              (WebCore::FrameLoaderClientGdk::updateGlobalHistoryForStandardLoad):
              (WebCore::FrameLoaderClientGdk::updateGlobalHistoryForReload):
              (WebCore::FrameLoaderClientGdk::shouldGoToHistoryItem):
              * loader/gdk/FrameLoaderClientGdk.h: Added.
              (WebCore::FrameLoaderClientGdk::~FrameLoaderClientGdk):
              (WebCore::FrameLoaderClientGdk::setFrame):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca22233f
  5. 29 Jan, 2007 1 commit
    • mjs's avatar
      WebCore: · 2d326f5c
      mjs authored
              Reviewed by Mark.
      
              - made data loading cross-platform
              - fixed <rdar://problem/4910106>
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * loader/CachedResource.cpp:
              * loader/CachedResource.h:
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::requestResource):
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::DocumentLoader):
              (WebCore::DocumentLoader::setRequest):
              (WebCore::DocumentLoader::urlForHistory):
              (WebCore::DocumentLoader::unreachableURL):
              * loader/DocumentLoader.h:
              (WebCore::DocumentLoader::substituteData):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::shouldReloadToHandleUnreachableURL):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::reload):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::startLoadingMainResource):
              (WebCore::FrameLoader::startLoading):
              (WebCore::FrameLoader::checkNavigationPolicy):
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/MainResourceLoader.cpp:
              (WebCore::MainResourceLoader::willSendRequest):
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
              (WebCore::MainResourceLoader::handleEmptyLoad):
              (WebCore::MainResourceLoader::handleDataLoad):
              (WebCore::MainResourceLoader::loadNow):
              (WebCore::MainResourceLoader::load):
              * loader/MainResourceLoader.h:
              * loader/mac/DocumentLoaderMac.mm:
              * loader/mac/WebDataProtocol.h: Removed.
              * loader/mac/WebDataProtocol.mm: Removed.
              * loader/qt/DocumentLoaderQt.cpp:
              * platform/graphics/svg/SVGImageEmptyClients.h:
              (WebCore::SVGEmptyFrameLoaderClient::createDocumentLoader):
      
      WebKit:
      
              Reviewed by Mark.
      
              - updated for cross-platform data loading support
              
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::createDocumentLoader):
              * WebView/WebDataSource.mm:
              (-[WebDataSource initWithRequest:]):
              * WebView/WebDocumentLoaderMac.h:
              * WebView/WebDocumentLoaderMac.mm:
              (WebDocumentLoaderMac::WebDocumentLoaderMac):
              * WebView/WebFrame.mm:
              (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
              (-[WebFrame loadData:MIMEType:textEncodingName:baseURL:]):
              (-[WebFrame _loadHTMLString:baseURL:unreachableURL:]):
              (-[WebFrame loadArchive:]):
              * WebView/WebFrameInternal.h:
              * WebView/WebHTMLView.mm:
              (uniqueURLWithRelativePart):
              (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:chosePlainText:]):
      
      WebKitQt:
      
              Reviewed by Mark.
      
              - updated for cross-platform data loading support
      
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::createDocumentLoader):
              * WebCoreSupport/FrameLoaderClientQt.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d326f5c
  6. 17 Jan, 2007 1 commit
    • lars's avatar
      Add a message handler to DumpRenderTree that will · a5f96ca6
      lars authored
              suppress all debug output coming from qDebug() statements.
              Like this we can get rid of all the noise coming
              from the notImplemented() macro when running the
              layout tests. You can get it back by adding -v to
              DumpRenderTree's command line.
      
              Changed run-webkit-tests slightly, so we by default
              don't fail anymore when our output differs from what
              is generated on the Mac. Added a --strict option, so
              that we can still see this cases and fix them one by one.
      
              change all notImplemented() macros to use qDebug
              instead of fprintf(stder, ...)
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5f96ca6
  7. 11 Jan, 2007 1 commit
  8. 07 Jan, 2007 1 commit
  9. 03 Jan, 2007 1 commit
  10. 16 Dec, 2006 1 commit
  11. 14 Dec, 2006 2 commits
  12. 10 Nov, 2006 1 commit
    • andersca's avatar
      WebCore: · 799c7160
      andersca authored
              Reviewed and landed by Anders.
      
              Adjust platform Qt/KDE code to the recent loader
              changes. 
      
              * CMakeLists.txt:
              * loader/DocumentLoader.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::createEmptyDocument):
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/qt/DocumentLoaderQt.cpp: Added.
              (WebCore::canonicalizedTitle):
              (WebCore::DocumentLoader::DocumentLoader):
              (WebCore::DocumentLoader::frameLoader):
              (WebCore::DocumentLoader::~DocumentLoader):
              (WebCore::DocumentLoader::URL):
              (WebCore::DocumentLoader::unreachableURL):
              (WebCore::DocumentLoader::replaceRequestURLForAnchorScroll):
              (WebCore::DocumentLoader::isStopping):
              (WebCore::DocumentLoader::clearErrors):
              (WebCore::DocumentLoader::stopLoading):
              (WebCore::DocumentLoader::setupForReplace):
              (WebCore::DocumentLoader::commitIfReady):
              (WebCore::DocumentLoader::finishedLoading):
              (WebCore::DocumentLoader::setCommitted):
              (WebCore::DocumentLoader::isCommitted):
              (WebCore::DocumentLoader::setLoading):
              (WebCore::DocumentLoader::isLoading):
              (WebCore::DocumentLoader::doesProgressiveLoad):
              (WebCore::DocumentLoader::setupForReplaceByMIMEType):
              (WebCore::DocumentLoader::updateLoading):
              (WebCore::DocumentLoader::setFrame):
              (WebCore::DocumentLoader::attachToFrame):
              (WebCore::DocumentLoader::detachFromFrame):
              (WebCore::DocumentLoader::prepareForLoadStart):
              (WebCore::DocumentLoader::loadingStartedTime):
              (WebCore::DocumentLoader::setIsClientRedirect):
              (WebCore::DocumentLoader::isClientRedirect):
              (WebCore::DocumentLoader::setPrimaryLoadComplete):
              (WebCore::DocumentLoader::isLoadingInAPISense):
              (WebCore::DocumentLoader::stopRecordingResponses):
              (WebCore::DocumentLoader::title):
              (WebCore::DocumentLoader::triggeringAction):
              (WebCore::DocumentLoader::setTriggeringAction):
              (WebCore::DocumentLoader::setOverrideEncoding):
              (WebCore::DocumentLoader::overrideEncoding):
              (WebCore::DocumentLoader::setTitle):
              (WebCore::DocumentLoader::URLForHistory):
              * loader/qt/FrameLoaderClientQt.cpp: Added.
              (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
              (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
              (WebCore::FrameLoaderClientQt::detachFrameLoader):
              (WebCore::FrameLoaderClientQt::hasWebView):
              (WebCore::FrameLoaderClientQt::hasFrameView):
              (WebCore::FrameLoaderClientQt::hasBackForwardList):
              (WebCore::FrameLoaderClientQt::resetBackForwardList):
              (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
              (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
              (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
              (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
              (WebCore::FrameLoaderClientQt::makeDocumentView):
              (WebCore::FrameLoaderClientQt::makeRepresentation):
              (WebCore::FrameLoaderClientQt::forceLayout):
              (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
              (WebCore::FrameLoaderClientQt::updateHistoryForCommit):
              (WebCore::FrameLoaderClientQt::updateHistoryForBackForwardNavigation):
              (WebCore::FrameLoaderClientQt::updateHistoryForReload):
              (WebCore::FrameLoaderClientQt::updateHistoryForStandardLoad):
              (WebCore::FrameLoaderClientQt::updateHistoryForInternalLoad):
              (WebCore::FrameLoaderClientQt::updateHistoryAfterClientRedirect):
              (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
              (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
              (WebCore::FrameLoaderClientQt::resetAfterLoadError):
              (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
              (WebCore::FrameLoaderClientQt::willCloseDocument):
              (WebCore::FrameLoaderClientQt::detachedFromParent1):
              (WebCore::FrameLoaderClientQt::detachedFromParent2):
              (WebCore::FrameLoaderClientQt::detachedFromParent3):
              (WebCore::FrameLoaderClientQt::detachedFromParent4):
              (WebCore::FrameLoaderClientQt::loadedFromPageCache):
              (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
              (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
              (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
              (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
              (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
              (WebCore::FrameLoaderClientQt::dispatchWillClose):
              (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
              (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
              (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
              (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
              (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
              (WebCore::FrameLoaderClientQt::dispatchShow):
              (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
              (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
              (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
              (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
              (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
              (WebCore::FrameLoaderClientQt::revertToProvisionalState):
              (WebCore::FrameLoaderClientQt::clearUnarchivingState):
              (WebCore::FrameLoaderClientQt::progressStarted):
              (WebCore::FrameLoaderClientQt::progressCompleted):
              (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
              (WebCore::FrameLoaderClientQt::willChangeTitle):
              (WebCore::FrameLoaderClientQt::didChangeTitle):
              (WebCore::FrameLoaderClientQt::finishedLoading):
              (WebCore::FrameLoaderClientQt::finalSetupForReplace):
              (WebCore::FrameLoaderClientQt::setDefersLoading):
              (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
              (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
              (WebCore::FrameLoaderClientQt::clearArchivedResources):
              (WebCore::FrameLoaderClientQt::canShowMIMEType):
              (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
              (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
              (WebCore::FrameLoaderClientQt::frameLoadCompleted):
              (WebCore::FrameLoaderClientQt::restoreScrollPositionAndViewState):
              (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
              (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
              (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
              (WebCore::FrameLoaderClientQt::didFinishLoad):
              (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
              (WebCore::FrameLoaderClientQt::setTitle):
              (WebCore::FrameLoaderClientQt::userAgent):
              * loader/qt/FrameLoaderClientQt.h: Added.
              * loader/qt/FrameLoaderQt.cpp:
              (WebCore::FrameLoader::submitForm):
              (WebCore::FrameLoader::overrideMediaType):
              (WebCore::FrameLoader::getHistoryLength):
              (WebCore::FrameLoader::referrer):
              (WebCore::FrameLoader::detachFromParent):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::goBackOrForward):
              (WebCore::FrameLoader::historyURL):
              (WebCore::FrameLoader::didFirstLayout):
              (WebCore::FrameLoader::canGoBackOrForward):
              (WebCore::FrameLoader::partClearedInBegin):
              (WebCore::FrameLoader::saveDocumentState):
              (WebCore::FrameLoader::restoreDocumentState):
              (WebCore::FrameLoader::didChangeTitle):
              (WebCore::FrameLoader::redirectDataToPlugin):
              (WebCore::PolicyCheck::PolicyCheck):
              (WebCore::PolicyCheck::clear):
              (WebCore::PolicyCheck::set):
              (WebCore::PolicyCheck::call):
              (WebCore::PolicyCheck::clearRequest):
              * loader/qt/NavigationActionQt.cpp: Added.
              (WebCore::navigationType):
              (WebCore::NavigationAction::NavigationAction):
              * loader/qt/ResourceLoaderQt.cpp: Added.
              (WebCore::ResourceLoader::ResourceLoader):
              (WebCore::ResourceLoader::~ResourceLoader):
              (WebCore::ResourceLoader::setDefersLoading):
              (WebCore::ResourceLoader::cancel):
              (WebCore::ResourceLoader::loadsBlocked):
              * platform/MimeTypeRegistry.cpp:
              (WebCore::initialiseSupportedImageMIMETypes):
              * platform/network/qt/ResourceHandleManager.cpp:
              (WebCore::ResourceHandleManager::slotResult):
              (WebCore::ResourceHandleManager::cancel):
              * platform/qt/ChromeClientQt.cpp: Added.
              (WebCore::rootWindowForFrame):
              (WebCore::ChromeClientQt::ChromeClientQt):
              (WebCore::ChromeClientQt::~ChromeClientQt):
              (WebCore::ChromeClientQt::setWindowRect):
              (WebCore::ChromeClientQt::windowRect):
              (WebCore::ChromeClientQt::pageRect):
              (WebCore::ChromeClientQt::scaleFactor):
              (WebCore::ChromeClientQt::focus):
              (WebCore::ChromeClientQt::unfocus):
              (WebCore::ChromeClientQt::createWindow):
              (WebCore::ChromeClientQt::createModalDialog):
              (WebCore::ChromeClientQt::show):
              (WebCore::ChromeClientQt::canRunModal):
              (WebCore::ChromeClientQt::runModal):
              (WebCore::ChromeClientQt::setToolbarsVisible):
              (WebCore::ChromeClientQt::toolbarsVisible):
              (WebCore::ChromeClientQt::setStatusbarVisible):
              (WebCore::ChromeClientQt::statusbarVisible):
              (WebCore::ChromeClientQt::setScrollbarsVisible):
              (WebCore::ChromeClientQt::scrollbarsVisible):
              (WebCore::ChromeClientQt::setMenubarVisible):
              (WebCore::ChromeClientQt::menubarVisible):
              (WebCore::ChromeClientQt::setResizable):
              * platform/qt/ChromeClientQt.h: Added.
              * platform/qt/EditorClientQt.cpp:
              (WebCore::EditorClientQt::shouldBeginEditing):
              (WebCore::EditorClientQt::shouldEndEditing):
              (WebCore::EditorClientQt::shouldApplyStyle):
              (WebCore::EditorClientQt::didBeginEditing):
              (WebCore::EditorClientQt::respondToChangedContents):
              (WebCore::EditorClientQt::didEndEditing):
              * platform/qt/EditorClientQt.h:
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::FrameQt):
              (WebCore::FrameQt::~FrameQt):
              (WebCore::FrameQt::keyEvent):
              * platform/qt/FrameQt.h:
              * platform/qt/FrameQtClient.cpp:
              (WebCore::FrameQtClientDefault::openURL):
              (WebCore::FrameQtClientDefault::didReceiveData):
              (WebCore::FrameQtClientDefault::receivedAllData):
              * platform/qt/ImageQt.cpp:
              * platform/qt/MimeTypeRegistryQt.cpp: Added.
              (WebCore::getMIMETypeForUTI):
              (WebCore::MimeTypeRegistry::getMIMETypeForExtension):
              * platform/qt/PageQt.cpp:
              * platform/qt/PlatformKeyboardEventQt.cpp:
              (WebCore::keyIdentifierForQtKeyCode):
              * platform/qt/ScreenQt.cpp:
              * platform/qt/TemporaryLinkStubs.cpp:
              (WebCore::TextField::TextField):
              (WebCore::screenDepth):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::screenRect):
              (WebCore::screenAvailableRect):
      
      WebKitQt:
      
              Reviewed and landed by Anders.
      
              Adjusting to the recent loader changes, making it compile
              and work.
      
              * QtLauncher/main.cpp:
              (main):
              * WebKitPart/WebKitPart.cpp:
              (WebKitPart::closeUrl):
              (WebKitPart::initView):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      799c7160
  13. 07 Nov, 2006 1 commit
    • darin's avatar
      WebCore: · c370e7e1
      darin authored
              Reviewed by Geoff.
      
              - moved loader code from Frame/FrameMac to FrameLoader
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_events.cpp:
              (KJS::JSLazyEventListener::parseCode):
              * bindings/js/kjs_html.cpp:
              (KJS::JSHTMLDocument::putValueProperty):
              * bindings/js/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              * bindings/js/kjs_proxy.cpp:
              (WebCore::KJSProxy::initScriptIfNeeded):
              * bindings/js/kjs_window.cpp:
              (KJS::Screen::Screen):
              (KJS::createNewWindow):
              (KJS::Window::getValueProperty):
              (KJS::Window::put):
              (KJS::Window::isSafeScript):
              (KJS::WindowFunc::callAsFunction):
              (KJS::ScheduledAction::execute):
              (KJS::Location::getValueProperty):
              (KJS::Location::put):
              (KJS::Location::toString):
              (KJS::LocationFunc::callAsFunction):
              (KJS::History::getValueProperty):
              (KJS::HistoryFunc::callAsFunction):
              * bindings/objc/DOM.mm:
              (+[DOMNode _nodeWith:WebCore::]):
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::~FrameMac):
              (WebCore::FrameMac::setView):
              (WebCore::FrameMac::setStatusBarText):
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge close]):
              (-[WebCoreFrameBridge addData:]):
              (-[WebCoreFrameBridge createFrameViewWithNSView:marginWidth:marginHeight:]):
              (-[WebCoreFrameBridge reapplyStylesForDeviceType:]):
              (-[WebCoreFrameBridge stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
              (-[WebCoreFrameBridge aeDescByEvaluatingJavaScriptFromString:]):
              (-[WebCoreFrameBridge baseURL]):
              (-[WebCoreFrameBridge dragOperationForDraggingInfo:]):
              (-[WebCoreFrameBridge dragExitedWithDraggingInfo:]):
              (-[WebCoreFrameBridge canProvideDocumentSource]):
              (-[WebCoreFrameBridge receivedData:textEncodingName:]):
              * css/cssparser.cpp:
              (WebCore::CSSParser::parseContent):
              * dom/DOMImplementation.cpp:
              (WebCore::DOMImplementation::createDocument):
              (WebCore::DOMImplementation::createHTMLDocument):
              * dom/DOMImplementation.h:
              * dom/Document.cpp:
              (WebCore::Document::readyState):
              (WebCore::Document::updateTitle):
              (WebCore::Document::open):
              (WebCore::Document::close):
              (WebCore::Document::implicitClose):
              (WebCore::Document::processHttpEquiv):
              (WebCore::Document::referrer):
              (WebCore::Document::finishedParsing):
              * dom/ProcessingInstruction.cpp:
              (WebCore::ProcessingInstruction::checkStyleSheet):
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::endElementNs):
              (WebCore::ignorableWhitespaceHandler):
              (WebCore::XMLTokenizer::notifyFinished):
              * editing/TextIterator.cpp:
              (WebCore::TextIterator::rangeFromLocationAndLength):
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler):
              * html/HTMLBaseElement.cpp:
              (WebCore::HTMLBaseElement::process):
              * html/HTMLDocument.cpp:
              (WebCore::HTMLDocument::lastModified):
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::formData):
              (WebCore::HTMLFormElement::submit):
              * html/HTMLFrameElementBase.cpp:
              (WebCore::HTMLFrameElementBase::isURLAllowed):
              (WebCore::HTMLFrameElementBase::openURL):
              (WebCore::HTMLFrameElementBase::willRemove):
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::setValueFromRenderer):
              * html/HTMLLinkElement.cpp:
              (WebCore::HTMLLinkElement::process):
              * html/HTMLParser.cpp:
              (WebCore::HTMLParser::handleError):
              (WebCore::HTMLParser::handleResidualStyleCloseTagAcrossBlocks):
              * html/HTMLPreElement.idl:
              * html/HTMLScriptElement.cpp:
              (WebCore::HTMLScriptElement::parseMappedAttribute):
              (WebCore::HTMLScriptElement::insertedIntoDocument):
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptExecution):
              (WebCore::HTMLTokenizer::parseTag):
              (WebCore::HTMLTokenizer::write):
              (WebCore::HTMLTokenizer::stopParsing):
              (WebCore::HTMLTokenizer::timerFired):
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (WebCore::KCanvasFilterQuartz::prepareFilter):
              * ksvg2/svg/SVGAElement.cpp:
              (WebCore::SVGAElement::defaultEventHandler):
              * ksvg2/svg/SVGElement.cpp:
              (WebCore::SVGElement::sendSVGLoadEventIfPossible):
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::setLoadInProgress):
              * loader/FrameLoader.cpp:
              (WebCore::FormSubmission::FormSubmission):
              (WebCore::ScheduledRedirection::):
              (WebCore::ScheduledRedirection::ScheduledRedirection):
              (WebCore::cancelAll):
              (WebCore::getString):
              (WebCore::isBackForwardLoadType):
              (WebCore::numRequests):
              (WebCore::FrameLoader::FrameLoader):
              (WebCore::FrameLoader::~FrameLoader):
              (WebCore::FrameLoader::createWindow):
              (WebCore::FrameLoader::changeLocation):
              (WebCore::FrameLoader::urlSelected):
              (WebCore::FrameLoader::requestFrame):
              (WebCore::FrameLoader::loadSubframe):
              (WebCore::FrameLoader::submitFormAgain):
              (WebCore::FrameLoader::submitForm):
              (WebCore::FrameLoader::stopLoading):
              (WebCore::FrameLoader::stop):
              (WebCore::FrameLoader::closeURL):
              (WebCore::FrameLoader::cancelRedirection):
              (WebCore::FrameLoader::iconURL):
              (WebCore::FrameLoader::didOpenURL):
              (WebCore::FrameLoader::didExplicitOpen):
              (WebCore::FrameLoader::replaceContentsWithScriptResult):
              (WebCore::FrameLoader::executeScript):
              (WebCore::FrameLoader::cancelAndClear):
              (WebCore::FrameLoader::clear):
              (WebCore::FrameLoader::receivedFirstData):
              (WebCore::FrameLoader::responseMIMEType):
              (WebCore::FrameLoader::setResponseMIMEType):
              (WebCore::FrameLoader::begin):
              (WebCore::FrameLoader::write):
              (WebCore::FrameLoader::end):
              (WebCore::FrameLoader::endIfNotLoading):
              (WebCore::FrameLoader::startIconLoader):
              (WebCore::FrameLoader::commitIconURLToIconDatabase):
              (WebCore::FrameLoader::gotoAnchor):
              (WebCore::FrameLoader::finishedParsing):
              (WebCore::FrameLoader::loadDone):
              (WebCore::FrameLoader::checkCompleted):
              (WebCore::FrameLoader::checkEmitLoadEvent):
              (WebCore::FrameLoader::baseURL):
              (WebCore::FrameLoader::baseTarget):
              (WebCore::FrameLoader::completeURL):
              (WebCore::FrameLoader::scheduleRedirection):
              (WebCore::FrameLoader::scheduleLocationChange):
              (WebCore::FrameLoader::scheduleRefresh):
              (WebCore::FrameLoader::isScheduledLocationChangePending):
              (WebCore::FrameLoader::scheduleHistoryNavigation):
              (WebCore::FrameLoader::redirectionTimerFired):
              (WebCore::FrameLoader::encoding):
              (WebCore::FrameLoader::requestObject):
              (WebCore::FrameLoader::shouldUsePlugin):
              (WebCore::FrameLoader::loadPlugin):
              (WebCore::FrameLoader::clearRecordedFormValues):
              (WebCore::FrameLoader::recordFormValue):
              (WebCore::FrameLoader::parentCompleted):
              (WebCore::FrameLoader::outgoingReferrer):
              (WebCore::FrameLoader::lastModified):
              (WebCore::FrameLoader::opener):
              (WebCore::FrameLoader::setOpener):
              (WebCore::FrameLoader::openedByJavaScript):
              (WebCore::FrameLoader::setOpenedByJavaScript):
              (WebCore::FrameLoader::handleFallbackContent):
              (WebCore::FrameLoader::provisionalLoadStarted):
              (WebCore::FrameLoader::userGestureHint):
              (WebCore::FrameLoader::didNotOpenURL):
              (WebCore::FrameLoader::resetMultipleFormSubmissionProtection):
              (WebCore::FrameLoader::setEncoding):
              (WebCore::FrameLoader::addData):
              (WebCore::FrameLoader::canCachePage):
              (WebCore::FrameLoader::updatePolicyBaseURL):
              (WebCore::FrameLoader::setPolicyBaseURL):
              (WebCore::FrameLoader::scrollToAnchor):
              (WebCore::FrameLoader::isComplete):
              (WebCore::FrameLoader::isLoadingMainResource):
              (WebCore::FrameLoader::url):
              (WebCore::FrameLoader::startRedirectionTimer):
              (WebCore::FrameLoader::stopRedirectionTimer):
              (WebCore::FrameLoader::updateBaseURLForEmptyDocument):
              (WebCore::FrameLoader::completed):
              (WebCore::FrameLoader::started):
              (WebCore::FrameLoader::containsPlugins):
              (WebCore::FrameLoader::prepareForLoadStart):
              (WebCore::FrameLoader::setupForReplace):
              (WebCore::FrameLoader::setupForReplaceByMIMEType):
              (WebCore::FrameLoader::finalSetupForReplace):
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::canTarget):
              (WebCore::FrameLoader::stopLoadingPlugIns):
              (WebCore::FrameLoader::stopLoadingSubresources):
              (WebCore::FrameLoader::stopLoadingSubframes):
              (WebCore::FrameLoader::stopAllLoaders):
              (WebCore::FrameLoader::cancelMainResourceLoad):
              (WebCore::FrameLoader::cancelPendingArchiveLoad):
              (WebCore::FrameLoader::activeDocumentLoader):
              (WebCore::FrameLoader::addPlugInStreamLoader):
              (WebCore::FrameLoader::removePlugInStreamLoader):
              (WebCore::FrameLoader::hasMainResourceLoader):
              (WebCore::FrameLoader::isLoadingSubresources):
              (WebCore::FrameLoader::isLoadingPlugIns):
              (WebCore::FrameLoader::isLoading):
              (WebCore::FrameLoader::addSubresourceLoader):
              (WebCore::FrameLoader::removeSubresourceLoader):
              (WebCore::FrameLoader::releaseMainResourceLoader):
              (WebCore::FrameLoader::setDocumentLoader):
              (WebCore::FrameLoader::documentLoader):
              (WebCore::FrameLoader::setPolicyDocumentLoader):
              (WebCore::FrameLoader::provisionalDocumentLoader):
              (WebCore::FrameLoader::setProvisionalDocumentLoader):
              (WebCore::FrameLoader::state):
              (WebCore::FrameLoader::timeOfLastCompletedLoad):
              (WebCore::FrameLoader::setState):
              (WebCore::FrameLoader::clearProvisionalLoad):
              (WebCore::FrameLoader::markLoadComplete):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::privateBrowsingEnabled):
              (WebCore::FrameLoader::clientRedirectCancelledOrFinished):
              (WebCore::FrameLoader::clientRedirected):
              (WebCore::FrameLoader::shouldReload):
              (WebCore::FrameLoader::closeOldDataSources):
              (WebCore::FrameLoader::open):
              (WebCore::FrameLoader::isStopping):
              (WebCore::FrameLoader::finishedLoading):
              (WebCore::FrameLoader::URL):
              (WebCore::FrameLoader::isArchiveLoadPending):
              (WebCore::FrameLoader::isHostedByObjectElement):
              (WebCore::FrameLoader::isLoadingMainFrame):
              (WebCore::FrameLoader::canShowMIMEType):
              (WebCore::FrameLoader::representationExistsForURLScheme):
              (WebCore::FrameLoader::generatedMIMETypeForURLScheme):
              (WebCore::FrameLoader::cancelContentPolicyCheck):
              (WebCore::FrameLoader::didReceiveServerRedirectForProvisionalLoadForFrame):
              (WebCore::FrameLoader::finishedLoadingDocument):
              (WebCore::FrameLoader::isReplacing):
              (WebCore::FrameLoader::setReplacing):
              (WebCore::FrameLoader::revertToProvisional):
              (WebCore::FrameLoader::subframeIsLoading):
              (WebCore::FrameLoader::willChangeTitle):
              (WebCore::FrameLoader::loadType):
              (WebCore::FrameLoader::stopPolicyCheck):
              (WebCore::FrameLoader::continueAfterContentPolicy):
              (WebCore::FrameLoader::continueAfterWillSubmitForm):
              (WebCore::FrameLoader::didFirstLayout):
              (WebCore::FrameLoader::frameLoadCompleted):
              (WebCore::FrameLoader::firstLayoutDone):
              (WebCore::FrameLoader::isQuickRedirectComing):
              (WebCore::FrameLoader::closeDocument):
              (WebCore::FrameLoader::detachChildren):
              (WebCore::FrameLoader::checkLoadComplete):
              (WebCore::FrameLoader::numPendingOrLoadingRequests):
              (WebCore::FrameLoader::setClient):
              (WebCore::FrameLoader::client):
              (WebCore::FrameLoader::userAgent):
              (WebCore::FrameLoader::createEmptyDocument):
              (WebCore::FrameLoader::tokenizerProcessedData):
              (WebCore::FrameLoader::didTellBridgeAboutLoad):
              (WebCore::FrameLoader::haveToldBridgeAboutLoad):
              (WebCore::FrameLoader::handledOnloadEvents):
              (WebCore::FrameLoader::frameDetached):
              (WebCore::FrameLoader::setTitle):
              (WebCore::FrameLoaderClient::~FrameLoaderClient):
              * loader/FrameLoader.h:
              (WebCore::):
              * loader/FrameLoaderClient.h:
              * loader/PluginDocument.cpp:
              (WebCore::PluginTokenizer::createDocumentStructure):
              (WebCore::PluginTokenizer::writeRawData):
              * loader/ResourceLoader.h:
              * loader/TextResourceDecoder.cpp:
              (WebCore::TextResourceDecoder::checkForHeadCharset):
              * loader/icon/IconLoader.cpp:
              (WebCore::IconLoader::startLoading):
              (WebCore::IconLoader::finishLoading):
              * loader/loader.cpp:
              (WebCore::Loader::didReceiveResponse):
              * loader/mac/DocumentLoaderMac.mm:
              (WebCore::DocumentLoader::~DocumentLoader):
              (WebCore::DocumentLoader::stopLoading):
              (WebCore::DocumentLoader::finishedLoading):
              (WebCore::DocumentLoader::setupForReplaceByMIMEType):
              (WebCore::DocumentLoader::setPrimaryLoadComplete):
              * loader/mac/FrameLoaderMac.mm:
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::startLoading):
              (WebCore::FrameLoader::cancelMainResourceLoad):
              (WebCore::FrameLoader::receivedMainResourceError):
              (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::continueLoadAfterNewWindowPolicy):
              (WebCore::FrameLoader::detachFromParent):
              (WebCore::FrameLoader::addExtraFieldsToRequest):
              (WebCore::FrameLoader::loadResourceSynchronously):
              (WebCore::FrameLoader::createFrame):
              (WebCore::FrameLoader::objectContentType):
              (WebCore::nsArray):
              (WebCore::FrameLoader::createPlugin):
              (WebCore::FrameLoader::redirectDataToPlugin):
              (WebCore::FrameLoader::createJavaAppletWidget):
              (WebCore::FrameLoader::partClearedInBegin):
              (WebCore::FrameLoader::saveDocumentState):
              (WebCore::FrameLoader::restoreDocumentState):
              (WebCore::FrameLoader::overrideMediaType):
              (WebCore::FrameLoader::mainResourceData):
              (WebCore::FrameLoader::canGoBackOrForward):
              (WebCore::FrameLoader::originalRequestURL):
              (WebCore::FrameLoader::getHistoryLength):
              (WebCore::FrameLoader::goBackOrForward):
              (WebCore::FrameLoader::historyURL):
              (WebCore::FrameLoader::didFinishLoad):
              * loader/mac/LoaderFunctionsMac.mm:
              (WebCore::ServeSynchronousRequest):
              (WebCore::CheckCacheObjectStatus):
              * loader/mac/ResourceLoaderMac.mm:
              (WebCore::ResourceLoader::cancel):
              * loader/mac/SubresourceLoaderMac.mm:
              (WebCore::SubresourceLoader::create):
              * loader/qt/FrameLoaderQt.cpp: Added.
              (WebCore::FrameLoader::submitForm):
              (WebCore::FrameLoader::urlSelected):
              (WebCore::FrameLoader::setTitle):
              (WebCore::FrameLoader::createFrame):
              (WebCore::FrameLoader::objectContentType):
              (WebCore::FrameLoader::createPlugin):
              (WebCore::FrameLoader::createJavaAppletWidget):
              (WebCore::FrameLoader::originalRequestURL):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::document):
              * page/Frame.cpp:
              (WebCore::Frame::~Frame):
              (WebCore::Frame::reparseConfiguration):
              (WebCore::Frame::shouldDragAutoNode):
              (WebCore::Frame::prepareForUserAction):
              (WebCore::FramePrivate::FramePrivate):
              (WebCore::FramePrivate::~FramePrivate):
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::layout):
              (WebCore::FrameView::mediaType):
              * page/FrameView.h:
              * page/PageState.cpp:
              (WebCore::PageState::PageState):
              (WebCore::PageState::restoreJavaScriptState):
              * platform/mac/CookieJar.mm:
              (WebCore::setCookies):
              * platform/mac/TextCodecMac.cpp:
              * platform/mac/WebFontCache.mm:
              (+[WebFontCache fontWithFamily:traits:size:]):
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::ResourceHandle::start):
              * platform/network/mac/ResourceHandleMac.mm:
              (WebCore::ResourceHandle::start):
              * platform/qt/FrameQt.cpp:
              * platform/qt/FrameQt.h:
              * rendering/RenderApplet.cpp:
              (WebCore::RenderApplet::createWidgetIfNecessary):
              * rendering/RenderBlock.h:
              * rendering/RenderPartObject.cpp:
              (WebCore::isURLAllowed):
              (WebCore::RenderPartObject::updateWidget):
              * xml/DOMParser.cpp:
              (WebCore::DOMParser::parseFromString):
              * xml/XSLTProcessor.cpp:
              (WebCore::XSLTProcessor::createDocumentFromSource):
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::getResponseXML):
      
      WebKit:
      
              Reviewed by Geoff.
      
              - udpated for changes to move from Frame/FrameMac to FrameLoader
      
              * DefaultDelegates/WebDefaultContextMenuDelegate.m:
              (-[WebDefaultUIDelegate openNewWindowWithURL:element:]):
              * Misc/WebNSAttributedStringExtras.m:
              (+[NSAttributedString _web_attributedStringFromRange:]):
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView requestWithURLCString:]):
              * Plugins/WebNetscapePluginEmbeddedView.m:
              (-[WebNetscapePluginEmbeddedView didStart]):
              * Plugins/WebNetscapePluginStream.mm:
              * Plugins/WebPluginController.mm:
              (-[WebPluginController pluginView:receivedResponse:]):
              * WebCoreSupport/WebFrameBridge.mm:
              (-[WebFrameBridge viewForPluginWithURL:attributeNames:attributeValues:MIMEType:DOMElement:loadManually:]):
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::provisionalLoadStarted):
              * WebView/WebFrame.mm:
              (-[WebFrame _canCachePage]):
              (+[WebFrame _timeOfLastCompletedLoad]):
              (-[WebFrame _loadItem:withLoadType:]):
              (-[WebFrame _reloadForPluginChanges]):
              (-[WebFrame stopLoading]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c370e7e1
  14. 04 Nov, 2006 1 commit
    • darin's avatar
      WebCore: · 7c9aa2d4
      darin authored
              Reviewed by Maciej.
      
              - converted more of the loader machinery to work with cross-platform
                data structures instead of Macintosh-specific ones
      
                converted most uses of NSURL to KURL and NSEvent to DOM Event in
                loader classes
      
                moved download function out of FrameLoader.h to avoid reference to
                NSURLConnection
      
                added DOM Event parameters to various functions so that the handlers
                can use the DOM Event instead of the global "current NSEvent";
                includes Frame::submitForm, HTMLFormElement::prepareSubmit,
                HTMLFormElement::submit, FrameLoader::load
      
                moved the setMainFrame call that hands ownership to the Page
                into one of the Frame constructors, and removed it from all
                the clients
      
                removed const from Event parameter to the urlSelected function
                (we rarely use const with DOM elements)
      
                removed some redundant includes and declarations from various
                header files
      
                removed NSURL parameter from userAgent function -- if we need it we
                can add it back, but converting from NSURL to KURL and back is
                inefficient enough that it's best to have it out for now (since it's
                been unused for years) -- if we add it back, we can choose an
                appropriate parameter type that's always inexpensive to pass
      
                did some basic cleanup in the IconLoader class, including removing
                an unnecessary loop that added icon data a byte at a time
      
                renamed safeLoad to load, since it's no different from the other
                FrameLoader load functions, safety-wise
      
                fixed some code that was trying to distinguish null frame name from
                empty string frame name -- both should be handled the same, but callers
                were doing it by checking for empty and turning it into null (in a way
                that was causing extra round trips between NSString and WebCore::String)
      
                corrected all uses of "get" and "post" to be uppercase "GET" and "POST"
                and got rid of case-insensitive compares of methods
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::submitForm):
              (WebCore::FrameMac::urlSelected):
              (WebCore::FrameMac::userAgent):
              * bridge/mac/FrameViewMac.mm:
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject rendererForView:]):
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              * bridge/mac/WebCoreSettings.mm:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::urlSelected):
              (WebCore::FrameWin::submitForm):
              * bridge/win/FrameWin.h:
              * dom/MouseRelatedEvent.cpp:
              * dom/MouseRelatedEvent.h:
              * dom/UIEvent.cpp:
              (WebCore::UIEvent::~UIEvent):
              * dom/UIEvent.h:
              * dom/UIEventWithKeyState.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::openFunc):
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler):
              * html/HTMLButtonElement.cpp:
              (WebCore::HTMLButtonElement::defaultEventHandler):
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::submitClick):
              (WebCore::HTMLFormElement::prepareSubmit):
              (WebCore::HTMLFormElement::submit):
              * html/HTMLFormElement.h:
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::defaultEventHandler):
              * html/HTMLSelectElement.cpp:
              (WebCore::HTMLSelectElement::menuListDefaultEventHandler):
              * loader/DocumentLoader.h:
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/NavigationAction.h:
              (WebCore::NavigationAction::event):
              * loader/icon/IconLoader.cpp:
              (WebCore::IconLoader::create):
              (WebCore::IconLoader::startLoading):
              (WebCore::IconLoader::didReceiveData):
              (WebCore::IconLoader::didFinishLoading):
              * loader/icon/IconLoader.h:
              * loader/loader.cpp:
              * loader/mac/DocumentLoaderMac.mm:
              (WebCore::DocumentLoader::URL):
              (WebCore::DocumentLoader::unreachableURL):
              (WebCore::DocumentLoader::replaceRequestURLForAnchorScroll):
              (WebCore::DocumentLoader::URLForHistory):
              * loader/mac/FrameLoaderMac.mm:
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::willSendRequest):
              (WebCore::FrameLoader::clientRedirected):
              (WebCore::FrameLoader::shouldReload):
              (WebCore::FrameLoader::notifyIconChanged):
              (WebCore::FrameLoader::URL):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::reload):
              (WebCore::FrameLoader::didChangeTitle):
              (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::post):
              (WebCore::FrameLoader::addExtraFieldsToRequest):
              (WebCore::FrameLoader::loadResourceSynchronously):
              * loader/mac/IconLoaderMac.mm:
              (WebCore::IconLoader::notifyIconChanged):
              * loader/mac/LoaderFunctionsMac.mm:
              * loader/mac/MainResourceLoaderMac.mm:
              (WebCore::shouldLoadAsEmptyDocument):
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
              * loader/mac/NavigationActionMac.mm:
              (WebCore::navigationType):
              (WebCore::NavigationAction::NavigationAction):
              * loader/mac/ResourceLoaderMac.mm:
              * loader/mac/SubresourceLoaderMac.mm:
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              (WebCore::Frame::urlSelected):
              (WebCore::Frame::submitFormAgain):
              (WebCore::Frame::submitForm):
              (WebCore::Frame::endIfNotLoading):
              (WebCore::Frame::hitTestResultAtPoint):
              * page/Frame.h:
              * page/FramePrivate.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::submitForm):
              (WebCore::FrameGdk::urlSelected):
              * platform/gdk/FrameGdk.h:
              * platform/mac/TextFieldMac.mm:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ResourceHandle.h:
              * platform/network/ResourceHandleClient.h:
              * platform/network/ResourceHandleInternal.h:
              * platform/network/mac/ResourceHandleMac.mm:
              * platform/network/mac/ResourceResponseMac.h:
              * platform/network/mac/ResourceResponseMac.mm:
              (-[NSURLResponse WebCore]):
              * platform/network/win/ResourceHandleWin.cpp:
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::submitForm):
              (WebCore::FrameQt::urlSelected):
              * platform/qt/FrameQt.h:
              * rendering/RenderLineEdit.cpp:
              (WebCore::RenderLineEdit::returnPressed):
              * xml/XSLTProcessor.cpp:
              (WebCore::docLoaderFunc):
              * xml/xmlhttprequest.cpp:
      
      WebKit:
      
              Reviewed by Maciej.
      
              - converted more of the loader machinery to work with cross-platform
                data structures instead of Macintosh-specific ones
      
                store the computed user agent string as a WebCore::String instead
                of an NSString to avoid overhead converting it every time we get it
      
              * COM/WebFrame.cpp:
              (WebFrame::initWithName):
              * ChangeLog:
              * Misc/WebElementDictionary.m:
              (-[WebElementDictionary _image]):
              (-[WebElementDictionary _targetWebFrame]):
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
              (WebFrameLoaderClient::shouldTreatURLAsSameAsCurrent):
              (WebFrameLoaderClient::setTitle):
              (WebFrameLoaderClient::userAgent):
              (WebFrameLoaderClient::actionDictionary):
              * WebCoreSupport/WebPageBridge.mm:
              (WebCore::if):
              * WebView/WebDataSource.mm:
              (-[WebDataSource _URL]):
              (-[WebDataSource _URLForHistory]):
              (-[WebDataSource unreachableURL]):
              * WebView/WebHTMLView.m:
              (-[WebHTMLView elementAtPoint:allowShadowContent:]):
              * WebView/WebPDFView.mm:
              (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
              (-[WebPDFView _path]):
              * WebView/WebView.mm:
              (-[WebViewPrivate init]):
              (-[WebViewPrivate dealloc]):
              (-[WebViewPrivate finalize]):
              (-[WebView _preferencesChangedNotification:]):
              (-[WebView _cachedResponseForURL:]):
              (-[WebView setApplicationNameForUserAgent:]):
              (-[WebView setCustomUserAgent:]):
              (-[WebView customUserAgent]):
              (-[WebView userAgentForURL:]):
              (-[WebView _computeUserAgent]):
              (-[WebView WebCore::]):
              * WebView/WebViewInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c9aa2d4
  15. 31 Oct, 2006 1 commit
    • darin's avatar
      WebCore: · 8b59a0e8
      darin authored
              Reviewed by Brady.
      
              - got "action dictionary" code out of FrameLoader,
                replacing with a class called NavigationAction
      
              * loader/DocumentLoader.h: Changed m_triggeringAction to a NavigationAction.
              * loader/mac/DocumentLoaderMac.mm:
              (WebCore::DocumentLoader::triggeringAction): Ditto.
              (WebCore::DocumentLoader::setTriggeringAction): Ditto.
      
              * loader/FrameLoader.h: Changed action parameters to NavigationAction.
      
              * loader/FrameLoaderClient.h: Changed action parameters to NavigationAction.
              Removed elementForEvent.
              * loader/mac/FrameLoaderMac.mm:
              (WebCore::FrameLoader::load): Ditto.
              (WebCore::FrameLoader::reload): Ditto.
              (WebCore::FrameLoader::checkNewWindowPolicy): Ditto.
              (WebCore::FrameLoader::checkNavigationPolicy): Ditto.
              (WebCore::FrameLoader::continueLoadAfterNewWindowPolicy): Ditto.
              (WebCore::FrameLoader::post): Ditto.
      
              * loader/NavigationAction.h: Added.
              * loader/NavigationAction.cpp: Added.
              * loader/mac/NavigationActionMac.mm: Added.
      
              * loader/mac/MainResourceLoaderMac.mm: Fixed copyright.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for new files.
              * WebCore.exp: Updated.
      
      WebKit:
      
              Reviewed by Brady.
      
              - got "action dictionary" code out of FrameLoader,
                replacing with a class called NavigationAction
      
              * WebCoreSupport/WebFrameLoaderClient.h: Changed parameter types to NavigationAction.
              Made elementForEvent non-virtual. Added actionDictionary function.
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction): Changed parameter type,
              and used actionDictionary to make the action dictionary.
              (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Ditto.
              (WebFrameLoaderClient::actionDictionary): Added. Code that was originally in WebCore
              that creates the action dictionary (from a NavigationAction).
      
              * WebView/WebFrame.mm: (-[WebFrame _loadItem:withLoadType:]): Use NavigationAction
              instead of a dictionary for the action parameters.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b59a0e8
  16. 29 Oct, 2006 3 commits
    • darin's avatar
      WebCore: · 5b2cbe11
      darin authored
              - did the do-webcore-rename renames, including a number of changes
                to the names of loader files (and WebResourceLoader -> ResourceLoader),
                jScript() to scriptProxy(), jScriptEnabled() to javaScriptEnabled(),
                and improvements to the names of decoder classes and their source
                files (Decoder -> TextResourceDecoder, StreamingTextDecoder -> TextCodec)
      
      WebKit:
      
              - update for the WebCore renames
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b2cbe11
    • darin's avatar
      Rubber stamped by Adam (kinda). · fa8a3a46
      darin authored
              - add Mac suffixes and correct filenames inside loader/mac
      
              * WebCore.xcodeproj/project.pbxproj: Updated for changes below.
      
              * loader/mac/FrameLoader.mm: Removed.
              * loader/mac/WebDocumentLoader.mm: Removed.
              * loader/mac/WebLoader.mm: Removed.
              * loader/mac/WebMainResourceLoader.mm: Removed.
              * loader/mac/WebNetscapePlugInStreamLoader.mm: Removed.
              * loader/mac/WebSubresourceLoader.mm: Removed.
      
              * loader/mac/FrameLoaderMac.mm: Added.
              * loader/mac/DocumentLoaderMac.mm: Added.
              * loader/mac/ResourceLoaderMac.mm: Added.
              * loader/mac/MainResourceLoaderMac.mm: Added.
              * loader/mac/WebNetscapePlugInStreamLoaderMac.mm: Added.
              * loader/mac/SubresourceLoaderMac.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa8a3a46
    • darin's avatar
      Reviewed by Adam. · fa7a4e37
      darin authored
              - moving towards use of FrameLoader cross-platform; get FrameLoader.h
                and FrameLoader.cpp mostly ready
      
              * WebCore.xcodeproj/project.pbxproj: Added FrameLoader.cpp and
              FormState.cpp. Removed WebFormState.mm.
      
              * loader/FrameLoader.h: Put in lots of #if statements to see if we can
              get this header compiling on non-Mac.
              * loader/FrameLoader.cpp: Added. Has non-Mac-specific bits of FrameLoader.
              * loader/mac/FrameLoader.mm: Moved some non-Mac-specific bits out.
      
              * loader/FrameLoaderClient.h: Added some ifdefs.
              * loader/WebDocumentLoader.h: Ditto.
              * loader/WebLoader.h: Ditto.
              * loader/WebMainResourceLoader.h: Ditto.
      
              * loader/mac/WebDocumentLoader.mm:
              (WebCore::DocumentLoader::isLoadingInAPISense):
              Rewrote to work without bridge, partly to remove the need for ObjC
              bridge type in the header, and also because we're tearing down the bridge.
      
              * loader/mac/WebMainResourceLoader.mm:
              (WebCore::MainResourceLoader::MainResourceLoader): Removed unused
              m_contentLength and m_bytesReceived.
              (WebCore::MainResourceLoader::didReceiveResponse): Ditto.
              (WebCore::MainResourceLoader::didReceiveData): Ditto.
      
              * bridge/mac/WebCoreFrameBridge.h: Removed doneProcessingData.
              * bridge/mac/WebCoreFrameBridge.mm: Ditto.
      
              * loader/mac/FormState.mm: Removed.
              * loader/FormState.cpp: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa7a4e37
  17. 27 Oct, 2006 1 commit
  18. 26 Oct, 2006 1 commit
    • ggaren's avatar
      WebCore: · ec05502c
      ggaren authored
              Reviewed by Darin, Maciej.
      
              Removed many uses of NSString *.
              Moved a few methods from WebCoreFrameBridge to FrameLoader, replacing 
              stringByCollapsingNonPrintingCharacters with a c++ equivalent.
              
              PLT says no performance regression.
              
              * WebCore.exp:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge receivedData:textEncodingName:]):
              * loader/mac/FrameLoader.h:
              * loader/mac/FrameLoader.mm:
              (WebCore::FrameLoader::setupForReplaceByMIMEType):
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::canShowMIMEType):
              (WebCore::FrameLoader::representationExistsForURLScheme):
              (WebCore::FrameLoader::generatedMIMETypeForURLScheme):
              (WebCore::FrameLoader::checkContentPolicy):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::invalidatePendingPolicyDecision):
              (WebCore::FrameLoader::checkNewWindowPolicy):
              (WebCore::FrameLoader::continueAfterNewWindowPolicy):
              (WebCore::FrameLoader::transitionToCommitted):
              (WebCore::FrameLoader::continueLoadRequestAfterNewWindowPolicy):
              (WebCore::FrameLoader::post):
              * loader/mac/WebDocumentLoader.h:
              * loader/mac/WebDocumentLoader.mm:
              (WebCore::DocumentLoader::doesProgressiveLoad):
              (WebCore::DocumentLoader::setupForReplaceByMIMEType):
              (WebCore::DocumentLoader::title):
              (WebCore::DocumentLoader::setOverrideEncoding):
              (WebCore::DocumentLoader::overrideEncoding):
              (WebCore::DocumentLoader::setTitle):
              * loader/mac/WebFrameLoaderClient.h:
              * loader/mac/WebMainResourceLoader.mm:
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
      
      WebKit:
      
              Reviewed by Darin, Maciej.
      
              Removed many uses of NSString * from WebCore.
              
              Changed a few files to ObjC++ for compatiblity with new WebCore methods
              taking WebCore::Strings as arguments.
              
              Added a static_cast to make the c++ compiler happy.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec05502c
  19. 25 Oct, 2006 2 commits
    • darin's avatar
      WebCore: · 7095f0f5
      darin authored
              Reviewed by Anders.
      
              - removed 55 methods from WebCoreFrameBridge
              - changed callers to use Frame directly instead
              - put FrameLoaderTypes.h types into the WebCore namespace
              - first steps to get FrameLoader.h ready for cross-platform duty
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/BrowserExtensionMac.mm:
              (WebCore::BrowserExtensionMac::createNewWindow):
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::loadRequest):
              (WebCore::FrameMac::startRedirectionTimer):
              (WebCore::FrameMac::stopRedirectionTimer):
              (WebCore::FrameMac::passSubframeEventToSubframe):
              (WebCore::FrameMac::handledOnloadEvents):
              (WebCore::FrameMac::isLoadTypeReload):
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge executionContextForView:]):
              (updateRenderingForBindings):
              (-[WebCoreFrameBridge canTargetLoadInFrame:]):
              (-[WebCoreFrameBridge forceLayoutAdjustingViewSize:]):
              (-[WebCoreFrameBridge forceLayoutWithMinimumPageWidth:maximumPageWidth:adjustingViewSize:]):
              (-[WebCoreFrameBridge installInFrame:]):
              (-[WebCoreFrameBridge numPendingOrLoadingRequests]):
              (-[WebCoreFrameBridge replaceSelectionWithNode:selectReplacement:smartReplace:matchStyle:]):
              (-[WebCoreFrameBridge baseWritingDirectionForSelectionStart]):
              (-[WebCoreFrameBridge dragOperationForDraggingInfo:]):
              (stringByCollapsingNonPrintingCharacters):
              (-[WebCoreFrameBridge startLoadingResource:withMethod:URL:customHeaders:]):
              (-[WebCoreFrameBridge startLoadingResource:withMethod:URL:customHeaders:postData:]):
              (-[WebCoreFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
              * loader/FrameLoaderTypes.h:
              * loader/mac/FrameLoader.h:
              * loader/mac/FrameLoader.mm:
              (WebCore::FrameLoader::FrameLoader):
              (WebCore::FrameLoader::setupForReplace):
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::activeDocumentLoader):
              (WebCore::FrameLoader::state):
              (WebCore::FrameLoader::setState):
              (WebCore::FrameLoader::clearProvisionalLoad):
              (WebCore::FrameLoader::markLoadComplete):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::receivedMainResourceError):
              (WebCore::FrameLoader::handleFallbackContent):
              (WebCore::FrameLoader::isLoadingMainFrame):
              (WebCore::FrameLoader::continueAfterNewWindowPolicy):
              (WebCore::FrameLoader::continueAfterNavigationPolicy):
              (WebCore::FrameLoader::continueAfterWillSubmitForm):
              (WebCore::FrameLoader::continueLoadRequestAfterNavigationPolicy):
              (WebCore::FrameLoader::transitionToCommitted):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::continueLoadRequestAfterNewWindowPolicy):
              (-[WebCoreFrameLoaderAsDelegate continueAfterNewWindowPolicy:]):
              (-[WebCoreFrameLoaderAsDelegate continueAfterNavigationPolicy:]):
              (-[WebCoreFrameLoaderAsDelegate continueAfterWillSubmitForm:]):
              * loader/mac/ImageDocumentMac.mm:
              (WebCore::finishImageLoad):
              * loader/mac/WebDocumentLoader.mm:
              (WebCore::DocumentLoader::isLoadingInAPISense):
              * loader/mac/WebMainResourceLoader.h:
              * loader/mac/WebMainResourceLoader.mm:
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
              (-[WebCoreMainResourceLoaderAsPolicyDelegate continueAfterContentPolicy:]):
              * loader/mac/WebSubresourceLoader.mm:
              (-[WebCoreSubresourceHandle initWithLoader:]):
              * platform/mac/ListBoxMac.mm:
              (-[WebCoreTableView keyDown:]):
              (-[WebCoreTableView keyUp:]):
              * platform/mac/WebCoreTextField.mm:
              (-[WebCoreTextFieldController textView:shouldHandleEvent:]):
      
      WebKit:
      
              Reviewed by Anders.
      
              - removed 55 methods from WebCoreFrameBridge
              - changed callers to use Frame directly instead
              - put FrameLoaderTypes.h types into the WebCore namespace
              - first steps to get FrameLoader.h ready for cross-platform duty
      
              * DefaultDelegates/WebDefaultContextMenuDelegate.m:
              (-[WebDefaultUIDelegate openNewWindowWithURL:element:]):
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView requestWithURLCString:]):
              (-[WebBaseNetscapePluginView loadPluginRequest:]):
              (-[WebBaseNetscapePluginView getVariable:value:]):
              * Plugins/WebNetscapePluginEmbeddedView.m:
              (-[WebNetscapePluginEmbeddedView didStart]):
              * Plugins/WebNetscapePluginStream.mm:
              * Plugins/WebPluginContainerCheck.m:
              (-[WebPluginContainerCheck _continueWithPolicy:]):
              (-[WebPluginContainerCheck _isForbiddenFileLoad]):
              * WebCoreSupport/WebEditorClient.mm:
              (WebEditorClient::shouldDeleteRange):
              (WebEditorClient::shouldShowDeleteInterface):
              * WebCoreSupport/WebFrameBridge.mm:
              (-[WebFrameBridge webView]):
              (-[WebFrameBridge finishInitializingWithFrameName:view:]):
              (-[WebFrameBridge createWindowWithURL:]):
              (-[WebFrameBridge viewForPluginWithURL:attributeNames:attributeValues:MIMEType:DOMElement:loadManually:]):
              (-[WebFrameBridge windowObjectCleared]):
              (-[WebFrameBridge createModalDialogWithURL:]):
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::dispatchCreatePage):
              (WebFrameLoaderClient::dispatchWillSubmitForm):
              * WebKit.xcodeproj/project.pbxproj:
              * WebView/WebArchiver.m:
              (+[WebArchiver archiveSelectionInFrame:]):
              * WebView/WebDataSource.mm:
              (-[WebDataSource _documentFragmentWithImageResource:]):
              (-[WebDataSource _imageElementWithImageResource:]):
              * WebView/WebEditingDelegatePrivate.h:
              * WebView/WebFrame.mm:
              (core):
              (kit):
              (-[WebFrame _createItemTreeWithTargetFrame:clippedAtTarget:]):
              (-[WebFrame _canCachePage]):
              (-[WebFrame _childFramesMatchItem:]):
              (-[WebFrame _URLsMatchItem:]):
              (-[WebFrame _loadItem:withLoadType:]):
              (-[WebFrame _recursiveGoToItem:fromItem:withLoadType:]):
              (-[WebFrame _viewWillMoveToHostWindow:]):
              (-[WebFrame _viewDidMoveToHostWindow]):
              (-[WebFrame _addChild:]):
              (-[WebFrame _saveDocumentAndScrollState]):
              (-[WebFrame _numPendingOrLoadingRequests:]):
              (-[WebFrame _reloadForPluginChanges]):
              (-[WebFrame _recursive_pauseNullEventsForAllNetscapePlugins]):
              (-[WebFrame _recursive_resumeNullEventsForAllNetscapePlugins]):
              (-[WebFrame _initWithWebFrameView:webView:coreFrame:]):
              (-[WebFrame _documentViews]):
              (-[WebFrame _updateBackground]):
              (-[WebFrame _unmarkAllMisspellings]):
              (-[WebFrame _hasSelection]):
              (-[WebFrame _atMostOneFrameHasSelection]):
              (-[WebFrame _findFrameWithSelection]):
              (-[WebFrame _frameLoader]):
              (-[WebFrame _isDescendantOfFrame:]):
              (-[WebFrame _setShouldCreateRenderers:]):
              (-[WebFrame _bodyBackgroundColor]):
              (-[WebFrame init]):
              (-[WebFrame initWithName:webFrameView:webView:]):
              (-[WebFrame dealloc]):
              (-[WebFrame finalize]):
              (-[WebFrame name]):
              (-[WebFrame webView]):
              (-[WebFrame DOMDocument]):
              (-[WebFrame frameElement]):
              (-[WebFrame findFrameNamed:]):
              (-[WebFrame parentFrame]):
              (-[WebFrame childFrames]):
              (-[WebFrame _invalidateCurrentItemPageCache]):
              (-[WebFrame _dispatchCreateWebViewWithRequest:]):
              (-[WebFrame _dispatchSourceFrame:willSubmitForm:withValues:submissionDecider:]):
              (-[WebFrame _prepareForDataSourceReplacement]):
              (-[WebFrame _provisionalLoadStarted]):
              * WebView/WebFrameInternal.h:
              * WebView/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation DOMDocument]):
              (-[WebHTMLRepresentation attributedText]):
              * WebView/WebHTMLView.m:
              (-[WebHTMLView _documentRange]):
              (-[WebHTMLView _documentFragmentWithPaths:]):
              (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:chosePlainText:]):
              (-[WebHTMLView _selectedRange]):
              (-[WebHTMLView _updateMouseoverWithEvent:]):
              (-[WebHTMLView _canEditRichly]):
              (-[WebHTMLView _hasSelection]):
              (-[WebHTMLView _hasSelectionOrInsertionPoint]):
              (-[WebHTMLView _hasInsertionPoint]):
              (-[WebHTMLView _isEditable]):
              (-[WebHTMLView _isSelectionInPasswordField]):
              (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
              (-[WebHTMLView _selectionDraggingImage]):
              (-[WebHTMLView _canIncreaseSelectionListLevel]):
              (-[WebHTMLView _canDecreaseSelectionListLevel]):
              (-[WebHTMLView _updateActiveState]):
              (-[NSArray readSelectionFromPasteboard:]):
              (-[NSArray validateUserInterfaceItem:]):
              (-[NSArray maintainsInactiveSelection]):
              (-[NSArray menuForEvent:]):
              (-[NSArray scrollWheel:]):
              (-[NSArray acceptsFirstMouse:]):
              (-[NSArray shouldDelayWindowOrderingForEvent:]):
              (-[NSArray mouseDown:]):
              (-[NSArray mouseDragged:]):
              (-[NSArray mouseUp:]):
              (-[NSArray keyDown:]):
              (-[NSArray keyUp:]):
              (-[NSArray centerSelectionInVisibleArea:]):
              (-[NSArray _selectionStartFontAttributesAsRTF]):
              (-[NSArray _emptyStyle]):
              (-[NSArray performKeyEquivalent:]):
              (-[NSArray indent:]):
              (-[NSArray outdent:]):
              (-[WebHTMLView cut:]):
              (-[WebHTMLView paste:]):
              (-[WebHTMLView _selectRangeInMarkedText:]):
              (-[WebTextCompleteController doCompletion]):
              (-[WebHTMLView selectionRect]):
              (-[WebHTMLView selectionImageForcingWhiteText:]):
              (-[WebHTMLView selectionImageRect]):
              (-[WebHTMLView attributedString]):
              (-[WebHTMLView _isMoveDrag]):
              (-[WebHTMLView concludeDragForDraggingInfo:actionMask:]):
              * WebView/WebPolicyDelegate.mm:
              (-[WebPolicyDecisionListener _usePolicy:]):
              (-[WebPolicyDecisionListener use]):
              (-[WebPolicyDecisionListener ignore]):
              (-[WebPolicyDecisionListener download]):
              (-[WebPolicyDecisionListener continue]):
              * WebView/WebScriptDebugDelegate.m:
              (-[WebScriptCallFrame _initWithFrame:initWithWebFrame:]):
              (-[WebScriptCallFrame globalObject]):
              * WebView/WebView.mm:
              (-[WebView _attachScriptDebuggerToAllFrames]):
              (-[WebView _detachScriptDebuggerFromAllFrames]):
              (-[WebView windowScriptObject]):
              (incrementFrame):
              (-[WebView searchFor:direction:caseSensitive:wrap:]):
              (-[WebView writeSelectionWithPasteboardTypes:toPasteboard:]):
              (-[WebView removeDragCaret]):
              (-[WebView setScriptDebugDelegate:]):
              (-[WebView scriptDebugDelegate]):
              (-[WebView shouldClose]):
              (-[WebView selectedDOMRange]):
              (-[WebView styleDeclarationWithText:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7095f0f5
    • ggaren's avatar
      WebCore: · 9fc148f1
      ggaren authored
              Reviewed by Adam.
      
              Renamed WebFrameLoader to FrameLoader, to match class name.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/FrameMac.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * loader/mac/FrameLoader.mm: Added.
              * loader/mac/IconLoaderMac.mm:
              * loader/mac/WebDocumentLoader.mm:
              * loader/mac/WebFrameLoader.h: Removed.
              * loader/mac/WebFrameLoader.mm: Removed.
              * loader/mac/WebLoader.mm:
              * loader/mac/WebMainResourceLoader.mm:
              * loader/mac/WebNetscapePlugInStreamLoader.mm:
              * loader/mac/WebSubresourceLoader.mm:
      
      WebKit:
      
              Reviewed by Adam.
      
              Renamed WebFrameLoader to FrameLoader, to match class name.
      
              * Plugins/WebBaseNetscapePluginView.mm:
              * Plugins/WebNetscapePluginStream.mm:
              * Plugins/WebPluginController.mm:
              * WebCoreSupport/WebFrameBridge.mm:
              * WebView/WebDataSource.mm:
              * WebView/WebFrame.mm:
              * WebView/WebPDFView.mm:
              * WebView/WebPolicyDelegate.mm:
              * WebView/WebView.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fc148f1
  20. 24 Oct, 2006 3 commits
    • darin's avatar
      WebCore: · 1473b919
      darin authored
              Reviewed by Anders.
      
              - converted WebFrameLoaderClient to C++
              - renamed frame->frameLoader() function to frame->loader()
              - renamed [bridge impl] to [bridge _frame]
              - removed some bridge methods
      
              * WebCore.exp: Added more exports.
              * WebCore.xcodeproj/project.pbxproj: Made FrameTree.h private instead of project-internal
              so it can be used in WebKit.
      
              * bridge/mac/BrowserExtensionMac.mm:
              (WebCore::BrowserExtensionMac::createNewWindow):
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::createFrame):
              (WebCore::FrameMac::didFirstLayout):
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject rendererForView:]):
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge _shouldAllowAccessFrom:]):
              (-[WebCoreFrameBridge canTargetLoadInFrame:]):
              (-[WebCoreFrameBridge setOpener:]):
              (-[WebCoreFrameBridge getData:andResponse:forURL:]):
              (-[WebCoreFrameBridge getAllResourceDatas:andResponses:]):
              (-[WebCoreFrameBridge setTitle:]):
              (-[WebCoreFrameBridge originalRequestURL]):
              (-[WebCoreFrameBridge isLoadTypeReload]):
              (-[WebCoreFrameBridge frameDetached]):
              (-[WebCoreFrameBridge tokenizerProcessedData]):
              (-[WebCoreFrameBridge receivedData:textEncodingName:]):
              (-[WebCoreFrameBridge objectLoadedFromCacheWithURL:response:data:]):
              (-[WebCoreFrameBridge reportClientRedirectToURL:delay:fireDate:lockHistory:isJavaScriptFormAction:]):
              (-[WebCoreFrameBridge reportClientRedirectCancelled:]):
              (-[WebCoreFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
              (-[WebCoreFrameBridge incomingReferrer]):
              (-[WebCoreFrameBridge isReloading]):
              (-[WebCoreFrameBridge handledOnloadEvents]):
              (-[WebCoreFrameBridge mainResourceURLResponse]):
              (-[WebCoreFrameBridge loadEmptyDocumentSynchronously]):
              (-[WebCoreFrameBridge _frame]):
              (-[WebCoreFrameBridge executionContextForView:]):
              * bridge/mac/WebCorePageBridge.mm:
              (-[WebCorePageBridge setMainFrame:]):
              * dom/Position.cpp:
              (WebCore::Position::upstream):
              * loader/mac/IconLoaderMac.mm:
              (IconLoader::notifyIconChanged):
              * loader/mac/WebDocumentLoader.mm:
              (WebCore::DocumentLoader::frameLoader):
              (WebCore::DocumentLoader::stopLoading):
              (WebCore::DocumentLoader::finishedLoading):
              (WebCore::DocumentLoader::setupForReplaceByMIMEType):
              * loader/mac/WebFormState.mm:
              (WebCore::FormState::FormState):
              * loader/mac/WebFrameLoader.h:
              * loader/mac/WebFrameLoader.mm:
              (WebCore::FrameLoader::~FrameLoader):
              (WebCore::FrameLoader::prepareForLoadStart):
              (WebCore::FrameLoader::finalSetupForReplace):
              (WebCore::FrameLoader::safeLoad):
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::startLoading):
              (WebCore::FrameLoader::stopLoadingSubframes):
              (WebCore::FrameLoader::stopLoading):
              (WebCore::FrameLoader::cancelPendingArchiveLoad):
              (WebCore::FrameLoader::defersCallbacksChanged):
              (WebCore::FrameLoader::setDefersCallbacks):
              (WebCore::FrameLoader::setDocumentLoader):
              (WebCore::FrameLoader::provisionalLoadStarted):
              (WebCore::FrameLoader::clearProvisionalLoad):
              (WebCore::FrameLoader::identifierForInitialRequest):
              (WebCore::FrameLoader::willSendRequest):
              (WebCore::FrameLoader::didReceiveAuthenticationChallenge):
              (WebCore::FrameLoader::didCancelAuthenticationChallenge):
              (WebCore::FrameLoader::didReceiveResponse):
              (WebCore::FrameLoader::didReceiveData):
              (WebCore::FrameLoader::didFinishLoad):
              (WebCore::FrameLoader::didFailToLoad):
              (WebCore::FrameLoader::privateBrowsingEnabled):
              (WebCore::FrameLoader::receivedMainResourceError):
              (WebCore::FrameLoader::clientRedirectCancelledOrFinished):
              (WebCore::FrameLoader::clientRedirected):
              (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
              (WebCore::FrameLoader::closeOldDataSources):
              (WebCore::FrameLoader::opened):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::download):
              (WebCore::FrameLoader::finishedLoading):
              (WebCore::FrameLoader::notifyIconChanged):
              (WebCore::FrameLoader::cancelledError):
              (WebCore::FrameLoader::fileDoesNotExistError):
              (WebCore::FrameLoader::willUseArchive):
              (WebCore::FrameLoader::isArchiveLoadPending):
              (WebCore::FrameLoader::handleUnimplementablePolicy):
              (WebCore::FrameLoader::cannotShowMIMEType):
              (WebCore::FrameLoader::interruptionForPolicyChangeError):
              (WebCore::FrameLoader::canShowMIMEType):
              (WebCore::FrameLoader::representationExistsForURLScheme):
              (WebCore::FrameLoader::generatedMIMETypeForURLScheme):
              (WebCore::FrameLoader::checkContentPolicy):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::reload):
              (WebCore::FrameLoader::didReceiveServerRedirectForProvisionalLoadForFrame):
              (WebCore::FrameLoader::finishedLoadingDocument):
              (WebCore::FrameLoader::committedLoad):
              (WebCore::FrameLoader::revertToProvisional):
              (WebCore::FrameLoader::setMainDocumentError):
              (WebCore::FrameLoader::mainReceivedCompleteError):
              (WebCore::FrameLoader::subframeIsLoading):
              (WebCore::FrameLoader::willChangeTitle):
              (WebCore::FrameLoader::didChangeTitle):
              (WebCore::FrameLoader::checkNewWindowPolicy):
              (WebCore::FrameLoader::continueAfterNewWindowPolicy):
              (WebCore::FrameLoader::checkNavigationPolicy):
              (WebCore::FrameLoader::continueAfterNavigationPolicy):
              (WebCore::FrameLoader::continueLoadRequestAfterNavigationPolicy):
              (WebCore::FrameLoader::didFirstLayout):
              (WebCore::FrameLoader::frameLoadCompleted):
              (WebCore::FrameLoader::transitionToCommitted):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::continueLoadRequestAfterNewWindowPolicy):
              (WebCore::FrameLoader::sendRemainingDelegateMessages):
              (WebCore::FrameLoader::requestFromDelegate):
              (WebCore::FrameLoader::post):
              (WebCore::FrameLoader::detachChildren):
              (WebCore::FrameLoader::detachFromParent):
              (WebCore::FrameLoader::addExtraFieldsToRequest):
              (WebCore::FrameLoader::actionInformation):
              (WebCore::FrameLoader::checkLoadComplete):
              (WebCore::FrameLoader::setClient):
              (WebCore::FrameLoader::client):
              (WebCore::FrameLoaderClient::~FrameLoaderClient):
              * loader/mac/WebFrameLoaderClient.h:
              * loader/mac/WebLoader.mm:
              (WebCore::WebResourceLoader::frameLoader):
              * loader/mac/WebSubresourceLoader.mm:
              (-[WebCoreSubresourceHandle initWithLoader:]):
              * page/Frame.cpp:
              (WebCore::Frame::loader):
              * page/Frame.h:
              * platform/mac/SliderMac.mm:
              (Slider::focusPolicy):
      
      WebKit:
      
              Reviewed by Anders.
      
              - converted WebFrameLoaderClient to C++
              - renamed frame->frameLoader() function to frame->loader()
              - renamed [bridge impl] to [bridge _frame]
              - removed some bridge methods
      
              * Plugins/WebNetscapePluginStream.mm:
              * WebCoreSupport/WebEditorClient.mm:
              * WebCoreSupport/WebFrameLoaderClient.h: Added.
              (WebFrameLoaderClient::webFrame):
              * WebCoreSupport/WebFrameLoaderClient.mm: Added.
              (WebFrameLoaderClient::detachFrameLoader):
              (WebFrameLoaderClient::hasWebView):
              (WebFrameLoaderClient::hasFrameView):
              (WebFrameLoaderClient::hasBackForwardList):
              (WebFrameLoaderClient::resetBackForwardList):
              (WebFrameLoaderClient::provisionalItemIsTarget):
              (WebFrameLoaderClient::loadProvisionalItemFromPageCache):
              (WebFrameLoaderClient::invalidateCurrentItemPageCache):
              (WebFrameLoaderClient::privateBrowsingEnabled):
              (WebFrameLoaderClient::makeDocumentView):
              (WebFrameLoaderClient::makeRepresentation):
              (WebFrameLoaderClient::setDocumentViewFromPageCache):
              (WebFrameLoaderClient::forceLayout):
              (WebFrameLoaderClient::forceLayoutForNonHTML):
              (WebFrameLoaderClient::updateHistoryForCommit):
              (WebFrameLoaderClient::updateHistoryForBackForwardNavigation):
              (WebFrameLoaderClient::updateHistoryForReload):
              (WebFrameLoaderClient::updateHistoryForStandardLoad):
              (WebFrameLoaderClient::updateHistoryForInternalLoad):
              (WebFrameLoaderClient::updateHistoryAfterClientRedirect):
              (WebFrameLoaderClient::setCopiesOnScroll):
              (WebFrameLoaderClient::tokenForLoadErrorReset):
              (WebFrameLoaderClient::resetAfterLoadError):
              (WebFrameLoaderClient::doNotResetAfterLoadError):
              (WebFrameLoaderClient::detachedFromParent1):
              (WebFrameLoaderClient::detachedFromParent2):
              (WebFrameLoaderClient::detachedFromParent3):
              (WebFrameLoaderClient::detachedFromParent4):
              (WebFrameLoaderClient::loadedFromPageCache):
              (WebFrameLoaderClient::download):
              (WebFrameLoaderClient::dispatchIdentifierForInitialRequest):
              (WebFrameLoaderClient::dispatchWillSendRequest):
              (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
              (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
              (WebFrameLoaderClient::dispatchDidReceiveResponse):
              (WebFrameLoaderClient::dispatchDidReceiveContentLength):
              (WebFrameLoaderClient::dispatchDidFinishLoading):
              (WebFrameLoaderClient::dispatchDidFailLoading):
              (WebFrameLoaderClient::dispatchDidHandleOnloadEvents):
              (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
              (WebFrameLoaderClient::dispatchDidCancelClientRedirect):
              (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
              (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):
              (WebFrameLoaderClient::dispatchWillClose):
              (WebFrameLoaderClient::dispatchDidReceiveIcon):
              (WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
              (WebFrameLoaderClient::dispatchDidReceiveTitle):
              (WebFrameLoaderClient::dispatchDidCommitLoad):
              (WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
              (WebFrameLoaderClient::dispatchDidFailLoad):
              (WebFrameLoaderClient::dispatchDidFinishLoad):
              (WebFrameLoaderClient::dispatchDidFirstLayout):
              (WebFrameLoaderClient::dispatchCreatePage):
              (WebFrameLoaderClient::dispatchShow):
              (WebFrameLoaderClient::dispatchDecidePolicyForMIMEType):
              (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
              (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
              (WebFrameLoaderClient::dispatchUnableToImplementPolicy):
              (WebFrameLoaderClient::dispatchWillSubmitForm):
              (WebFrameLoaderClient::dispatchDidLoadMainResource):
              (WebFrameLoaderClient::clearLoadingFromPageCache):
              (WebFrameLoaderClient::isLoadingFromPageCache):
              (WebFrameLoaderClient::revertToProvisionalState):
              (WebFrameLoaderClient::setMainDocumentError):
              (WebFrameLoaderClient::clearUnarchivingState):
              (WebFrameLoaderClient::progressStarted):
              (WebFrameLoaderClient::progressCompleted):
              (WebFrameLoaderClient::incrementProgress):
              (WebFrameLoaderClient::completeProgress):
              (WebFrameLoaderClient::setMainFrameDocumentReady):
              (WebFrameLoaderClient::startDownload):
              (WebFrameLoaderClient::willChangeTitle):
              (WebFrameLoaderClient::didChangeTitle):
              (WebFrameLoaderClient::committedLoad):
              (WebFrameLoaderClient::finishedLoading):
              (WebFrameLoaderClient::finalSetupForReplace):
              (WebFrameLoaderClient::cancelledError):
              (WebFrameLoaderClient::cannotShowURLError):
              (WebFrameLoaderClient::interruptForPolicyChangeError):
              (WebFrameLoaderClient::cannotShowMIMETypeError):
              (WebFrameLoaderClient::fileDoesNotExistError):
              (WebFrameLoaderClient::shouldFallBack):
              (WebFrameLoaderClient::mainFrameURL):
              (WebFrameLoaderClient::setDefersCallbacks):
              (WebFrameLoaderClient::willUseArchive):
              (WebFrameLoaderClient::isArchiveLoadPending):
              (WebFrameLoaderClient::cancelPendingArchiveLoad):
              (WebFrameLoaderClient::clearArchivedResources):
              (WebFrameLoaderClient::canHandleRequest):
              (WebFrameLoaderClient::canShowMIMEType):
              (WebFrameLoaderClient::representationExistsForURLScheme):
              (WebFrameLoaderClient::generatedMIMETypeForURLScheme):
              (WebFrameLoaderClient::elementForEvent):
              (WebFrameLoaderClient::createPolicyDecider):
              (WebFrameLoaderClient::frameLoadCompleted):
              (WebFrameLoaderClient::restoreScrollPositionAndViewState):
              (WebFrameLoaderClient::provisionalLoadStarted):
              (WebFrameLoaderClient::shouldTreatURLAsSameAsCurrent):
              (WebFrameLoaderClient::addHistoryItemForFragmentScroll):
              (WebFrameLoaderClient::didFinishLoad):
              (WebFrameLoaderClient::prepareForDataSourceReplacement):
              (WebFrameLoaderClient::createDocumentLoader):
              (WebFrameLoaderClient::setTitle):
              * WebKit.xcodeproj/project.pbxproj:
              * WebView/WebDataSource.mm:
              (-[WebDataSource webFrame]):
              * WebView/WebFrame.mm:
              (frame):
              (-[WebFrame _loadItem:withLoadType:]):
              (-[WebFrame _reloadForPluginChanges]):
              (-[WebFrame _initWithWebFrameView:webView:bridge:]):
              (-[WebFrame _frameLoader]):
              (-[WebFrame provisionalDataSource]):
              (-[WebFrame dataSource]):
              (-[WebFrame parentFrame]):
              (-[WebFrame _provisionalLoadStarted]):
              * WebView/WebFrameInternal.h:
              * WebView/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation finishedLoadingWithDataSource:]):
              * WebView/WebHTMLView.m:
              (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
              (-[NSArray validateUserInterfaceItem:]):
              (-[NSArray scrollWheel:]):
              (-[NSArray acceptsFirstMouse:]):
              (-[NSArray shouldDelayWindowOrderingForEvent:]):
              (-[NSArray _selectionStartFontAttributesAsRTF]):
              (-[NSArray changeBaseWritingDirection:]):
              (-[NSArray indent:]):
              (-[NSArray outdent:]):
              (-[WebHTMLView copy:]):
              (-[WebHTMLView cut:]):
              (-[WebHTMLView paste:]):
              * WebView/WebView.mm:
              (-[WebView _dashboardRegions]):
              (-[WebView setProhibitsMainFrameScrolling:]):
              (-[WebView _setInViewSourceMode:]):
              (-[WebView _inViewSourceMode]):
              (-[WebView setEditable:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1473b919
    • beidson's avatar
      Reviewed by Maciej · 34069ca0
      beidson authored
              Moved FrameLoader from WebCoreFrameBridge to Frame.  Frame.h/cpp have generic accessors to the FrameLoader itself
              and creation/deletion is currently managed in FrameMac.mm
      
              Besides explicitly commented-upon methods, most of the touched code simply changes to get the FrameLoader from the 
              frame instead of the bridge.
      
              The method [WebCoreFrameBridge frameLoader] remains but only for WebKit's use - No new WebCore code should make 
              use of it as its days are numbered!
      
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::FrameMac): Create the FrameLoader
              (WebCore::FrameMac::~FrameMac): Nuke it
              (WebCore::FrameMac::loadRequest):
      
              * bridge/mac/WebCoreFrameBridge.h: No longer holds an m_frameLoader
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge initMainFrameWithPage:withEditorClient:]): No longer creates the FrameLoader
              (-[WebCoreFrameBridge initSubframeWithOwnerElement:withEditorClient:]): Ditto
              (-[WebCoreFrameBridge clearFrame]): No longer tears down the FrameLoader
              (-[WebCoreFrameBridge setFrameLoaderClient:]):
              (-[WebCoreFrameBridge frameLoader]):
              (-[WebCoreFrameBridge setTitle:]):
              (-[WebCoreFrameBridge didFirstLayout]):
              (-[WebCoreFrameBridge notifyIconChanged:]):
              (-[WebCoreFrameBridge originalRequestURL]):
              (-[WebCoreFrameBridge isLoadTypeReload]):
              (-[WebCoreFrameBridge frameDetached]):
              (-[WebCoreFrameBridge tokenizerProcessedData]):
              (-[WebCoreFrameBridge receivedData:textEncodingName:]):
              (-[WebCoreFrameBridge objectLoadedFromCacheWithURL:response:data:]):
              (-[WebCoreFrameBridge reportClientRedirectToURL:delay:fireDate:lockHistory:isJavaScriptFormAction:]):
              (-[WebCoreFrameBridge reportClientRedirectCancelled:]):
              (-[WebCoreFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
              (-[WebCoreFrameBridge incomingReferrer]):
              (-[WebCoreFrameBridge isReloading]):
              (-[WebCoreFrameBridge handledOnloadEvents]):
              (-[WebCoreFrameBridge mainResourceURLResponse]):
              (-[WebCoreFrameBridge loadEmptyDocumentSynchronously]):
      
              * loader/mac/WebDocumentLoader.mm:
              (WebCore::DocumentLoader::frameLoader):
      
              * loader/mac/WebFrameLoader.mm:
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::stopLoadingSubframes):
              (WebCore::FrameLoader::defersCallbacksChanged):
              (WebCore::FrameLoader::setState):
              (WebCore::FrameLoader::closeOldDataSources):
              (WebCore::FrameLoader::subframeIsLoading):
              (WebCore::FrameLoader::continueLoadRequestAfterNewWindowPolicy):
              (WebCore::FrameLoader::post):
              (WebCore::FrameLoader::detachChildren):
              (WebCore::FrameLoader::checkLoadComplete):
      
              * loader/mac/WebLoader.mm:
              (WebCore::WebResourceLoader::frameLoader):
      
              * loader/mac/WebSubresourceLoader.mm:
              (-[WebCoreSubresourceHandle initWithLoader:]):
      
              * page/Frame.cpp:
              (WebCore::Frame::frameLoader):
              * page/Frame.h:
              * page/FramePrivate.h:
              (WebCore::FramePrivate::FramePrivate):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34069ca0
    • darin's avatar
      WebCore: · db26e8f7
      darin authored
              Reviewed by Geoff.
      
              - converted WebDocumentLoader to C++
      
              * WebCore.exp:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge setTitle:]):
              (-[WebCoreFrameBridge originalRequestURL]):
              (-[WebCoreFrameBridge receivedData:textEncodingName:]):
              (-[WebCoreFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
              (-[WebCoreFrameBridge incomingReferrer]):
              (-[WebCoreFrameBridge isReloading]):
              (-[WebCoreFrameBridge mainResourceURLResponse]):
              * loader/mac/WebDocumentLoader.h:
              * loader/mac/WebDocumentLoader.mm:
              (WebCore::DocumentLoader::DocumentLoader):
              (WebCore::DocumentLoader::frameLoader):
              (WebCore::DocumentLoader::~DocumentLoader):
              (WebCore::DocumentLoader::setMainResourceData):
              (WebCore::DocumentLoader::mainResourceData):
              (WebCore::DocumentLoader::originalRequest):
              (WebCore::DocumentLoader::originalRequestCopy):
              (WebCore::DocumentLoader::request):
              (WebCore::DocumentLoader::initialRequest):
              (WebCore::DocumentLoader::actualRequest):
              (WebCore::DocumentLoader::URL):
              (WebCore::DocumentLoader::unreachableURL):
              (WebCore::DocumentLoader::replaceRequestURLForAnchorScroll):
              (WebCore::DocumentLoader::setRequest):
              (WebCore::DocumentLoader::setResponse):
              (WebCore::DocumentLoader::isStopping):
              (WebCore::DocumentLoader::bridge):
              (WebCore::DocumentLoader::setMainDocumentError):
              (WebCore::DocumentLoader::mainDocumentError):
              (WebCore::DocumentLoader::clearErrors):
              (WebCore::DocumentLoader::mainReceivedError):
              (WebCore::DocumentLoader::stopLoading):
              (WebCore::DocumentLoader::setupForReplace):
              (WebCore::DocumentLoader::commitIfReady):
              (WebCore::DocumentLoader::finishedLoading):
              (WebCore::DocumentLoader::setCommitted):
              (WebCore::DocumentLoader::isCommitted):
              (WebCore::DocumentLoader::setLoading):
              (WebCore::DocumentLoader::isLoading):
              (WebCore::DocumentLoader::commitLoad):
              (WebCore::DocumentLoader::doesProgressiveLoad):
              (WebCore::DocumentLoader::receivedData):
              (WebCore::DocumentLoader::setupForReplaceByMIMEType):
              (WebCore::DocumentLoader::updateLoading):
              (WebCore::DocumentLoader::response):
              (WebCore::DocumentLoader::setFrame):
              (WebCore::DocumentLoader::attachToFrame):
              (WebCore::DocumentLoader::detachFromFrame):
              (WebCore::DocumentLoader::prepareForLoadStart):
              (WebCore::DocumentLoader::loadingStartedTime):
              (WebCore::DocumentLoader::setIsClientRedirect):
              (WebCore::DocumentLoader::isClientRedirect):
              (WebCore::DocumentLoader::setPrimaryLoadComplete):
              (WebCore::DocumentLoader::isLoadingInAPISense):
              (WebCore::DocumentLoader::addResponse):
              (WebCore::DocumentLoader::stopRecordingResponses):
              (WebCore::DocumentLoader::title):
              (WebCore::DocumentLoader::setLastCheckedRequest):
              (WebCore::DocumentLoader::lastCheckedRequest):
              (WebCore::DocumentLoader::triggeringAction):
              (WebCore::DocumentLoader::setTriggeringAction):
              (WebCore::DocumentLoader::responses):
              (WebCore::DocumentLoader::setOverrideEncoding):
              (WebCore::DocumentLoader::overrideEncoding):
              (WebCore::DocumentLoader::setTitle):
              (WebCore::DocumentLoader::URLForHistory):
              * loader/mac/WebFrameLoader.h:
              * loader/mac/WebFrameLoader.mm:
              (WebCore::FrameLoader::setupForReplaceByMIMEType):
              (WebCore::FrameLoader::finalSetupForReplace):
              (WebCore::FrameLoader::safeLoad):
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::startLoading):
              (WebCore::FrameLoader::stopLoading):
              (WebCore::FrameLoader::activeDocumentLoader):
              (WebCore::FrameLoader::addPlugInStreamLoader):
              (WebCore::FrameLoader::removePlugInStreamLoader):
              (WebCore::FrameLoader::addSubresourceLoader):
              (WebCore::FrameLoader::removeSubresourceLoader):
              (WebCore::FrameLoader::setDocumentLoader):
              (WebCore::FrameLoader::documentLoader):
              (WebCore::FrameLoader::setPolicyDocumentLoader):
              (WebCore::FrameLoader::provisionalDocumentLoader):
              (WebCore::FrameLoader::setProvisionalDocumentLoader):
              (WebCore::FrameLoader::setState):
              (WebCore::FrameLoader::clearProvisionalLoad):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::didReceiveResponse):
              (WebCore::FrameLoader::originalRequest):
              (WebCore::FrameLoader::receivedMainResourceError):
              (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
              (WebCore::FrameLoader::opened):
              (WebCore::FrameLoader::initialRequest):
              (WebCore::FrameLoader::receivedData):
              (WebCore::FrameLoader::setRequest):
              (WebCore::FrameLoader::isStopping):
              (WebCore::FrameLoader::setResponse):
              (WebCore::FrameLoader::mainReceivedError):
              (WebCore::FrameLoader::finishedLoading):
              (WebCore::FrameLoader::notifyIconChanged):
              (WebCore::FrameLoader::URL):
              (WebCore::FrameLoader::checkContentPolicy):
              (WebCore::FrameLoader::shouldReloadToHandleUnreachableURL):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::reload):
              (WebCore::FrameLoader::finishedLoadingDocument):
              (WebCore::FrameLoader::committedLoad):
              (WebCore::FrameLoader::revertToProvisional):
              (WebCore::FrameLoader::setMainDocumentError):
              (WebCore::FrameLoader::mainReceivedCompleteError):
              (WebCore::FrameLoader::subframeIsLoading):
              (WebCore::FrameLoader::willChangeTitle):
              (WebCore::FrameLoader::didChangeTitle):
              (WebCore::FrameLoader::checkNavigationPolicy):
              (WebCore::FrameLoader::continueLoadRequestAfterNavigationPolicy):
              (WebCore::FrameLoader::transitionToCommitted):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::detachFromParent):
              * loader/mac/WebFrameLoaderClient.h:
      
      WebKit:
      
              Reviewed by Geoff.
      
              - converted WebDocumentLoader to C++
      
              * Plugins/WebPluginController.mm:
              (-[WebPluginController pluginView:receivedResponse:]):
              * WebKit.xcodeproj/project.pbxproj:
              * WebView/WebDataSource.mm:
              (-[WebDataSourcePrivate dealloc]):
              (-[WebDataSource _mainDocumentError]):
              (-[WebDataSource _URL]):
              (-[WebDataSource _loadFromPageCache:]):
              (-[WebDataSource _bridge]):
              (-[WebDataSource _URLForHistory]):
              (-[WebDataSource _documentLoader]):
              (-[WebDataSource _initWithDocumentLoader:]):
              (-[WebDataSource initWithRequest:]):
              (-[WebDataSource data]):
              (-[WebDataSource webFrame]):
              (-[WebDataSource initialRequest]):
              (-[WebDataSource request]):
              (-[WebDataSource response]):
              (-[WebDataSource textEncodingName]):
              (-[WebDataSource isLoading]):
              (-[WebDataSource unreachableURL]):
              (-[WebDataSource webArchive]):
              * WebView/WebDataSourceInternal.h:
              * WebView/WebDocumentLoaderMac.h:
              * WebView/WebDocumentLoaderMac.mm:
              (WebDocumentLoaderMac::WebDocumentLoaderMac):
              (WebDocumentLoaderMac::setDataSource):
              (WebDocumentLoaderMac::dataSource):
              (WebDocumentLoaderMac::attachToFrame):
              (WebDocumentLoaderMac::detachFromFrame):
              * WebView/WebFrame.mm:
              (-[WebFrame _createItem:]):
              (-[WebFrame _loadItem:withLoadType:]):
              (-[WebFrame _addChild:]):
              (dataSource):
              (-[WebFrame _dataSourceForDocumentLoader:]):
              (-[WebFrame _addDocumentLoader:toUnarchiveState:]):
              (-[WebFrame loadArchive:]):
              (-[WebFrame _updateHistoryForReload]):
              (-[WebFrame _updateHistoryForStandardLoad]):
              (-[WebFrame _updateHistoryForInternalLoad]):
              (-[WebFrame _dispatchIdentifierForInitialRequest:fromDocumentLoader:]):
              (-[WebFrame _dispatchResource:willSendRequest:redirectResponse:fromDocumentLoader:]):
              (-[WebFrame _dispatchDidReceiveAuthenticationChallenge:forResource:fromDocumentLoader:]):
              (-[WebFrame _dispatchDidCancelAuthenticationChallenge:forResource:fromDocumentLoader:]):
              (-[WebFrame _dispatchResource:didReceiveResponse:fromDocumentLoader:]):
              (-[WebFrame _dispatchResource:didReceiveContentLength:fromDocumentLoader:]):
              (-[WebFrame _dispatchResource:didFinishLoadingFromDocumentLoader:]):
              (-[WebFrame _dispatchResource:didFailLoadingWithError:fromDocumentLoader:]):
              (-[WebFrame _dispatchDidLoadMainResourceForDocumentLoader:]):
              (-[WebFrame _clearLoadingFromPageCacheForDocumentLoader:]):
              (-[WebFrame _isDocumentLoaderLoadingFromPageCache:]):
              (-[WebFrame _makeRepresentationForDocumentLoader:]):
              (-[WebFrame _revertToProvisionalStateForDocumentLoader:]):
              (-[WebFrame _setMainDocumentError:forDocumentLoader:]):
              (-[WebFrame _clearUnarchivingStateForLoader:]):
              (-[WebFrame _willChangeTitleForDocument:]):
              (-[WebFrame _didChangeTitleForDocument:]):
              (-[WebFrame _finishedLoadingDocument:]):
              (-[WebFrame _committedLoadWithDocumentLoader:data:]):
              (-[WebFrame _documentLoader:setMainDocumentError:]):
              (-[WebFrame _finalSetupForReplaceWithDocumentLoader:]):
              (-[WebFrame _createDocumentLoaderWithRequest:]):
              (-[WebFrame _provisionalLoadStarted]):
              * WebView/WebFrameInternal.h:
              * WebView/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation title]):
              * WebView/WebView.mm:
              (-[WebView _mainFrameOverrideEncoding]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db26e8f7
  21. 23 Oct, 2006 1 commit
    • darin's avatar
      WebCore: · 95e399c9
      darin authored
              Reviewed by Maciej.
      
              - converted WebFrameLoader to C++
      
              * WebCore.exp: Added many new entry points for WebKit.
              * WebCore.xcodeproj/project.pbxproj: Made more files private (SPI).
      
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge initMainFrameWithPage:withEditorClient:]):
              (-[WebCoreFrameBridge initSubframeWithOwnerElement:withEditorClient:]):
              (-[WebCoreFrameBridge dealloc]):
              (-[WebCoreFrameBridge close]):
              (-[WebCoreFrameBridge clearFrame]):
              (-[WebCoreFrameBridge setFrameLoaderClient:]):
              (-[WebCoreFrameBridge frameLoader]):
              (-[WebCoreFrameBridge setTitle:]):
              (-[WebCoreFrameBridge didFirstLayout]):
              (-[WebCoreFrameBridge notifyIconChanged:]):
              (-[WebCoreFrameBridge originalRequestURL]):
              (-[WebCoreFrameBridge isLoadTypeReload]):
              (-[WebCoreFrameBridge frameDetached]):
              (-[WebCoreFrameBridge tokenizerProcessedData]):
              (-[WebCoreFrameBridge receivedData:textEncodingName:]):
              (-[WebCoreFrameBridge startLoadingResource:withMethod:URL:customHeaders:]):
              (-[WebCoreFrameBridge objectLoadedFromCacheWithURL:response:data:]):
              (-[WebCoreFrameBridge startLoadingResource:withMethod:URL:customHeaders:postData:]):
              (-[WebCoreFrameBridge reportClientRedirectToURL:delay:fireDate:lockHistory:isJavaScriptFormAction:]):
              (-[WebCoreFrameBridge reportClientRedirectCancelled:]):
              (-[WebCoreFrameBridge loadURL:referrer:reload:userGesture:target:triggeringEvent:form:formValues:]):
              (-[WebCoreFrameBridge postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]):
              (-[WebCoreFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
              (-[WebCoreFrameBridge incomingReferrer]):
              (-[WebCoreFrameBridge isReloading]):
              (-[WebCoreFrameBridge handledOnloadEvents]):
              (-[WebCoreFrameBridge mainResourceURLResponse]):
              (-[WebCoreFrameBridge loadEmptyDocumentSynchronously]):
              * loader/mac/WebDocumentLoader.h:
              * loader/mac/WebDocumentLoader.mm:
              (-[WebDocumentLoader frameLoader]):
              (-[WebDocumentLoader dealloc]):
              (-[WebDocumentLoader mainResourceData]):
              (-[WebDocumentLoader setRequest:]):
              (-[WebDocumentLoader bridge]):
              (-[WebDocumentLoader setMainDocumentError:]):
              (-[WebDocumentLoader mainReceivedError:complete:]):
              (-[WebDocumentLoader stopLoading]):
              (-[WebDocumentLoader setupForReplace]):
              (-[WebDocumentLoader commitIfReady]):
              (-[WebDocumentLoader finishedLoading]):
              (-[WebDocumentLoader commitLoadWithData:]):
              (-[WebDocumentLoader doesProgressiveLoadWithMIMEType:]):
              (-[WebDocumentLoader setupForReplaceByMIMEType:]):
              (-[WebDocumentLoader updateLoading]):
              (-[WebDocumentLoader setFrame:]):
              (-[WebDocumentLoader attachToFrame]):
              (-[WebDocumentLoader detachFromFrame]):
              (-[WebDocumentLoader prepareForLoadStart]):
              (-[WebDocumentLoader setPrimaryLoadComplete:]):
              (-[WebDocumentLoader isLoadingInAPISense]):
              (-[WebDocumentLoader setTitle:]):
              * loader/mac/WebFrameLoader.h:
              (WebCore::FrameLoader::frame):
              * loader/mac/WebFrameLoader.mm:
              (WebCore::FrameLoader::FrameLoader):
              (WebCore::FrameLoader::~FrameLoader):
              (WebCore::FrameLoader::activeDocumentLoader):
              (WebCore::FrameLoader::addPlugInStreamLoader):
              (WebCore::FrameLoader::removePlugInStreamLoader):
              (WebCore::FrameLoader::defersCallbacksChanged):
              (WebCore::FrameLoader::defersCallbacks):
              (WebCore::setAllDefersCallbacks):
              (WebCore::FrameLoader::setDefersCallbacks):
              (WebCore::cancelAll):
              (WebCore::FrameLoader::stopLoadingPlugIns):
              (WebCore::FrameLoader::isLoadingMainResource):
              (WebCore::FrameLoader::isLoadingSubresources):
              (WebCore::FrameLoader::isLoadingPlugIns):
              (WebCore::FrameLoader::isLoading):
              (WebCore::FrameLoader::stopLoadingSubresources):
              (WebCore::FrameLoader::addSubresourceLoader):
              (WebCore::FrameLoader::removeSubresourceLoader):
              (WebCore::FrameLoader::mainResourceData):
              (WebCore::FrameLoader::releaseMainResourceLoader):
              (WebCore::FrameLoader::cancelMainResourceLoad):
              (WebCore::FrameLoader::startLoadingMainResource):
              (WebCore::FrameLoader::stopLoading):
              (WebCore::FrameLoader::setDocumentLoader):
              (WebCore::FrameLoader::documentLoader):
              (WebCore::FrameLoader::setPolicyDocumentLoader):
              (WebCore::FrameLoader::provisionalDocumentLoader):
              (WebCore::FrameLoader::setProvisionalDocumentLoader):
              (WebCore::FrameLoader::state):
              (WebCore::FrameLoader::timeOfLastCompletedLoad):
              (WebCore::FrameLoader::provisionalLoadStarted):
              (WebCore::FrameLoader::setState):
              (WebCore::FrameLoader::clearProvisionalLoad):
              (WebCore::FrameLoader::markLoadComplete):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::stopLoadingSubframes):
              (WebCore::FrameLoader::startLoading):
              (WebCore::FrameLoader::setupForReplace):
              (WebCore::FrameLoader::identifierForInitialRequest):
              (WebCore::FrameLoader::willSendRequest):
              (WebCore::FrameLoader::didReceiveAuthenticationChallenge):
              (WebCore::FrameLoader::didCancelAuthenticationChallenge):
              (WebCore::FrameLoader::didReceiveResponse):
              (WebCore::FrameLoader::didReceiveData):
              (WebCore::FrameLoader::didFinishLoad):
              (WebCore::FrameLoader::didFailToLoad):
              (WebCore::FrameLoader::privateBrowsingEnabled):
              (WebCore::FrameLoader::originalRequest):
              (WebCore::FrameLoader::receivedMainResourceError):
              (WebCore::FrameLoader::clientRedirectCancelledOrFinished):
              (WebCore::FrameLoader::clientRedirected):
              (WebCore::FrameLoader::shouldReload):
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
              (WebCore::FrameLoader::closeOldDataSources):
              (WebCore::FrameLoader::opened):
              (WebCore::FrameLoader::initialRequest):
              (WebCore::FrameLoader::receivedData):
              (WebCore::FrameLoader::setRequest):
              (WebCore::FrameLoader::download):
              (WebCore::FrameLoader::bridge):
              (WebCore::FrameLoader::handleFallbackContent):
              (WebCore::FrameLoader::isStopping):
              (WebCore::FrameLoader::setupForReplaceByMIMEType):
              (WebCore::FrameLoader::setResponse):
              (WebCore::FrameLoader::mainReceivedError):
              (WebCore::FrameLoader::finishedLoading):
              (WebCore::FrameLoader::notifyIconChanged):
              (WebCore::FrameLoader::URL):
              (WebCore::FrameLoader::cancelledError):
              (WebCore::FrameLoader::fileDoesNotExistError):
              (WebCore::FrameLoader::willUseArchive):
              (WebCore::FrameLoader::isArchiveLoadPending):
              (WebCore::FrameLoader::cancelPendingArchiveLoad):
              (WebCore::FrameLoader::handleUnimplementablePolicy):
              (WebCore::FrameLoader::cannotShowMIMEType):
              (WebCore::FrameLoader::interruptionForPolicyChangeError):
              (WebCore::FrameLoader::isHostedByObjectElement):
              (WebCore::FrameLoader::isLoadingMainFrame):
              (WebCore::FrameLoader::canShowMIMEType):
              (WebCore::FrameLoader::representationExistsForURLScheme):
              (WebCore::FrameLoader::generatedMIMETypeForURLScheme):
              (WebCore::FrameLoader::checkNavigationPolicy):
              (WebCore::FrameLoader::checkContentPolicy):
              (WebCore::FrameLoader::cancelContentPolicyCheck):
              (WebCore::FrameLoader::shouldReloadToHandleUnreachableURL):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::reload):
              (WebCore::FrameLoader::didReceiveServerRedirectForProvisionalLoadForFrame):
              (WebCore::FrameLoader::finishedLoadingDocument):
              (WebCore::FrameLoader::committedLoad):
              (WebCore::FrameLoader::isReplacing):
              (WebCore::FrameLoader::setReplacing):
              (WebCore::FrameLoader::revertToProvisional):
              (WebCore::FrameLoader::setMainDocumentError):
              (WebCore::FrameLoader::mainReceivedCompleteError):
              (WebCore::FrameLoader::finalSetupForReplace):
              (WebCore::FrameLoader::prepareForLoadStart):
              (WebCore::FrameLoader::subframeIsLoading):
              (WebCore::FrameLoader::willChangeTitle):
              (WebCore::FrameLoader::didChangeTitle):
              (WebCore::FrameLoader::loadType):
              (WebCore::FrameLoader::invalidatePendingPolicyDecision):
              (WebCore::FrameLoader::checkNewWindowPolicy):
              (WebCore::FrameLoader::continueAfterNewWindowPolicy):
              (WebCore::FrameLoader::continueAfterNavigationPolicy):
              (WebCore::FrameLoader::continueAfterWillSubmitForm):
              (WebCore::FrameLoader::continueLoadRequestAfterNavigationPolicy):
              (WebCore::FrameLoader::didFirstLayout):
              (WebCore::FrameLoader::frameLoadCompleted):
              (WebCore::FrameLoader::firstLayoutDone):
              (WebCore::FrameLoader::isQuickRedirectComing):
              (WebCore::FrameLoader::transitionToCommitted):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::continueLoadRequestAfterNewWindowPolicy):
              (WebCore::FrameLoader::sendRemainingDelegateMessages):
              (WebCore::FrameLoader::requestFromDelegate):
              (WebCore::FrameLoader::post):
              (WebCore::FrameLoader::detachChildren):
              (WebCore::FrameLoader::detachFromParent):
              (WebCore::FrameLoader::addExtraFieldsToRequest):
              (WebCore::FrameLoader::safeLoad):
              (WebCore::FrameLoader::actionInformation):
              (WebCore::FrameLoader::checkLoadComplete):
              (WebCore::FrameLoader::setFrameLoaderClient):
              (WebCore::FrameLoader::client):
              (WebCore::FrameLoader::asDelegate):
              (-[WebCoreFrameLoaderAsDelegate initWithLoader:]):
              (-[WebCoreFrameLoaderAsDelegate detachFromLoader]):
              (-[WebCoreFrameLoaderAsDelegate continueFragmentScrollAfterNavigationPolicy:formState:]):
              (-[WebCoreFrameLoaderAsDelegate continueAfterNewWindowPolicy:]):
              (-[WebCoreFrameLoaderAsDelegate continueAfterNavigationPolicy:]):
              (-[WebCoreFrameLoaderAsDelegate continueAfterWillSubmitForm:]):
              (-[WebCoreFrameLoaderAsDelegate continueLoadRequestAfterNavigationPolicy:formState:]):
              (-[WebCoreFrameLoaderAsDelegate continueLoadRequestAfterNewWindowPolicy:frameName:formState:]):
              * loader/mac/WebLoader.h:
              (WebCore::WebResourceLoader::identifier):
              (WebCore::WebResourceLoader::reachedTerminalState):
              (WebCore::WebResourceLoader::cancelled):
              * loader/mac/WebLoader.mm:
              (WebCore::WebResourceLoader::WebResourceLoader):
              (WebCore::WebResourceLoader::releaseResources):
              (WebCore::WebResourceLoader::load):
              (WebCore::WebResourceLoader::frameLoader):
              (WebCore::WebResourceLoader::willSendRequest):
              (WebCore::WebResourceLoader::didReceiveAuthenticationChallenge):
              (WebCore::WebResourceLoader::didCancelAuthenticationChallenge):
              (WebCore::WebResourceLoader::didReceiveResponse):
              (WebCore::WebResourceLoader::didReceiveData):
              (WebCore::WebResourceLoader::didFinishLoading):
              (WebCore::WebResourceLoader::didFinishLoadingOnePart):
              (WebCore::WebResourceLoader::didFail):
              (WebCore::WebResourceLoader::willCacheResponse):
              (WebCore::WebResourceLoader::didCancel):
              (WebCore::WebResourceLoader::cancel):
              (WebCore::WebResourceLoader::cancelledError):
              (WebCore::WebResourceLoader::delegate):
              * loader/mac/WebMainResourceLoader.h:
              * loader/mac/WebMainResourceLoader.mm:
              (WebCore::MainResourceLoader::MainResourceLoader):
              (WebCore::MainResourceLoader::create):
              (WebCore::MainResourceLoader::receivedError):
              (WebCore::MainResourceLoader::didCancel):
              (WebCore::MainResourceLoader::interruptionForPolicyChangeError):
              (WebCore::MainResourceLoader::isPostOrRedirectAfterPost):
              (WebCore::MainResourceLoader::addData):
              (WebCore::MainResourceLoader::willSendRequest):
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
              (WebCore::MainResourceLoader::didReceiveResponse):
              (WebCore::MainResourceLoader::didReceiveData):
              (WebCore::MainResourceLoader::didFinishLoading):
              (WebCore::MainResourceLoader::didFail):
              (WebCore::MainResourceLoader::loadNow):
              (WebCore::MainResourceLoader::policyDelegate):
              * loader/mac/WebNetscapePlugInStreamLoader.h:
              * loader/mac/WebNetscapePlugInStreamLoader.mm:
              (WebCore::NetscapePlugInStreamLoader::NetscapePlugInStreamLoader):
              (WebCore::NetscapePlugInStreamLoader::create):
              (WebCore::NetscapePlugInStreamLoader::didReceiveResponse):
              (WebCore::NetscapePlugInStreamLoader::didFinishLoading):
              (WebCore::NetscapePlugInStreamLoader::didFail):
              (WebCore::NetscapePlugInStreamLoader::didCancel):
              * loader/mac/WebSubresourceLoader.h:
              * loader/mac/WebSubresourceLoader.mm:
              (-[WebCoreSubresourceHandle initWithLoader:]):
      
      WebKit:
      
              Reviewed by Maciej.
      
              - converted WebFrameLoader to C++
      
              * History/WebHistoryItem.m:
              (+[WebHistoryItem _closeObjectsInPendingPageCaches]):
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
              * Plugins/WebNetscapePluginStream.mm:
              (-[WebNetscapePluginStream start]):
              (-[WebNetscapePluginStream stop]):
              * Plugins/WebPluginController.mm:
              (-[WebPluginController webPlugInContainerLoadRequest:inFrame:]):
              (-[WebPluginController pluginView:receivedResponse:]):
              * WebCoreSupport/WebFrameBridge.h:
              * WebKit.xcodeproj/project.pbxproj:
              * WebView/WebDataSource.mm:
              (-[WebDataSource _loadFromPageCache:]):
              (-[WebDataSource _webView]):
              (-[WebDataSource webFrame]):
              * WebView/WebDocumentLoaderMac.h:
              * WebView/WebDocumentLoaderMac.m:
              (-[WebDocumentLoaderMac dealloc]):
              (-[WebDocumentLoaderMac attachToFrame]):
              (-[WebDocumentLoaderMac detachFromFrame]):
              * WebView/WebFrame.mm:
              (+[WebFrame _timeOfLastCompletedLoad]):
              (-[WebFrame _loadItem:withLoadType:]):
              (-[WebFrame _loadURL:referrer:intoChild:]):
              (-[WebFrame _currentBackForwardListItemToResetTo]):
              (-[WebFrame _itemForRestoringDocState]):
              (-[WebFrame _frameLoader]):
              (-[WebFrame _firstLayoutDone]):
              (-[WebFrame _loadType]):
              (-[WebFrame provisionalDataSource]):
              (-[WebFrame dataSource]):
              (-[WebFrame loadRequest:]):
              (-[WebFrame loadArchive:]):
              (-[WebFrame stopLoading]):
              (-[WebFrame reload]):
              (-[WebFrame _updateHistoryForCommit]):
              (-[WebFrame _updateHistoryForReload]):
              (-[WebFrame _updateHistoryForInternalLoad]):
              (-[WebFrame _deliverArchivedResourcesAfterDelay]):
              (-[WebFrame _willUseArchiveForRequest:originalURL:loader:]):
              (-[WebFrame _deliverArchivedResources]):
              (-[WebFrame _prepareForDataSourceReplacement]):
              (-[WebFrame _provisionalLoadStarted]):
              * WebView/WebFrameInternal.h:
              * WebView/WebHTMLView.m:
              (-[WebHTMLView _clearLastHitViewIfSelf]):
              (-[WebHTMLView _updateMouseoverWithEvent:]):
              (-[NSArray removeMouseMovedObserverUnconditionally]):
              (-[NSArray removeMouseMovedObserver]):
              (-[NSArray viewWillMoveToWindow:]):
              (-[NSArray viewDidMoveToWindow]):
              (-[WebHTMLView _canMakeTextSmaller]):
              (-[WebHTMLView _canMakeTextLarger]):
              (-[WebHTMLView _canMakeTextStandardSize]):
              * WebView/WebPDFView.mm:
              (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
              * WebView/WebView.mm:
              (-[WebView _close]):
              (-[WebView setDefersCallbacks:]):
              (-[WebView setCustomTextEncodingName:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95e399c9
  22. 11 Oct, 2006 1 commit
    • darin's avatar
      Reviewed by John. · 72fab966
      darin authored
              - some changes to prepare for converting more code to C++
      
              * bridge/mac/WebCoreFrameBridge.h: Added import of <Cocoa/Cocoa.h> so this header is
              self-sufficient.
      
              * bridge/mac/WebCoreViewFactory.h: Added forward declaration of the NSMenu class.
              Needed since the class is used in this header (for some work I have not landed yet).
      
              * loader/mac/LoaderNSURLExtras.h:
              * loader/mac/WebFormDataStream.h:
              Added extern "C" so this code can be used from C++.
      
              * loader/mac/LoaderNSURLExtras.m:
              * loader/mac/WebDataProtocol.mm:
              * loader/mac/WebDocumentLoader.mm:
              * loader/mac/WebFormDataStream.m:
              * loader/mac/WebLoader.mm:
              * loader/mac/WebMainResourceLoader.mm:
              * loader/mac/WebNetscapePlugInStreamLoader.mm:
              * loader/mac/WebPolicyDecider.mm:
              * loader/mac/WebSubresourceLoader.mm:
              Added missing includes of config.h.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72fab966
  23. 10 Oct, 2006 2 commits
    • darin's avatar
      Rubber stamped by Maciej. · ecce3e9e
      darin authored
              - convert many of the loader source files to Objective-C++ to prepare
                to convert some of them to C++
      
              * WebCore.xcodeproj/project.pbxproj:
              * loader/mac/WebDataProtocol.m: Removed.
              * loader/mac/WebDocumentLoader.m: Removed.
              * loader/mac/WebFormState.m: Removed.
              * loader/mac/WebFrameLoader.m: Removed.
              * loader/mac/WebLoader.m: Removed.
              * loader/mac/WebMainResourceLoader.m: Removed.
              * loader/mac/WebNetscapePlugInStreamLoader.m: Removed.
              * loader/mac/WebPolicyDecider.m: Removed.
              * loader/mac/WebSubresourceLoader.m: Removed.
              * loader/mac/WebDataProtocol.mm: Added.
              * loader/mac/WebDocumentLoader.mm: Added.
              * loader/mac/WebFormState.mm: Added.
              * loader/mac/WebFrameLoader.mm: Added.
              * loader/mac/WebLoader.mm: Added.
              * loader/mac/WebMainResourceLoader.mm: Added.
              * loader/mac/WebNetscapePlugInStreamLoader.mm: Added.
              * loader/mac/WebPolicyDecider.mm: Added.
              * loader/mac/WebSubresourceLoader.mm: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ecce3e9e
    • mjs's avatar
      WebCore: · b9c2c0e4
      mjs authored
              Rubber stamped by Eric.
      
              - moved a big honkin' pile of code over from WebKit; made minimal needed changes to compile
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * loader/mac/LoaderNSURLExtras.m: Added.
              * loader/mac/WebDataProtocol.m: Added.
              * loader/mac/WebDocumentLoader.m: Added.
              * loader/mac/WebFormDataStream.m: Added.
              * loader/mac/WebFrameLoader.m: Added.
              * loader/mac/WebLoader.m: Added.
              (-[NSURLProtocol didReceiveResponse:]):
              (-[NSURLProtocol didReceiveData:lengthReceived:allAtOnce:]):
              * loader/mac/WebMainResourceLoader.m: Added.
              (-[WebMainResourceLoader didReceiveResponse:]):
              * loader/mac/WebPolicyDecider.m: Added.
              * loader/mac/WebSubresourceLoader.h: Added.
              * loader/mac/WebSubresourceLoader.m: Added.
      
      WebKit:
      
              Rubber stamped by Eric.
              
              - moved a whole bunch of stuff over to WebCore - updated includes appropriately
      
              * Loader/LoaderNSURLExtras.h: Removed.
              * Loader/LoaderNSURLExtras.m: Removed.
              * Loader/WebDataProtocol.h: Removed.
              * Loader/WebDataProtocol.m: Removed.
              * Loader/WebDocumentLoader.h: Removed.
              * Loader/WebDocumentLoader.m: Removed.
              * Loader/WebFormDataStream.h: Removed.
              * Loader/WebFormDataStream.m: Removed.
              * Loader/WebFormState.h: Removed.
              * Loader/WebFormState.m: Removed.
              * Loader/WebFrameLoader.h: Removed.
              * Loader/WebFrameLoader.m: Removed.
              * Loader/WebFrameLoaderClient.h: Removed.
              * Loader/WebLoader.h: Removed.
              * Loader/WebLoader.m: Removed.
              * Loader/WebMainResourceLoader.h: Removed.
              * Loader/WebMainResourceLoader.m: Removed.
              * Loader/WebNetscapePlugInStreamLoader.h: Removed.
              * Loader/WebNetscapePlugInStreamLoader.m: Removed.
              * Loader/WebPlugInStreamLoaderDelegate.h: Removed.
              * Loader/WebPolicyDecider.h: Removed.
              * Loader/WebPolicyDecider.m: Removed.
              * Loader/WebSubresourceLoader.h: Removed.
              * Loader/WebSubresourceLoader.m: Removed.
              * Misc/WebNSURLExtras.m:
              * Plugins/WebBaseNetscapePluginStream.h:
              * Plugins/WebBaseNetscapePluginView.m:
              * Plugins/WebNetscapePluginStream.m:
              * Plugins/WebPluginContainerCheck.m:
              * Plugins/WebPluginController.m:
              * WebCoreSupport/WebFrameBridge.m:
              * WebKit.xcodeproj/project.pbxproj:
              * WebView/WebDataSource.m:
              * WebView/WebDocumentLoaderMac.h:
              * WebView/WebFrame.m:
              * WebView/WebFrameInternal.h:
              * WebView/WebHTMLView.m:
              * WebView/WebPolicyDeciderMac.h:
              * WebView/WebPolicyDelegate.m:
              * WebView/WebView.m:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9c2c0e4
  24. 09 Oct, 2006 3 commits
    • mjs's avatar
      Reviewed by Darin. · cbff2685
      mjs authored
              
              - wean WebFrameLoader from WebDataSource private stuff
              
              (actually just tweaks tot he above to make merging my future
              patches easier since Darin did a lot of the same stuff)
      
              * Loader/WebDocumentLoader.h:
              * Loader/WebDocumentLoader.m:
              (-[WebDocumentLoader URLForHistory]):
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader _loadRequest:archive:]):
              (-[WebFrameLoader revertToProvisionalWithDocumentLoader:]):
              (-[WebFrameLoader documentLoader:setMainDocumentError:]):
              (-[WebFrameLoader finalSetupForReplaceWithDocumentLoader:]):
              (-[WebFrameLoader didChangeTitleForDocument:]):
              (-[WebFrameLoader loadDocumentLoader:withLoadType:formState:]):
              * Loader/WebFrameLoaderClient.h:
              * WebView/WebDataSource.m:
              (-[WebDataSource _URLForHistory]):
              * WebView/WebFrame.m:
              (-[WebFrame _addDocumentLoader:toUnarchiveState:]):
              (-[WebFrame _revertToProvisionalStateForDocumentLoader:]):
              (-[WebFrame _setMainDocumentError:forDocumentLoader:]):
              (-[WebFrame _clearUnarchivingStateForLoader:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16936 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cbff2685
    • darin's avatar
      Reviewed, landed, tweaked a bit by Darin. · 2c2cb5ce
      darin authored
              - removed most uses of WebFrameBridge from WebFrameLoader
                (WebCoreFrameBridge use is OK)
      
              * Loader/WebDocumentLoader.m:
              (-[WebDocumentLoader bridge]):
              * Loader/WebFrameLoader.h:
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader initWithFrame:client:]):
              (-[WebFrameLoader defersCallbacksChanged]):
              (-[WebFrameLoader defersCallbacks]):
              (-[WebFrameLoader provisionalLoadStarted]):
              (-[WebFrameLoader stopLoadingSubframes]):
              (-[WebFrameLoader _willSendRequest:forResource:redirectResponse:]):
              (-[WebFrameLoader _receivedMainResourceError:complete:]):
              (-[WebFrameLoader loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]):
              (-[WebFrameLoader continueFragmentScrollAfterNavigationPolicy:formState:]):
              (-[WebFrameLoader closeOldDataSources]):
              (-[WebFrameLoader commitProvisionalLoad:]):
              (-[WebFrameLoader bridge]):
              (-[WebFrameLoader _handleFallbackContent]):
              (-[WebFrameLoader _finishedLoading]):
              (-[WebFrameLoader reload]):
              (-[WebFrameLoader checkNavigationPolicyForRequest:documentLoader:formState:andCall:withSelector:]):
              (-[WebFrameLoader continueLoadRequestAfterNavigationPolicy:formState:]):
              (-[WebFrameLoader transitionToCommitted:]):
              (-[WebFrameLoader continueLoadRequestAfterNewWindowPolicy:frameName:formState:]):
              (-[WebFrameLoader loadRequest:inFrameNamed:]):
              (-[WebFrameLoader postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]):
              (-[WebFrameLoader detachFromParent]):
              (-[WebFrameLoader addExtraFieldsToRequest:mainResource:alwaysFromRequest:]):
              (-[WebFrameLoader safeLoadURL:]):
              (-[WebFrameLoader actionInformationForLoadType:isFormSubmission:event:originalURL:]):
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge initMainFrameWithPage:frameName:view:]):
              (-[WebFrameBridge initSubframeWithOwnerElement:frameName:view:]):
              * WebView/WebFrame.m:
              (-[WebFrame _atMostOneFrameHasSelection]):
              * WebView/WebFrameInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c2cb5ce
    • mjs's avatar
      Reviewed by Oliver. · 79944165
      mjs authored
              
              - remove WebDataSource from the WebFrameLoader interface (and thereby from a lot of internal use)
      
              * Loader/WebDocumentLoader.h:
              * Loader/WebDocumentLoader.m:
              (-[WebDocumentLoader dealloc]):
              (-[WebDocumentLoader initialRequest]):
              (-[WebDocumentLoader URL]):
              (-[WebDocumentLoader unreachableURL]):
              * Loader/WebFrameLoader.h:
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader setState:]):
              (-[WebFrameLoader startLoading]):
              (-[WebFrameLoader startProvisionalLoad:]):
              (-[WebFrameLoader clientRedirectedTo:delay:fireDate:lockHistory:isJavaScriptFormAction:]):
              (-[WebFrameLoader loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]):
              (-[WebFrameLoader opened]):
              (-[WebFrameLoader commitProvisionalLoad:]):
              (-[WebFrameLoader initialRequest]):
              (-[WebFrameLoader _finishedLoading]):
              (-[WebFrameLoader _notifyIconChanged:]):
              (-[WebFrameLoader _URL]):
              (-[WebFrameLoader willUseArchiveForRequest:originalURL:loader:]):
              (-[WebFrameLoader _checkNavigationPolicyForRequest:andCall:withSelector:]):
              (-[WebFrameLoader shouldReloadToHandleUnreachableURLFromRequest:]):
              (-[WebFrameLoader _loadRequest:archive:]):
              (-[WebFrameLoader _loadRequest:triggeringAction:loadType:formState:]):
              (-[WebFrameLoader _reloadAllowingStaleDataWithOverrideEncoding:]):
              (-[WebFrameLoader reload]):
              (-[WebFrameLoader checkNavigationPolicyForRequest:documentLoader:formState:andCall:withSelector:]):
              (-[WebFrameLoader continueLoadRequestAfterNavigationPolicy:formState:]):
              (-[WebFrameLoader loadDocumentLoader:withLoadType:formState:]):
              (-[WebFrameLoader frameLoadCompleted]):
              (-[WebFrameLoader transitionToCommitted:]):
              (-[WebFrameLoader checkLoadCompleteForThisFrame]):
              (-[WebFrameLoader safeLoadURL:]):
              * Loader/WebFrameLoaderClient.h:
              * Plugins/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge originalRequestURL]):
              * WebView/WebDataSource.m:
              (-[WebDataSource _URL]):
              (-[WebDataSource dealloc]):
              (-[WebDataSource initialRequest]):
              (-[WebDataSource unreachableURL]):
              * WebView/WebFrame.m:
              (-[WebFrame _loadItem:withLoadType:]):
              (-[WebFrame _prepareForDataSourceReplacement]):
              (-[WebFrame provisionalDataSource]):
              (-[WebFrame dataSource]):
              (-[WebFrame _makeDocumentView]):
              (-[WebFrame _updateHistoryForReload]):
              (-[WebFrame _updateHistoryForStandardLoad]):
              (-[WebFrame _updateHistoryForInternalLoad]):
              (-[WebFrame _forceLayoutForNonHTML]):
              (-[WebFrame _clearLoadingFromPageCacheForDocumentLoader:]):
              (-[WebFrame _isDocumentLoaderLoadingFromPageCache:]):
              (-[WebFrame _archivedSubresourceForURL:fromDocumentLoader:]):
              (-[WebFrame _makeRepresentationForDocumentLoader:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79944165
  25. 08 Oct, 2006 4 commits
    • mjs's avatar
      WebCore: · 544a5b4e
      mjs authored
              Reviewed by Darin.
      
              - more code laundering - add wkSupportsMultipartXMixedReplace
      
              * WebCore.exp:
              * platform/mac/WebCoreSystemInterface.h:
              * platform/mac/WebCoreSystemInterface.mm:
      
      WebKit:
      
              Reviewed by Darin.
              
              - avoid need for WebKitSystemInterface in loader code, via WebCore cover for wkSupportsMultipartXMixedReplace
      
              * Loader/WebDocumentLoader.m:
              (-[WebDocumentLoader initWithRequest:]):
              * Loader/WebMainResourceLoader.m:
              * Loader/WebSubresourceLoader.m:
              (+[WebSubresourceLoader startLoadingResource:withRequest:customHeaders:referrer:forFrameLoader:]):
              * WebCoreSupport/WebSystemInterface.m:
              (InitWebCoreSystemInterface):
              * WebView/WebDataSource.m:
              (-[WebDataSource _initWithDocumentLoader:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      544a5b4e
    • mjs's avatar
      Reviewed by Darin. · 8e9d51c7
      mjs authored
              
              - move remaining movable data fields from WebFrameLoader to WebFrame
      
              * Loader/WebDocumentLoadState.m:
              (-[WebDocumentLoadState commitIfReady]):
              * Loader/WebFrameLoader.h:
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader provisionalLoadStarted]):
              (-[WebFrameLoader _setState:]):
              (-[WebFrameLoader stopLoadingSubframes]):
              (-[WebFrameLoader stopLoading]):
              (-[WebFrameLoader startLoading]):
              (-[WebFrameLoader _receivedMainResourceError:complete:]):
              (-[WebFrameLoader clientRedirectCancelledOrFinished:]):
              (-[WebFrameLoader clientRedirectedTo:delay:fireDate:lockHistory:isJavaScriptFormAction:]):
              (-[WebFrameLoader shouldReloadForCurrent:andDestination:]):
              (-[WebFrameLoader loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]):
              (-[WebFrameLoader continueFragmentScrollAfterNavigationPolicy:formState:]):
              (-[WebFrameLoader closeOldDataSources]):
              (-[WebFrameLoader commitProvisionalLoad:]):
              (-[WebFrameLoader continueLoadRequestAfterNavigationPolicy:formState:]):
              (-[WebFrameLoader isQuickRedirectComing]):
              * Loader/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameBridge.h:
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge frameLoader]):
              (-[WebFrameBridge setTitle:]):
              (-[WebFrameBridge reportClientRedirectToURL:delay:fireDate:lockHistory:isJavaScriptFormAction:]):
              (-[WebFrameBridge reportClientRedirectCancelled:]):
              (-[WebFrameBridge loadURL:referrer:reload:userGesture:target:triggeringEvent:form:formValues:]):
              * WebView/WebDataSource.m:
              (-[WebDataSource _loadFromPageCache:]):
              * WebView/WebFrame.m:
              (-[NSView setWebFrame::]):
              (-[WebFrame _addHistoryItemForFragmentScroll]):
              (-[WebFrame _didFinishLoad]):
              (-[WebFrame _provisionalLoadStarted]):
              (-[WebFrame _checkLoadCompleteForThisFrame]):
              (-[WebFrame _loadItem:withLoadType:]):
              (-[WebFrame _loadURL:referrer:intoChild:]):
              (-[WebFrame _frameLoadCompleted]):
              (-[WebFrame stopLoading]):
              (-[WebFrame _invalidateCurrentItemPageCache]):
              * WebView/WebFrameInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e9d51c7
    • darin's avatar
      Rubber stamped by Maciej. · 674e1906
      darin authored
              - changed "document load state" to "document loader"
      
              * Loader/WebDocumentLoadState.h: Removed.
              * Loader/WebDocumentLoadState.m: Removed.
              * Loader/WebDocumentLoader.h: Added.
              * Loader/WebDocumentLoader.m: Added.
              (-[WebDocumentLoader setMainDocumentError:]):
              (-[WebDocumentLoader mainReceivedError:complete:]):
              (-[WebDocumentLoader finishedLoading]):
              (-[WebDocumentLoader commitLoadWithData:]):
              (-[WebDocumentLoader setupForReplaceByMIMEType:]):
              (-[WebDocumentLoader updateLoading]):
              (-[WebDocumentLoader setTitle:]):
              * Loader/WebFrameLoader.h:
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader dealloc]):
              (-[WebFrameLoader activeDocumentLoader]):
              (-[WebFrameLoader activeDataSource]):
              (-[WebFrameLoader addPlugInStreamLoader:]):
              (-[WebFrameLoader removePlugInStreamLoader:]):
              (-[WebFrameLoader addSubresourceLoader:]):
              (-[WebFrameLoader removeSubresourceLoader:]):
              (-[WebFrameLoader dataSource]):
              (-[WebFrameLoader setDocumentLoader:]):
              (-[WebFrameLoader documentLoader]):
              (-[WebFrameLoader policyDataSource]):
              (-[WebFrameLoader setPolicyDocumentLoader:]):
              (-[WebFrameLoader clearDataSource]):
              (-[WebFrameLoader provisionalDataSource]):
              (-[WebFrameLoader provisionalDocumentLoader]):
              (-[WebFrameLoader setProvisionalDocumentLoader:]):
              (-[WebFrameLoader _clearProvisionalDataSource]):
              (-[WebFrameLoader _setState:]):
              (-[WebFrameLoader clearProvisionalLoad]):
              (-[WebFrameLoader commitProvisionalLoad]):
              (-[WebFrameLoader stopLoading]):
              (-[WebFrameLoader startLoading]):
              (-[WebFrameLoader startProvisionalLoad:]):
              (-[WebFrameLoader setupForReplace]):
              (-[WebFrameLoader _didReceiveResponse:forResource:]):
              (-[WebFrameLoader _originalRequest]):
              (-[WebFrameLoader _receivedMainResourceError:complete:]):
              (-[WebFrameLoader _receivedData:]):
              (-[WebFrameLoader _setRequest:]):
              (-[WebFrameLoader _isStopping]):
              (-[WebFrameLoader _setupForReplaceByMIMEType:]):
              (-[WebFrameLoader _setResponse:]):
              (-[WebFrameLoader _mainReceivedError:complete:]):
              (-[WebFrameLoader _finishedLoading]):
              (-[WebFrameLoader _checkContentPolicyForMIMEType:andCall:withSelector:]):
              (-[WebFrameLoader _loadRequest:archive:]):
              (-[WebFrameLoader _loadRequest:triggeringAction:loadType:formState:]):
              (-[WebFrameLoader _reloadAllowingStaleDataWithOverrideEncoding:]):
              (-[WebFrameLoader reload]):
              (-[WebFrameLoader finishedLoadingDocument:]):
              (-[WebFrameLoader committedLoadWithDocumentLoader:data:]):
              (-[WebFrameLoader revertToProvisionalWithDocumentLoader:]):
              (-[WebFrameLoader documentLoader:setMainDocumentError:]):
              (-[WebFrameLoader documentLoader:mainReceivedCompleteError:]):
              (-[WebFrameLoader finalSetupForReplaceWithDocumentLoader:]):
              (-[WebFrameLoader willChangeTitleForDocument:]):
              (-[WebFrameLoader didChangeTitleForDocument:]):
              (-[WebFrameLoader checkNavigationPolicyForRequest:dataSource:formState:andCall:withSelector:]):
              (-[WebFrameLoader continueLoadRequestAfterNavigationPolicy:formState:]):
              (-[WebFrameLoader loadDataSource:withLoadType:formState:]):
              * Plugins/WebPluginController.m:
              (-[WebPluginController pluginView:receivedResponse:]):
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge setTitle:]):
              (-[WebFrameBridge receivedData:textEncodingName:]):
              * WebKit.xcodeproj/project.pbxproj:
              * WebView/WebDataSource.m:
              (-[WebDataSourcePrivate dealloc]):
              (-[WebDataSource _mainDocumentError]):
              (-[WebDataSource _loadFromPageCache:]):
              (-[WebDataSource _bridge]):
              (-[WebDataSource _webView]):
              (-[WebDataSource _URLForHistory]):
              (-[WebDataSource _documentLoader]):
              (-[WebDataSource _initWithDocumentLoader:]):
              (-[WebDataSource initWithRequest:]):
              (-[WebDataSource dealloc]):
              (-[WebDataSource data]):
              (-[WebDataSource webFrame]):
              (-[WebDataSource initialRequest]):
              (-[WebDataSource request]):
              (-[WebDataSource response]):
              (-[WebDataSource textEncodingName]):
              (-[WebDataSource isLoading]):
              (-[WebDataSource unreachableURL]):
              (-[WebDataSource webArchive]):
              * WebView/WebDataSourceInternal.h:
              * WebView/WebDocumentLoadStateMac.h: Removed.
              * WebView/WebDocumentLoadStateMac.m: Removed.
              * WebView/WebDocumentLoaderMac.h: Added.
              * WebView/WebDocumentLoaderMac.m: Added.
              * WebView/WebFrame.m:
              (-[WebFrame _createItem:]):
              (-[WebFrame _receivedMainResourceError:]):
              (-[WebFrame _transitionToCommitted:]):
              (-[WebFrame _opened]):
              (-[WebFrame _checkLoadCompleteForThisFrame]):
              (-[WebFrame _loadItem:withLoadType:]):
              (-[WebFrame _continueFragmentScrollAfterNavigationPolicy:formState:]):
              (-[WebFrame _loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]):
              (-[WebFrame _addChild:]):
              (-[WebFrame _provisionalLoadStarted]):
              (-[WebFrame _dataSourceForDocumentLoader:]):
              (-[WebFrame _createDocumentLoaderWithRequest:]):
              * WebView/WebFrameInternal.h:
              * WebView/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation title]):
              * WebView/WebView.m:
              (-[WebView _mainFrameOverrideEncoding]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      674e1906
    • darin's avatar
      Reviewed by Maciej. · ba7e8a63
      darin authored
              - fix two recently introduced leaks: one of an NSString, the other of a WebDataSource
      
              * Loader/WebDocumentLoadState.m: (-[WebDocumentLoadState setTitle:]):
              Rearranged code to avoid storage leak in case of identical title.
      
              * Loader/WebFrameLoader.h: Removed _setPolicyDocumentLoadState: method
              from the header.
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader _setPolicyDocumentLoadState:]): Added logic to call detachFromFrameLoader
              as needed if this load state is going away rather than moving on to become the provisional
              load state.
              (-[WebFrameLoader shouldReloadToHandleUnreachableURLFromRequest:]): Tweaked formatting.
              (-[WebFrameLoader _loadRequest:archive:]): Added an assertion.
              (-[WebFrameLoader _loadRequest:triggeringAction:loadType:formState:]): Added an assertion.
              (-[WebFrameLoader _reloadAllowingStaleDataWithOverrideEncoding:]): Added an assertion.
              (-[WebFrameLoader reload]): Added an assertion.
              (-[WebFrameLoader loadDataSource:withLoadType:formState:]): Added a local variable to avoid
              calling _documentLoadState over and over again.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba7e8a63
  26. 07 Oct, 2006 1 commit
  27. 06 Oct, 2006 2 commits
    • mjs's avatar
      Reviewed by Darin. · b64ba72f
      mjs authored
              
              - move remaining movable WebDataSource fields to WebDocumentLoadState
      
              * Loader/WebDocumentLoadState.h:
              * Loader/WebDocumentLoadState.m:
              (-[WebDocumentLoadState dealloc]):
              (-[WebDocumentLoadState isLoadingInAPISense]):
              (-[WebDocumentLoadState addResponse:]):
              (-[WebDocumentLoadState stopRecordingResponses]):
              (-[WebDocumentLoadState title]):
              (-[WebDocumentLoadState setLastCheckedRequest:]):
              (-[WebDocumentLoadState lastCheckedRequest]):
              (-[WebDocumentLoadState triggeringAction]):
              (-[WebDocumentLoadState setTriggeringAction:]):
              (-[WebDocumentLoadState responses]):
              (-[WebDocumentLoadState setOverrideEncoding:]):
              (-[WebDocumentLoadState overrideEncoding]):
              (-[WebDocumentLoadState setTitle:]):
              * Loader/WebFrameLoader.h:
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader _setState:]):
              (-[WebFrameLoader _loadRequest:archive:]):
              (-[WebFrameLoader _loadRequest:triggeringAction:loadType:formState:]):
              (-[WebFrameLoader _reloadAllowingStaleDataWithOverrideEncoding:]):
              (-[WebFrameLoader reload]):
              (-[WebFrameLoader willChangeTitleForDocumentLoadState:]):
              (-[WebFrameLoader didChangeTitleForDocumentLoadState:]):
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge setTitle:]):
              (-[WebFrameBridge receivedData:textEncodingName:]):
              * WebView/WebDataSource.m:
              (-[WebDataSourcePrivate dealloc]):
              (-[WebDataSource _didReceiveResponse:forResource:]):
              (-[WebDataSource textEncodingName]):
              * WebView/WebDataSourceInternal.h:
              * WebView/WebFrame.m:
              (-[WebFrame _opened]):
              (-[WebFrame _checkNavigationPolicyForRequest:dataSource:formState:andCall:withSelector:]):
              (-[WebFrame _loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]):
              (-[WebFrame _addChild:]):
              (-[WebFrame _loadDataSource:withLoadType:formState:]):
              * WebView/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation title]):
              * WebView/WebView.m:
              (-[WebView _mainFrameOverrideEncoding]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b64ba72f
    • mjs's avatar
      Reviewed by Anders. · 8cc13a49
      mjs authored
              
              - moved more data from WebDataSource to WebDocumentLoadState
      
              * Loader/WebDocumentLoadState.h:
              * Loader/WebDocumentLoadState.m:
              (-[WebDocumentLoadState commitLoadWithData:]):
              (-[WebDocumentLoadState prepareForLoadStart]):
              (-[WebDocumentLoadState loadingStartedTime]):
              (-[WebDocumentLoadState setIsClientRedirect:]):
              (-[WebDocumentLoadState isClientRedirect]):
              (-[WebDocumentLoadState setPrimaryLoadComplete:]):
              (-[WebDocumentLoadState isLoadingInAPISense]):
              * Loader/WebFrameLoader.h:
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader _setState:]):
              (-[WebFrameLoader _finishedLoading]):
              (-[WebFrameLoader documentLoadState:mainReceivedCompleteError:]):
              (-[WebFrameLoader prepareForLoadStart]):
              (-[WebFrameLoader subframeIsLoading]):
              * WebView/WebDataSource.m:
              (-[WebDataSource _fileWrapperForURL:]):
              (-[WebDataSource _startLoading]):
              (-[WebDataSource _loadFromPageCache:]):
              (-[WebDataSource isLoading]):
              * WebView/WebDataSourceInternal.h:
              * WebView/WebFrame.m:
              (-[WebFrame _transitionToCommitted:]):
              (-[WebFrame _opened]):
              (-[WebFrame _loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8cc13a49