WebCore:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 28 Jan 2007 04:34:26 +0000 (04:34 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 28 Jan 2007 04:34:26 +0000 (04:34 +0000)
        Reviewed by Adam.

        - fix http://bugs.webkit.org/show_bug.cgi?id=12260
          Windows platform build is not maintained

        * loader/win/FrameLoaderWin.cpp:
        * platform/network/win/ResourceHandleWin.cpp:
        * platform/win/TemporaryLinkStubs.cpp:
        (WebCore::contextMenuItemTagOpenLinkInNewWindow):
        (WebCore::contextMenuItemTagDownloadLinkToDisk):
        (WebCore::contextMenuItemTagCopyLinkToClipboard):
        (WebCore::contextMenuItemTagOpenImageInNewWindow):
        (WebCore::contextMenuItemTagDownloadImageToDisk):
        (WebCore::contextMenuItemTagCopyImageToClipboard):
        (WebCore::contextMenuItemTagOpenFrameInNewWindow):
        (WebCore::contextMenuItemTagCopy):
        (WebCore::contextMenuItemTagGoBack):
        (WebCore::contextMenuItemTagGoForward):
        (WebCore::contextMenuItemTagStop):
        (WebCore::contextMenuItemTagReload):
        (WebCore::contextMenuItemTagCut):
        (WebCore::contextMenuItemTagPaste):
        (WebCore::contextMenuItemTagNoGuessesFound):
        (WebCore::contextMenuItemTagIgnoreSpelling):
        (WebCore::contextMenuItemTagLearnSpelling):
        (WebCore::contextMenuItemTagSearchWeb):
        (WebCore::contextMenuItemTagLookUpInDictionary):
        (WebCore::contextMenuItemTagOpenLink):
        (WebCore::contextMenuItemTagIgnoreGrammar):
        (WebCore::contextMenuItemTagSpellingMenu):
        (WebCore::contextMenuItemTagShowSpellingPanel):
        (WebCore::contextMenuItemTagCheckSpelling):
        (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
        (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
        (WebCore::contextMenuItemTagFontMenu):
        (WebCore::contextMenuItemTagBold):
        (WebCore::contextMenuItemTagItalic):
        (WebCore::contextMenuItemTagUnderline):
        (WebCore::contextMenuItemTagOutline):
        (WebCore::contextMenuItemTagWritingDirectionMenu):
        (WebCore::contextMenuItemTagDefaultDirection):
        (WebCore::contextMenuItemTagLeftToRight):
        (WebCore::contextMenuItemTagRightToLeft):
        (WebCore::DocumentLoader::unreachableURL):
        (WebCore::FrameLoader::redirectDataToPlugin):
        (WebCore::FrameLoader::partClearedInBegin):
        (WebCore::FrameLoader::createPlugin):

WebKit:

        Reviewed by Adam.

        - fix http://bugs.webkit.org/show_bug.cgi?id=12260
          Windows platform build is not maintained

        * COM/ChromeClientWin.cpp:
        (ChromeClientWin::canTakeFocus):
        (ChromeClientWin::takeFocus):
        * COM/ChromeClientWin.h:
        * COM/ContextMenuClientWin.cpp:
        (ContextMenuClientWin::getCustomMenuFromDefaultItems):
        (ContextMenuClientWin::searchWithGoogle):
        * COM/ContextMenuClientWin.h:
        * COM/WebFrameLoaderClient.cpp:
        (WebFrameLoaderClient::assignIdentifierToInitialRequest):
        (WebFrameLoaderClient::dispatchWillSendRequest):
        (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
        (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
        (WebFrameLoaderClient::dispatchDidReceiveResponse):
        (WebFrameLoaderClient::dispatchDidReceiveContentLength):
        (WebFrameLoaderClient::dispatchDidFinishLoading):
        (WebFrameLoaderClient::dispatchDidFailLoading):
        (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
        (WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
        (WebFrameLoaderClient::dispatchDidFailLoad):
        (WebFrameLoaderClient::dispatchCreatePage):
        (WebFrameLoaderClient::dispatchDecidePolicyForMIMEType):
        (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
        (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
        (WebFrameLoaderClient::dispatchUnableToImplementPolicy):
        (WebFrameLoaderClient::setMainDocumentError):
        (WebFrameLoaderClient::incrementProgress):
        (WebFrameLoaderClient::completeProgress):
        (WebFrameLoaderClient::startDownload):
        (WebFrameLoaderClient::committedLoad):
        (WebFrameLoaderClient::cancelledError):
        (WebFrameLoaderClient::cannotShowURLError):
        (WebFrameLoaderClient::interruptForPolicyChangeError):
        (WebFrameLoaderClient::cannotShowMIMETypeError):
        (WebFrameLoaderClient::fileDoesNotExistError):
        (WebFrameLoaderClient::shouldFallBack):
        (WebFrameLoaderClient::willUseArchive):
        (WebFrameLoaderClient::createDocumentLoader):
        (WebFrameLoaderClient::download):
        * COM/WebFrameLoaderClient.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19195 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/loader/win/FrameLoaderWin.cpp
WebCore/platform/network/win/ResourceHandleWin.cpp
WebCore/platform/win/TemporaryLinkStubs.cpp
WebKit/COM/ChromeClientWin.cpp
WebKit/COM/ChromeClientWin.h
WebKit/COM/ContextMenuClientWin.cpp
WebKit/COM/ContextMenuClientWin.h
WebKit/COM/WebFrameLoaderClient.cpp
WebKit/COM/WebFrameLoaderClient.h
WebKit/ChangeLog

index 3ecbf83..5f3f72a 100644 (file)
@@ -1,3 +1,53 @@
+2007-01-27  David Kilzer  <ddkilzer@webkit.org>
+
+        Reviewed by Adam.
+
+        - fix http://bugs.webkit.org/show_bug.cgi?id=12260
+          Windows platform build is not maintained
+
+        * loader/win/FrameLoaderWin.cpp:
+        * platform/network/win/ResourceHandleWin.cpp:
+        * platform/win/TemporaryLinkStubs.cpp:
+        (WebCore::contextMenuItemTagOpenLinkInNewWindow):
+        (WebCore::contextMenuItemTagDownloadLinkToDisk):
+        (WebCore::contextMenuItemTagCopyLinkToClipboard):
+        (WebCore::contextMenuItemTagOpenImageInNewWindow):
+        (WebCore::contextMenuItemTagDownloadImageToDisk):
+        (WebCore::contextMenuItemTagCopyImageToClipboard):
+        (WebCore::contextMenuItemTagOpenFrameInNewWindow):
+        (WebCore::contextMenuItemTagCopy):
+        (WebCore::contextMenuItemTagGoBack):
+        (WebCore::contextMenuItemTagGoForward):
+        (WebCore::contextMenuItemTagStop):
+        (WebCore::contextMenuItemTagReload):
+        (WebCore::contextMenuItemTagCut):
+        (WebCore::contextMenuItemTagPaste):
+        (WebCore::contextMenuItemTagNoGuessesFound):
+        (WebCore::contextMenuItemTagIgnoreSpelling):
+        (WebCore::contextMenuItemTagLearnSpelling):
+        (WebCore::contextMenuItemTagSearchWeb):
+        (WebCore::contextMenuItemTagLookUpInDictionary):
+        (WebCore::contextMenuItemTagOpenLink):
+        (WebCore::contextMenuItemTagIgnoreGrammar):
+        (WebCore::contextMenuItemTagSpellingMenu):
+        (WebCore::contextMenuItemTagShowSpellingPanel):
+        (WebCore::contextMenuItemTagCheckSpelling):
+        (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
+        (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
+        (WebCore::contextMenuItemTagFontMenu):
+        (WebCore::contextMenuItemTagBold):
+        (WebCore::contextMenuItemTagItalic):
+        (WebCore::contextMenuItemTagUnderline):
+        (WebCore::contextMenuItemTagOutline):
+        (WebCore::contextMenuItemTagWritingDirectionMenu):
+        (WebCore::contextMenuItemTagDefaultDirection):
+        (WebCore::contextMenuItemTagLeftToRight):
+        (WebCore::contextMenuItemTagRightToLeft):
+        (WebCore::DocumentLoader::unreachableURL):
+        (WebCore::FrameLoader::redirectDataToPlugin):
+        (WebCore::FrameLoader::partClearedInBegin):
+        (WebCore::FrameLoader::createPlugin):
+
 2007-01-27  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Mitz.
index b5c59ad..3b108cd 100644 (file)
@@ -60,9 +60,4 @@ void FrameLoader::submitForm(const FrameLoadRequest& request, Event*)
     clearRecordedFormValues();
 }
 
-void FrameLoader::setTitle(const String &title)
-{
-    documentLoader()->setTitle(title);
-}
-
 }
index adab0ad..2ffe14a 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "config.h"
 #include "ResourceHandle.h"
+#include "ResourceHandleClient.h"
 #include "ResourceHandleInternal.h"
 #include "ResourceHandleWin.h"
 
index 8262208..fc9994f 100644 (file)
@@ -93,6 +93,42 @@ namespace WebCore {
 static int frameNumber = 0;
 static Cursor localCursor;
 
+String contextMenuItemTagOpenLinkInNewWindow() { notImplemented(); }
+String contextMenuItemTagDownloadLinkToDisk() { notImplemented(); return String(); }
+String contextMenuItemTagCopyLinkToClipboard() { notImplemented(); return String(); }
+String contextMenuItemTagOpenImageInNewWindow() { notImplemented(); return String(); }
+String contextMenuItemTagDownloadImageToDisk() { notImplemented(); return String(); }
+String contextMenuItemTagCopyImageToClipboard() { notImplemented(); return String(); }
+String contextMenuItemTagOpenFrameInNewWindow() { notImplemented(); return String(); }
+String contextMenuItemTagCopy() { notImplemented(); return String(); }
+String contextMenuItemTagGoBack() { notImplemented(); return String(); }
+String contextMenuItemTagGoForward() { notImplemented(); return String(); }
+String contextMenuItemTagStop() { notImplemented(); return String(); }
+String contextMenuItemTagReload() { notImplemented(); return String(); }
+String contextMenuItemTagCut() { notImplemented(); return String(); }
+String contextMenuItemTagPaste() { notImplemented(); return String(); }
+String contextMenuItemTagNoGuessesFound() { notImplemented(); return String(); }
+String contextMenuItemTagIgnoreSpelling() { notImplemented(); return String(); }
+String contextMenuItemTagLearnSpelling() { notImplemented(); return String(); }
+String contextMenuItemTagSearchWeb() { notImplemented(); return String(); }
+String contextMenuItemTagLookUpInDictionary() { notImplemented(); return String(); }
+String contextMenuItemTagOpenLink() { notImplemented(); return String(); }
+String contextMenuItemTagIgnoreGrammar() { notImplemented(); return String(); }
+String contextMenuItemTagSpellingMenu() { notImplemented(); return String(); }
+String contextMenuItemTagShowSpellingPanel (bool) { notImplemented(); }
+String contextMenuItemTagCheckSpelling() { notImplemented(); return String(); }
+String contextMenuItemTagCheckSpellingWhileTyping() { notImplemented(); return String(); }
+String contextMenuItemTagCheckGrammarWithSpelling() { notImplemented(); return String(); }
+String contextMenuItemTagFontMenu() { notImplemented(); return String(); }
+String contextMenuItemTagBold() { notImplemented(); return String(); }
+String contextMenuItemTagItalic() { notImplemented(); return String(); }
+String contextMenuItemTagUnderline() { notImplemented(); return String(); }
+String contextMenuItemTagOutline() { notImplemented(); return String(); }
+String contextMenuItemTagWritingDirectionMenu() { notImplemented(); return String(); }
+String contextMenuItemTagDefaultDirection() { notImplemented(); return String(); }
+String contextMenuItemTagLeftToRight() { notImplemented(); return String(); }
+String contextMenuItemTagRightToLeft() { notImplemented(); return String(); }
+
 void CheckCacheObjectStatus(DocLoader*, CachedResource*) { notImplemented(); }
 bool CheckIfReloading(DocLoader*) { notImplemented(); return false; }
 String defaultLanguage() { notImplemented(); return "en"; }
@@ -127,8 +163,6 @@ bool AXObjectCache::gAccessibilityEnabled = false;
 void BitmapImage::drawTiled(GraphicsContext*, const FloatRect&, const FloatRect&, TileRule, TileRule, CompositeOperator) { notImplemented(); }
 bool BitmapImage::getHBITMAP(HBITMAP) { notImplemented(); return false; }
 
-void CachedResource::setAllData(PlatformData) { notImplemented(); }
-
 ContextMenu::ContextMenu(const HitTestResult& result) : m_hitTestResult(result) { notImplemented(); }
 ContextMenu::~ContextMenu() { notImplemented(); }
 void ContextMenu::show() { notImplemented(); }
@@ -150,29 +184,9 @@ void ContextMenuItem::setSubMenu(ContextMenu*) { notImplemented(); }
 void ContextMenuItem::setChecked(bool) { notImplemented(); }
 void ContextMenuItem::setEnabled(bool) { notImplemented(); }
 
-void DocumentLoader::setFrame(Frame*) { notImplemented(); }
-FrameLoader* DocumentLoader::frameLoader() const { notImplemented(); return m_frame->loader(); }
 static ResourceRequest emptyResourceRequestForDocumentLoader;
-const ResourceRequest& DocumentLoader::originalRequest() const { notImplemented(); return emptyResourceRequestForDocumentLoader; }
-const ResourceRequest& DocumentLoader::request() const { notImplemented(); return emptyResourceRequestForDocumentLoader; }
-ResourceRequest& DocumentLoader::request() { notImplemented(); return emptyResourceRequestForDocumentLoader; }
 static KURL emptyKURLForDocumentLoader;
-const KURL& DocumentLoader::URL() const { notImplemented(); return emptyKURLForDocumentLoader; }
 const KURL DocumentLoader::unreachableURL() const { notImplemented(); return KURL(); }
-bool DocumentLoader::getResponseRefreshAndModifiedHeaders(String& refresh, String& modified) const { notImplemented(); return false; }
-void DocumentLoader::replaceRequestURLForAnchorScroll(const KURL&) { notImplemented(); }
-void DocumentLoader::stopLoading() { notImplemented(); }
-void DocumentLoader::setCommitted(bool) { notImplemented(); }
-bool DocumentLoader::isLoading() const { notImplemented(); return false; }
-void DocumentLoader::setLoading(bool) { notImplemented(); }
-void DocumentLoader::updateLoading() { notImplemented(); }
-void DocumentLoader::setupForReplaceByMIMEType(const String& newMIMEType) { notImplemented(); }
-void DocumentLoader::prepareForLoadStart() { notImplemented(); }
-bool DocumentLoader::isClientRedirect() const { notImplemented(); return false; }
-bool DocumentLoader::isLoadingInAPISense() const { notImplemented(); return false; }
-void DocumentLoader::stopRecordingResponses() { notImplemented(); }
-String DocumentLoader::title() const { notImplemented(); return String(); }
-KURL DocumentLoader::urlForHistory() const { notImplemented(); return KURL(); }
 
 void Editor::ignoreSpelling() { notImplemented(); }
 void Editor::learnSpelling() { notImplemented(); }
@@ -204,29 +218,13 @@ void FileChooser::chooseFile(const String& filename) { notImplemented(); }
 
 void Frame::setNeedsReapplyStyles() { notImplemented(); }
 
-void FrameLoader::load(const FrameLoadRequest&, bool userGesture, Event*, HTMLFormElement*, const HashMap<String, String>& formValues) { notImplemented(); }
-void FrameLoader::load(const ResourceRequest&, const NavigationAction&, FrameLoadType, PassRefPtr<FormState>) { notImplemented(); }
-void FrameLoader::load(DocumentLoader*, FrameLoadType, PassRefPtr<FormState>) { notImplemented(); }
-void FrameLoader::didFirstLayout() { notImplemented(); }
 String FrameLoader::overrideMediaType() const { notImplemented(); return String(); }
 Widget* FrameLoader::createJavaAppletWidget(const IntSize&, Element*, const HashMap<String, String>&) { notImplemented(); return 0; }
 void FrameLoader::redirectDataToPlugin(Widget* pluginWidget) { notImplemented(); }
-int FrameLoader::getHistoryLength() { notImplemented(); return 0; }
-String FrameLoader::referrer() const { notImplemented(); return String(); }
-KURL FrameLoader::historyURL(int distance) { notImplemented(); return KURL();}
 Frame* FrameLoader::createFrame(const KURL& URL, const String& name, HTMLFrameOwnerElement*, const String& referrer) { notImplemented(); return 0; }
 void FrameLoader::partClearedInBegin() { notImplemented(); }
-KURL FrameLoader::originalRequestURL() const { notImplemented(); return KURL(); }
-KURL FrameLoader::dataURLBaseFromRequest(const ResourceRequest& request) const { notImplemented(); return KURL(); }
-bool FrameLoader::canGoBackOrForward(int) const { notImplemented(); return false; }
 ObjectContentType FrameLoader::objectContentType(const KURL&, const String&) { notImplemented(); return ObjectContentNone; }
 Widget* FrameLoader::createPlugin(Element*, const KURL&, const Vector<String>&, const Vector<String>&, const String&) { notImplemented(); return 0; }
-void FrameLoader::checkLoadCompleteForThisFrame() { notImplemented(); }
-void FrameLoader::reload() { notImplemented(); }
-void FrameLoader::loadResourceSynchronously(const ResourceRequest& request, ResourceResponse& r, Vector<char>& data) { notImplemented(); }
-void FrameLoader::opened() { notImplemented(); }
-void FrameLoader::applyUserAgent(ResourceRequest& request) { notImplemented(); }
-
 void FrameView::updateBorder() { notImplemented(); }
 
 void FrameWin::focusWindow() { notImplemented(); }
@@ -336,12 +334,6 @@ PluginInfo* PlugInInfoStore::createPluginInfoForPluginAtIndex(unsigned) { notImp
 unsigned PlugInInfoStore::pluginCount() const { notImplemented(); return 0; }
 bool PlugInInfoStore::supportsMIMEType(const String&) { notImplemented(); return false; }
 
-PolicyCheck::PolicyCheck() { notImplemented(); }
-void PolicyCheck::clear() { notImplemented(); }
-void PolicyCheck::clearRequest() { notImplemented(); }
-void PolicyCheck::call(bool) { notImplemented(); }
-void PolicyCheck::call(PolicyAction) { notImplemented(); }
-
 PopupMenu::PopupMenu(PopupMenuClient*) { notImplemented(); }
 PopupMenu::~PopupMenu() { notImplemented(); }
 void PopupMenu::show(const IntRect&, FrameView*, int index) { notImplemented(); }
@@ -355,8 +347,6 @@ void RenderThemeWin::adjustMenuListStyle(CSSStyleSelector*, RenderStyle*, Elemen
 bool ResourceHandle::willLoadFromCache(ResourceRequest&) { notImplemented(); return false; }
 bool ResourceHandle::loadsBlocked() { notImplemented(); return false; }
 
-void ResourceLoader::cancel() { notImplemented(); }
-
 void ScrollView::addChild(Widget*) { notImplemented(); }
 void ScrollView::removeChild(Widget*) { notImplemented(); }
 void ScrollView::scrollPointRecursively(int x, int y) { notImplemented(); }
index a383272..3d5f576 100644 (file)
@@ -74,6 +74,17 @@ void ChromeClientWin::unfocus()
     notImplemented();
 }
 
+bool ChromeClientWin::canTakeFocus(WebCore::FocusDirection)
+{
+    notImplemented();
+    return false;
+}
+
+void ChromeClientWin::takeFocus(WebCore::FocusDirection)
+{
+    notImplemented();
+}
+
 WebCore::Page* ChromeClientWin::createWindow(const WebCore::FrameLoadRequest&)
 {
     notImplemented();
index ad6a0e7..52b4fa6 100644 (file)
@@ -45,6 +45,9 @@ public:
     virtual void focus();
     virtual void unfocus();
 
+    virtual bool canTakeFocus(WebCore::FocusDirection);
+    virtual void takeFocus(WebCore::FocusDirection);
+
     virtual WebCore::Page* createWindow(const WebCore::FrameLoadRequest&);
     virtual WebCore::Page* createModalDialog(const WebCore::FrameLoadRequest&);
     virtual void show();
index 742e0a8..837d189 100644 (file)
@@ -44,6 +44,11 @@ void ContextMenuClientWin::addCustomContextMenuItems(WebCore::ContextMenu*)
     notImplemented();
 }
 
+WebCore::PlatformMenuDescription ContextMenuClientWin::getCustomMenuFromDefaultItems(WebCore::ContextMenu*)
+{
+    notImplemented();
+}
+
 void ContextMenuClientWin::contextMenuItemSelected(WebCore::ContextMenuItem*,
                                                    const WebCore::ContextMenu*)
 {
@@ -60,6 +65,11 @@ void ContextMenuClientWin::copyImageToClipboard(const WebCore::HitTestResult&)
     notImplemented();
 }
 
+void ContextMenuClientWin::searchWithGoogle(const WebCore::Frame*)
+{
+    notImplemented();
+}
+
 void ContextMenuClientWin::lookUpInDictionary(WebCore::Frame*)
 {
     notImplemented();
index 23261fa..08e4ee9 100644 (file)
@@ -36,11 +36,13 @@ public:
     virtual void contextMenuDestroyed();
 
     virtual void addCustomContextMenuItems(WebCore::ContextMenu*);
+    virtual WebCore::PlatformMenuDescription getCustomMenuFromDefaultItems(WebCore::ContextMenu*);
     virtual void contextMenuItemSelected(WebCore::ContextMenuItem*,
                                          const WebCore::ContextMenu*);
 
     virtual void downloadURL(const WebCore::KURL&);
     virtual void copyImageToClipboard(const WebCore::HitTestResult&);
+    virtual void searchWithGoogle(const WebCore::Frame*);
     virtual void lookUpInDictionary(WebCore::Frame*);
     virtual void speak(const WebCore::String&);
     virtual void stopSpeaking();
index 406f244..cf16d2e 100644 (file)
@@ -135,6 +135,53 @@ void WebFrameLoaderClient::loadedFromPageCache()
     notImplemented();
 }
 
+
+void WebFrameLoaderClient::assignIdentifierToInitialRequest(unsigned long, WebCore::DocumentLoader*, const WebCore::ResourceRequest&)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long, WebCore::ResourceRequest&, const WebCore::ResourceResponse&)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge(WebCore::DocumentLoader*, unsigned long, const WebCore::AuthenticationChallenge&)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge(WebCore::DocumentLoader*, unsigned long, const WebCore::AuthenticationChallenge&)        
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned long, const WebCore::ResourceResponse&)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::dispatchDidReceiveContentLength(WebCore::DocumentLoader*, unsigned long, int)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::dispatchDidFinishLoading(WebCore::DocumentLoader*, unsigned long)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::dispatchDidFailLoading(WebCore::DocumentLoader*, unsigned long, const WebCore::ResourceError&)
+{
+    notImplemented();
+}
+
+bool WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache(WebCore::DocumentLoader*, const ResourceRequest&, const WebCore::ResourceResponse&, int)
+{
+    notImplemented();
+    return false;
+}
+
 void WebFrameLoaderClient::dispatchDidHandleOnloadEvents()
 {
     notImplemented();
@@ -186,6 +233,16 @@ void WebFrameLoaderClient::dispatchDidCommitLoad()
     notImplemented();
 }
 
+void WebFrameLoaderClient::dispatchDidFailProvisionalLoad(const WebCore::ResourceError&)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::dispatchDidFailLoad(const WebCore::ResourceError&)
+{
+    notImplemented();
+}
+
 void WebFrameLoaderClient::dispatchDidFinishLoad()
 {
     notImplemented();
@@ -196,16 +253,42 @@ void WebFrameLoaderClient::dispatchDidFirstLayout()
     notImplemented();
 }
 
+Frame* WebFrameLoaderClient::dispatchCreatePage()
+{
+    notImplemented();
+    return 0;
+}
+
 void WebFrameLoaderClient::dispatchShow()
 {
     notImplemented();
 }
 
+void WebFrameLoaderClient::dispatchDecidePolicyForMIMEType(WebCore::FramePolicyFunction, const WebCore::String&, const WebCore::ResourceRequest&)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction(WebCore::FramePolicyFunction, const WebCore::NavigationAction&, const WebCore::ResourceRequest&, const WebCore::String&)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction(WebCore::FramePolicyFunction, const WebCore::NavigationAction&, const WebCore::ResourceRequest&)
+{
+    notImplemented();
+}
+
 void WebFrameLoaderClient::cancelPolicyCheck()
 {
     notImplemented();
 }
 
+void WebFrameLoaderClient::dispatchUnableToImplementPolicy(const WebCore::ResourceError&)
+{
+    notImplemented();
+}
+
 void WebFrameLoaderClient::dispatchWillSubmitForm(WebCore::FramePolicyFunction,
                                                   PassRefPtr<WebCore::FormState>)
 {
@@ -222,6 +305,11 @@ void WebFrameLoaderClient::revertToProvisionalState(WebCore::DocumentLoader*)
     notImplemented();
 }
 
+void WebFrameLoaderClient::setMainDocumentError(WebCore::DocumentLoader*, const WebCore::ResourceError&)
+{
+    notImplemented();
+}
+
 void WebFrameLoaderClient::clearUnarchivingState(WebCore::DocumentLoader*)
 {
     notImplemented();
@@ -237,11 +325,31 @@ void WebFrameLoaderClient::progressCompleted()
     notImplemented();
 }
 
+void WebFrameLoaderClient::incrementProgress(unsigned long, const WebCore::ResourceResponse&)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::incrementProgress(unsigned long, const char*, int)
+{
+    notImplemented();
+}
+
+void WebFrameLoaderClient::completeProgress(unsigned long)
+{
+    notImplemented();
+}
+
 void WebFrameLoaderClient::setMainFrameDocumentReady(bool)
 {
     notImplemented();
 }
 
+void WebFrameLoaderClient::startDownload(const WebCore::ResourceRequest&)
+{
+    notImplemented();
+}
+
 void WebFrameLoaderClient::willChangeTitle(WebCore::DocumentLoader*)
 {
     notImplemented();
@@ -252,6 +360,11 @@ void WebFrameLoaderClient::didChangeTitle(WebCore::DocumentLoader*)
     notImplemented();
 }
 
+void WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, const char*, int)
+{
+    notImplemented();
+}
+
 void WebFrameLoaderClient::finishedLoading(WebCore::DocumentLoader*)
 {
     notImplemented();
@@ -278,11 +391,48 @@ bool WebFrameLoaderClient::shouldGoToHistoryItem(WebCore::HistoryItem*) const
     return false;
 }
 
+ResourceError WebFrameLoaderClient::cancelledError(const WebCore::ResourceRequest&)
+{
+    notImplemented();
+}
+
+ResourceError WebFrameLoaderClient::cannotShowURLError(const WebCore::ResourceRequest&)
+{
+    notImplemented();
+}
+
+ResourceError WebFrameLoaderClient::interruptForPolicyChangeError(const WebCore::ResourceRequest&)
+{
+    notImplemented();
+}
+
+ResourceError WebFrameLoaderClient::cannotShowMIMETypeError(const WebCore::ResourceResponse&)
+{
+    notImplemented();
+}
+
+ResourceError WebFrameLoaderClient::fileDoesNotExistError(const WebCore::ResourceResponse&)
+{
+    notImplemented();
+}
+
+bool WebFrameLoaderClient::shouldFallBack(const WebCore::ResourceError&)
+{
+    notImplemented();
+    return false;
+}
+
 void WebFrameLoaderClient::setDefersLoading(bool)
 {
     notImplemented();
 }
 
+bool WebFrameLoaderClient::willUseArchive(ResourceLoader*, const WebCore::ResourceRequest&, const WebCore::KURL&) const
+{
+    notImplemented();
+    return false;
+}
+
 bool WebFrameLoaderClient::isArchiveLoadPending(WebCore::ResourceLoader*) const
 {
     notImplemented();
@@ -356,6 +506,11 @@ void WebFrameLoaderClient::prepareForDataSourceReplacement()
     notImplemented();
 }
 
+PassRefPtr<WebCore::DocumentLoader> WebFrameLoaderClient::createDocumentLoader(const WebCore::ResourceRequest&)
+{
+    notImplemented();
+}
+
 void WebFrameLoaderClient::setTitle(const WebCore::String&,
                                     const WebCore::KURL&)
 {
@@ -377,3 +532,8 @@ bool WebFrameLoaderClient::canCachePage() const
     notImplemented();
     return false;
 }
+
+void WebFrameLoaderClient::download(WebCore::ResourceHandle*, const WebCore::ResourceRequest&, const WebCore::ResourceResponse&)
+{
+    notImplemented();
+}
index d103164..e9844d9 100644 (file)
@@ -59,39 +59,64 @@ public:
 
     virtual void loadedFromPageCache();
 
+    virtual void assignIdentifierToInitialRequest(unsigned long identifier, WebCore::DocumentLoader*, const WebCore::ResourceRequest&);
+
+    virtual void dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long identifier, WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirectResponse);
+    virtual void dispatchDidReceiveAuthenticationChallenge(WebCore::DocumentLoader*, unsigned long identifier, const WebCore::AuthenticationChallenge&);
+    virtual void dispatchDidCancelAuthenticationChallenge(WebCore::DocumentLoader*, unsigned long identifier, const WebCore::AuthenticationChallenge&);        
+    virtual void dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned long identifier, const WebCore::ResourceResponse&);
+    virtual void dispatchDidReceiveContentLength(WebCore::DocumentLoader*, unsigned long identifier, int lengthReceived);
+    virtual void dispatchDidFinishLoading(WebCore::DocumentLoader*, unsigned long identifier);
+    virtual void dispatchDidFailLoading(WebCore::DocumentLoader*, unsigned long identifier, const WebCore::ResourceError&);
+    virtual bool dispatchDidLoadResourceFromMemoryCache(WebCore::DocumentLoader*, const WebCore::ResourceRequest&, const WebCore::ResourceResponse&, int length);
+
     virtual void dispatchDidHandleOnloadEvents();
     virtual void dispatchDidReceiveServerRedirectForProvisionalLoad();
     virtual void dispatchDidCancelClientRedirect();
-    virtual void dispatchWillPerformClientRedirect(const WebCore::KURL&,
-                                                   double, double);
+    virtual void dispatchWillPerformClientRedirect(const WebCore::KURL&, double interval, double fireDate);
     virtual void dispatchDidChangeLocationWithinPage();
     virtual void dispatchWillClose();
     virtual void dispatchDidReceiveIcon();
     virtual void dispatchDidStartProvisionalLoad();
-    virtual void dispatchDidReceiveTitle(const WebCore::String&);
+    virtual void dispatchDidReceiveTitle(const WebCore::String& title);
     virtual void dispatchDidCommitLoad();
+    virtual void dispatchDidFailProvisionalLoad(const WebCore::ResourceError&);
+    virtual void dispatchDidFailLoad(const WebCore::ResourceError&);
     virtual void dispatchDidFinishLoad();
     virtual void dispatchDidFirstLayout();
 
+    virtual WebCore::Frame* dispatchCreatePage();
     virtual void dispatchShow();
 
+    virtual void dispatchDecidePolicyForMIMEType(WebCore::FramePolicyFunction, const WebCore::String& MIMEType, const WebCore::ResourceRequest&);
+    virtual void dispatchDecidePolicyForNewWindowAction(WebCore::FramePolicyFunction, const WebCore::NavigationAction&, const WebCore::ResourceRequest&, const WebCore::String& frameName);
+    virtual void dispatchDecidePolicyForNavigationAction(WebCore::FramePolicyFunction, const WebCore::NavigationAction&, const WebCore::ResourceRequest&);
     virtual void cancelPolicyCheck();
 
-    virtual void dispatchWillSubmitForm(WebCore::FramePolicyFunction,
-                                        PassRefPtr<WebCore::FormState>);
+    virtual void dispatchUnableToImplementPolicy(const WebCore::ResourceError&);
+
+    virtual void dispatchWillSubmitForm(WebCore::FramePolicyFunction, PassRefPtr<WebCore::FormState>);
 
     virtual void dispatchDidLoadMainResource(WebCore::DocumentLoader*);
     virtual void revertToProvisionalState(WebCore::DocumentLoader*);
+    virtual void setMainDocumentError(WebCore::DocumentLoader*, const WebCore::ResourceError&);
     virtual void clearUnarchivingState(WebCore::DocumentLoader*);
 
     virtual void progressStarted();
     virtual void progressCompleted();
 
+    virtual void incrementProgress(unsigned long identifier, const WebCore::ResourceResponse&);
+    virtual void incrementProgress(unsigned long identifier, const char*, int);
+    virtual void completeProgress(unsigned long identifier);
+
     virtual void setMainFrameDocumentReady(bool);
 
+    virtual void startDownload(const WebCore::ResourceRequest&);
+
     virtual void willChangeTitle(WebCore::DocumentLoader*);
     virtual void didChangeTitle(WebCore::DocumentLoader*);
 
+    virtual void committedLoad(WebCore::DocumentLoader*, const char*, int);
     virtual void finishedLoading(WebCore::DocumentLoader*);
     virtual void finalSetupForReplace(WebCore::DocumentLoader*);
 
@@ -99,16 +124,26 @@ public:
     virtual void updateGlobalHistoryForReload(const WebCore::KURL&);
     virtual bool shouldGoToHistoryItem(WebCore::HistoryItem*) const;
 
+    virtual WebCore::ResourceError cancelledError(const WebCore::ResourceRequest&);
+    virtual WebCore::ResourceError cannotShowURLError(const WebCore::ResourceRequest&);
+    virtual WebCore::ResourceError interruptForPolicyChangeError(const WebCore::ResourceRequest&);
+
+    virtual WebCore::ResourceError cannotShowMIMETypeError(const WebCore::ResourceResponse&);
+    virtual WebCore::ResourceError fileDoesNotExistError(const WebCore::ResourceResponse&);
+
+    virtual bool shouldFallBack(const WebCore::ResourceError&);
+
     virtual void setDefersLoading(bool);
 
+    virtual bool willUseArchive(WebCore::ResourceLoader*, const WebCore::ResourceRequest&, const WebCore::KURL& originalURL) const;
     virtual bool isArchiveLoadPending(WebCore::ResourceLoader*) const;
     virtual void cancelPendingArchiveLoad(WebCore::ResourceLoader*);
     virtual void clearArchivedResources();
 
     virtual bool canHandleRequest(const WebCore::ResourceRequest&) const;
-    virtual bool canShowMIMEType(const WebCore::String&) const;
-    virtual bool representationExistsForURLScheme(const WebCore::String&) const;
-    virtual WebCore::String generatedMIMETypeForURLScheme(const WebCore::String&) const;
+    virtual bool canShowMIMEType(const WebCore::String& MIMEType) const;
+    virtual bool representationExistsForURLScheme(const WebCore::String& URLScheme) const;
+    virtual WebCore::String generatedMIMETypeForURLScheme(const WebCore::String& URLScheme) const;
 
     virtual void frameLoadCompleted();
     virtual void saveScrollPositionAndViewStateToItem(WebCore::HistoryItem*);
@@ -117,12 +152,14 @@ public:
     virtual void didFinishLoad();
     virtual void prepareForDataSourceReplacement();
 
+    virtual PassRefPtr<WebCore::DocumentLoader> createDocumentLoader(const WebCore::ResourceRequest&);
     virtual void setTitle(const WebCore::String& title, const WebCore::KURL&);
 
     virtual WebCore::String userAgent();
 
     virtual void saveDocumentViewToPageCache(WebCore::PageCache*);
     virtual bool canCachePage() const;
+    virtual void download(WebCore::ResourceHandle*, const WebCore::ResourceRequest&, const WebCore::ResourceResponse&);
 
 protected:
     // The WebFrame that owns this object and manages its lifetime. Therefore,
index 1f18483..2fc1d8d 100644 (file)
@@ -1,3 +1,51 @@
+2007-01-27  David Kilzer  <ddkilzer@webkit.org>
+
+        Reviewed by Adam.
+
+        - fix http://bugs.webkit.org/show_bug.cgi?id=12260
+          Windows platform build is not maintained
+
+        * COM/ChromeClientWin.cpp:
+        (ChromeClientWin::canTakeFocus):
+        (ChromeClientWin::takeFocus):
+        * COM/ChromeClientWin.h:
+        * COM/ContextMenuClientWin.cpp:
+        (ContextMenuClientWin::getCustomMenuFromDefaultItems):
+        (ContextMenuClientWin::searchWithGoogle):
+        * COM/ContextMenuClientWin.h:
+        * COM/WebFrameLoaderClient.cpp:
+        (WebFrameLoaderClient::assignIdentifierToInitialRequest):
+        (WebFrameLoaderClient::dispatchWillSendRequest):
+        (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
+        (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
+        (WebFrameLoaderClient::dispatchDidReceiveResponse):
+        (WebFrameLoaderClient::dispatchDidReceiveContentLength):
+        (WebFrameLoaderClient::dispatchDidFinishLoading):
+        (WebFrameLoaderClient::dispatchDidFailLoading):
+        (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
+        (WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
+        (WebFrameLoaderClient::dispatchDidFailLoad):
+        (WebFrameLoaderClient::dispatchCreatePage):
+        (WebFrameLoaderClient::dispatchDecidePolicyForMIMEType):
+        (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
+        (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
+        (WebFrameLoaderClient::dispatchUnableToImplementPolicy):
+        (WebFrameLoaderClient::setMainDocumentError):
+        (WebFrameLoaderClient::incrementProgress):
+        (WebFrameLoaderClient::completeProgress):
+        (WebFrameLoaderClient::startDownload):
+        (WebFrameLoaderClient::committedLoad):
+        (WebFrameLoaderClient::cancelledError):
+        (WebFrameLoaderClient::cannotShowURLError):
+        (WebFrameLoaderClient::interruptForPolicyChangeError):
+        (WebFrameLoaderClient::cannotShowMIMETypeError):
+        (WebFrameLoaderClient::fileDoesNotExistError):
+        (WebFrameLoaderClient::shouldFallBack):
+        (WebFrameLoaderClient::willUseArchive):
+        (WebFrameLoaderClient::createDocumentLoader):
+        (WebFrameLoaderClient::download):
+        * COM/WebFrameLoaderClient.h:
+
 2007-01-27  David Harrison  <harrison@apple.com>
 
         Reviewed by Kevin.