Reviewed by Mitz.
authorrwlbuis <rwlbuis@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Dec 2006 21:21:07 +0000 (21:21 +0000)
committerrwlbuis <rwlbuis@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Dec 2006 21:21:07 +0000 (21:21 +0000)
        http://bugs.webkit.org/show_bug.cgi?id=11732:
        Windows build bustage.

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

14 files changed:
WebCore/ChangeLog
WebCore/WebCore.vcproj/WebCore/WebCore.vcproj
WebCore/bridge/win/ChromeClientWin.h
WebCore/bridge/win/ContextMenuClientWin.h
WebCore/bridge/win/EditorClientWin.h
WebCore/bridge/win/FrameWin.cpp
WebCore/bridge/win/FrameWin.h
WebCore/loader/win/FrameLoaderClientWin.h
WebCore/platform/ContextMenu.h
WebCore/platform/Widget.h
WebCore/platform/win/PlatformScrollBar.h
WebCore/platform/win/TemporaryLinkStubs.cpp
WebKit/COM/WebFrame.cpp
WebKit/ChangeLog

index e4b39a6d6542ffecb0b4c759d89cdefd5bf416af..0ca7c802adfbd7c8e20850c4b0ca907cbde2b108 100644 (file)
@@ -1,3 +1,62 @@
+2006-12-01  Don Gibson  <dgibson77@gmail.com>
+
+        Reviewed by Mitz.
+
+        http://bugs.webkit.org/show_bug.cgi?id=11732:
+        Windows build bustage.
+
+        * WebCore.vcproj/WebCore/WebCore.vcproj:
+        * bridge/win/ChromeClientWin.h:
+        * bridge/win/ContextMenuClientWin.h:
+        * bridge/win/EditorClientWin.h:
+        * bridge/win/FrameWin.cpp:
+        (WebCore::FrameWin::FrameWin):
+        (WebCore::FrameWin::keyPress):
+        * bridge/win/FrameWin.h:
+        * loader/win/FrameLoaderClientWin.h:
+        * platform/ContextMenu.h:
+        * platform/Widget.h:
+        * platform/win/PlatformScrollBar.h:
+        * platform/win/TemporaryLinkStubs.cpp:
+        (WebCore::ChromeClientWin::chromeDestroyed):
+        (WebCore::ChromeClientWin::addMessageToConsole):
+        (WebCore::ContextMenu::ContextMenu):
+        (WebCore::ContextMenu::~ContextMenu):
+        (WebCore::ContextMenu::appendItem):
+        (WebCore::ContextMenuClientWin::contextMenuDestroyed):
+        (WebCore::ContextMenuClientWin::contextMenuItemSelected):
+        (WebCore::ContextMenuItem::~ContextMenuItem):
+        (WebCore::Editor::newGeneralClipboard):
+        (WebCore::EditorClientWin::pageDestroyed):
+        (WebCore::EditorClientWin::smartInsertDeleteEnabled):
+        (WebCore::EditorClientWin::shouldInsertNode):
+        (WebCore::FrameLoader::createPlugin):
+        (WebCore::FrameLoaderClientWin::frameLoaderDestroyed):
+        (WebCore::FrameLoaderClientWin::hasWebView):
+        (WebCore::FrameLoaderClientWin::canHandleRequest):
+        (WebCore::FrameWin::unfocusWindow):
+        (WebCore::FrameWin::bindingRootObject):
+        (WebCore::FrameWin::issueCopyCommand):
+        (WebCore::FrameWin::markMisspellings):
+        (WebCore::FrameWin::issueTransposeCommand):
+        (WebCore::FrameWin::markedTextRange):
+        (WebCore::FrameWin::respondToChangedSelection):
+        (WebCore::FrameWin::markMisspellingsInAdjacentWords):
+        (WebCore::FrameWin::isSelectionMisspelled):
+        (WebCore::FrameWin::guessesForMisspelledSelection):
+        (WebCore::Pasteboard::generalPasteboard):
+        (WebCore::Pasteboard::writeSelection):
+        (WebCore::Pasteboard::clearTypes):
+        (WebCore::Pasteboard::canSmartReplace):
+        (WebCore::Pasteboard::documentFragment):
+        (WebCore::Pasteboard::plainText):
+        (WebCore::Pasteboard::Pasteboard):
+        (WebCore::Pasteboard::~Pasteboard):
+        (WebCore::Pasteboard::registerSelectionPasteboardTypes):
+        (WebCore::Pasteboard::replaceNBSP):
+        (WebCore::Pasteboard::createHandle):
+        (WebCore::Pasteboard::createCF_HTMLFromRange):
+
 2006-11-30  Geoffrey Garen  <ggaren@apple.com>
 
         Rubber Stamped by Anders Carlsson.
index 3b3c752cd5577cdd05fea214cdfd8d79729bbd5f..749cf23386c1277b5a928e5b426ab616ebf486f7 100644 (file)
                <Filter
                        Name="platform"
                        >
-                       <File
-                               RelativePath="..\..\platform\AbstractShared.h"
-                               >
-                       </File>
                        <File
                                RelativePath="..\..\platform\Arena.cpp"
                                >
                                RelativePath="..\..\platform\ContextMenu.h"
                                >
                        </File>
+                       <File
+                               RelativePath="..\..\platform\ContextMenuItem.h"
+                               >
+                       </File>
                        <File
                                RelativePath="..\..\platform\CookieJar.h"
                                >
                                RelativePath="..\..\platform\MimeTypeRegistry.h"
                                >
                        </File>
+                       <File
+                               RelativePath="..\..\platform\Pasteboard.h"
+                               >
+                       </File>
                        <File
                                RelativePath="..\..\platform\PlatformKeyboardEvent.h"
                                >
                                        RelativePath="..\..\platform\network\ResourceHandleInternal.h"
                                        >
                                </File>
+                               <File
+                                       RelativePath="..\..\platform\network\ResourceRequest.cpp"
+                                       >
+                               </File>
                                <File
                                        RelativePath="..\..\platform\network\ResourceRequest.h"
                                        >
                                </File>
+                               <File
+                                       RelativePath="..\..\platform\network\ResourceResponse.cpp"
+                                       >
+                               </File>
                                <File
                                        RelativePath="..\..\platform\network\ResourceResponse.h"
                                        >
                                RelativePath="..\..\dom\Clipboard.h"
                                >
                        </File>
+                       <File
+                               RelativePath="..\..\dom\ClipboardAccessPolicy.h"
+                               >
+                       </File>
                        <File
                                RelativePath="..\..\dom\ClipboardEvent.cpp"
                                >
index effe821b32d687526268f6e0f308d76cbcebfafb..8270d6203f17c3c0fc1c466a329ac71e0389a622 100644 (file)
@@ -35,6 +35,7 @@ namespace WebCore {
     class ChromeClientWin : public ChromeClient, public Shared<ChromeClientWin> {
     public:
         virtual ~ChromeClientWin() { }
+        virtual void chromeDestroyed();
 
         virtual void ref() { Shared<ChromeClientWin>::ref(); }
         virtual void deref() { Shared<ChromeClientWin>::deref(); }
@@ -69,6 +70,8 @@ namespace WebCore {
         virtual bool menubarVisible();
 
         virtual void setResizable(bool);
+
+        virtual void addMessageToConsole(const String& message, unsigned int lineNumber, const String& sourceID);
     };
 
 }
index e316a48f2c80fb3697703996139a8de01fa0aabc..787944f6b9ed3b239fc6f30d92a21dcf3678f07a 100644 (file)
@@ -35,11 +35,13 @@ namespace WebCore {
     class ContextMenuClientWin : public ContextMenuClient, public Shared<ContextMenuClientWin> {
     public:
         virtual ~ContextMenuClientWin() { }
+        virtual void contextMenuDestroyed();
 
         virtual void ref() { Shared<ContextMenuClientWin>::ref(); }
         virtual void deref() { Shared<ContextMenuClientWin>::deref(); }
 
         virtual void addCustomContextMenuItems(ContextMenu*);
+        virtual void contextMenuItemSelected(ContextMenuItem*);
 
         virtual void copyLinkToClipboard(HitTestResult);
         virtual void downloadURL(KURL);
index b67e214f1e2af3bcd43249593c062fbcbc8ff0b9..e01c7631782231c94910bd8d42e949982fbaed45 100644 (file)
@@ -35,13 +35,14 @@ namespace WebCore {
     class EditorClientWin : public EditorClient, public Shared<EditorClientWin> {
     public:
         virtual ~EditorClientWin() { }
+        virtual void pageDestroyed();
 
         virtual void ref() { Shared<EditorClientWin>::ref(); }
         virtual void deref() { Shared<EditorClientWin>::deref(); }
 
         virtual bool shouldDeleteRange(Range*);
         virtual bool shouldShowDeleteInterface(HTMLElement*);
-
+        virtual bool smartInsertDeleteEnabled();
         virtual bool isContinuousSpellCheckingEnabled();
         virtual bool isGrammarCheckingEnabled();
         virtual int spellCheckerDocumentTag();
@@ -51,6 +52,7 @@ namespace WebCore {
 
         virtual bool shouldBeginEditing(Range*);
         virtual bool shouldEndEditing(Range*);
+        virtual bool shouldInsertNode(Node*, Range*, EditorInsertAction);
         virtual bool shouldInsertText(String, Range*, EditorInsertAction);
         virtual bool shouldApplyStyle(CSSStyleDeclaration*, Range*);
 
index c723c08e588c0581749e1e4db5b5ab95ca500581..b091204bad7ab8ca738d911a11539c670739cac1 100644 (file)
@@ -44,8 +44,8 @@
 
 namespace WebCore {
 
-FrameWin::FrameWin(Page* page, Element* ownerElement,  PassRefPtr<EditorClient> editorClient, FrameWinClient* client)
-    : Frame(page, ownerElement, editorClient)
+FrameWin::FrameWin(Page* page, Element* ownerElement, FrameWinClient* client)
+    : Frame(page, ownerElement, new FrameLoaderClientWin())
     , m_client(client)
 {
     Settings* settings = new Settings();
@@ -58,9 +58,6 @@ FrameWin::FrameWin(Page* page, Element* ownerElement,  PassRefPtr<EditorClient>
     settings->setStdFontName("Times New Roman");
     settings->setIsJavaScriptEnabled(true);
     setSettings(settings);
-
-    // FIXME: rework once FrameLoaderClientWin is even close to working
-    loader()->setClient(new FrameLoaderClientWin());
 }
 
 FrameWin::~FrameWin()
@@ -96,7 +93,7 @@ bool FrameWin::keyPress(const PlatformKeyboardEvent& keyEvent)
     Document *doc = document();
     if (!doc)
         return false;
-    Node *node = doc->focusNode();
+    Node *node = doc->focusedNode();
     if (!node) {
         if (doc->isHTMLDocument())
             node = doc->body();
@@ -105,7 +102,7 @@ bool FrameWin::keyPress(const PlatformKeyboardEvent& keyEvent)
         if (!node)
             return false;
     }
-    
+
     if (!keyEvent.isKeyUp())
         loader()->resetMultipleFormSubmissionProtection();
 
@@ -116,9 +113,4 @@ bool FrameWin::keyPress(const PlatformKeyboardEvent& keyEvent)
     return result;
 }
 
-void FrameWin::createNewWindow(const FrameLoadRequest& request, const WindowFeatures& features, Frame*& newFrame)
-{
-    m_client->createNewWindow(request.resourceRequest(), features, newFrame);
-}
-
 } // namespace WebCore
index e4c5f58f80d92316aa2fbe4b442d8f2a34e96ca3..853df4af5949b108f0fb9b4f783f9e2a8a79301b 100644 (file)
@@ -47,66 +47,39 @@ namespace WebCore {
 
     class FrameWin : public Frame {
     public:
-        FrameWin(Page*, Element*, PassRefPtr<EditorClient>, FrameWinClient*);
+        FrameWin(Page*, Element*, FrameWinClient*);
         virtual ~FrameWin();
 
-        virtual void createNewWindow(const FrameLoadRequest&, const WindowFeatures&, Frame*& part);
-
-        virtual void scheduleClose();
-
-        virtual void focusWindow();
-        virtual void unfocusWindow();
-
-        virtual void addMessageToConsole(const String& message,  unsigned int lineNumber, const String& sourceID);
+        virtual KJS::Bindings::Instance* getEmbedInstanceForWidget(Widget*);
+        virtual KJS::Bindings::Instance* getObjectInstanceForWidget(Widget*);
+        virtual KJS::Bindings::Instance* getAppletInstanceForWidget(Widget*);
+        virtual KJS::Bindings::RootObject* bindingRootObject();
 
         virtual void runJavaScriptAlert(const String& message);
         virtual bool runJavaScriptConfirm(const String& message);
         virtual bool runJavaScriptPrompt(const String& message, const String& defaultValue, String& result);
         virtual bool shouldInterruptJavaScript();
-
-        virtual bool locationbarVisible();
-        virtual bool menubarVisible();
-        virtual bool personalbarVisible();
-        virtual bool statusbarVisible();
-        virtual bool toolbarVisible();
-
-        virtual Range* markedTextRange() const;
-
-        virtual String mimeTypeForFileName(const String&) const;
+        virtual void scheduleClose();
+        virtual void focusWindow();
+        virtual void unfocusWindow();
+        virtual void print();
 
         virtual void ignoreSpelling();
         virtual void learnSpelling();
+        virtual bool isSelectionMisspelled();
+        virtual Vector<String> guessesForMisspelledSelection();
         virtual void markMisspellingsInAdjacentWords(const VisiblePosition&);
         virtual void markMisspellings(const Selection&);
-
-        virtual bool lastEventIsMouseUp() const;
-
-        virtual bool passSubframeEventToSubframe(MouseEventWithHitTestResults &, Frame* subframePart = 0);
-        virtual bool passWheelEventToChildWidget(Node*);
-
-        virtual KJS::Bindings::Instance* getEmbedInstanceForWidget(Widget*);
-        virtual KJS::Bindings::Instance* getObjectInstanceForWidget(Widget*);
-        virtual KJS::Bindings::Instance* getAppletInstanceForWidget(Widget*);
-        virtual KJS::Bindings::RootObject* bindingRootObject();
-
-        virtual void registerCommandForUndo(PassRefPtr<EditCommand>);
-        virtual void registerCommandForRedo(PassRefPtr<EditCommand>);
-        virtual void clearUndoRedoOperations();
-        virtual void issueUndoCommand();
-        virtual void issueRedoCommand();
+        virtual Range* markedTextRange() const;
         virtual void issueCutCommand();
         virtual void issueCopyCommand();
         virtual void issuePasteCommand();
         virtual void issuePasteAndMatchStyleCommand();
         virtual void issueTransposeCommand();
         virtual void respondToChangedSelection(const Selection& oldSelection, bool closeTyping);
-        virtual void respondToChangedContents(const Selection& endingSelection);
         virtual bool shouldChangeSelection(const Selection& oldSelection, const Selection& newSelection, EAffinity affinity, bool stillSelecting) const;
 
-        virtual bool canPaste() const;
-        virtual bool canRedo() const;
-        virtual bool canUndo() const;
-        virtual void print();
+        virtual String mimeTypeForFileName(const String&) const;
 
         virtual bool keyPress(const PlatformKeyboardEvent&);
 
index e51dedb3d687be7b18df8781724cb5ea750a88df..37ce18496cef0e0fcf0980d26bd31f5f7f9ec18f 100644 (file)
@@ -35,6 +35,7 @@ namespace WebCore {
     class FrameLoaderClientWin : public FrameLoaderClient, public Shared<FrameLoaderClientWin> {
     public:
         virtual ~FrameLoaderClientWin() { }
+        virtual void frameLoaderDestroyed();
 
         virtual void ref() { Shared<FrameLoaderClientWin>::ref(); }
         virtual void deref() { Shared<FrameLoaderClientWin>::deref(); }
@@ -122,6 +123,7 @@ namespace WebCore {
         virtual void cancelPendingArchiveLoad(ResourceLoader*);
         virtual void clearArchivedResources();
 
+        virtual bool canHandleRequest(const ResourceRequest&) const;
         virtual bool canShowMIMEType(const String&) const;
         virtual bool representationExistsForURLScheme(const String&) const;
         virtual String generatedMIMETypeForURLScheme(const String&) const;
index 7d76ade10b84900cb1c315d2404b348a1db608bc..0552d405d46621f2e83aac67ef4c5fa8715a8c04 100644 (file)
@@ -31,7 +31,9 @@
 #include "ContextMenuItem.h"
 #include "HitTestResult.h"
 #include "PlatformString.h"
+#if PLATFORM(MAC)
 #include "RetainPtr.h"
+#endif
 
 #if PLATFORM(MAC)
 #ifdef __OBJC__
index 28a41330da7506aa7e349cf07076b5d24691937e..8ac72fa2423cfd92d04b53f1e8715eb5d305a3dd 100644 (file)
@@ -167,10 +167,6 @@ namespace WebCore {
 
         bool suppressInvalidation() const;
         void setSuppressInvalidation(bool);
-
-        // These methods will be called on a widget while it is capturing the mouse.
-        virtual bool handleMouseMoveEvent(const PlatformMouseEvent&) { return false; }
-        virtual bool handleMouseReleaseEvent(const PlatformMouseEvent&) { return false; }
 #endif
 
 #if PLATFORM(GDK)
index 08fbc90dfac261a349c6aaf444b14b1470290eb0..3dbb11ba9182fe40758ebb5ec8a5a405365002a6 100644 (file)
@@ -44,9 +44,6 @@ public:
     virtual void setEnabled(bool);
     virtual void paint(GraphicsContext*, const IntRect& damageRect);
 
-    virtual void handleMouseMoveEvent(const PlatformMouseEvent&) {};
-    virtual void handleMouseOutEvent(const PlatformMouseEvent&) {};
-
     static int horizontalScrollbarHeight() { return 17; }
     static int verticalScrollbarWidth() { return 17; }
 
index 760c581158b5d48f88cad9bd0c3c3cd1f37f2de7..601bd055c6bb6630157e2bd7731184185cc5857d 100644 (file)
 #include "AXObjectCache.h"
 #include "CachedResource.h"
 #include "ChromeClientWin.h"
+#include "Clipboard.h"
 #include "ContextMenu.h"
 #include "ContextMenuClientWin.h"
+#include "ContextMenuItem.h"
 #include "CookieJar.h"
 #include "CString.h"
 #include "Cursor.h"
+#include "DocumentFragment.h"
 #include "DocumentLoader.h"
 #include "EditCommand.h"
+#include "Editor.h"
 #include "EditorClientWin.h"
 #include "EventHandler.h"
 #include "FileChooser.h"
@@ -62,6 +66,7 @@
 #include "LocalizedStrings.h"
 #include "Node.h"
 #include "Page.h"
+#include "Pasteboard.h"
 #include "Path.h"
 #include "PlatformMouseEvent.h"
 #include "PlatformScrollBar.h"
@@ -122,9 +127,9 @@ String submitButtonDefaultLabel() { notImplemented(); return "Submit"; }
 
 bool AXObjectCache::gAccessibilityEnabled = false;
 
-void CachedResource::setPlatformResponse(PlatformResponse) { notImplemented(); }
 void CachedResource::setAllData(PlatformData) { notImplemented(); }
 
+void ChromeClientWin::chromeDestroyed() { notImplemented(); }
 void ChromeClientWin::setWindowRect(const FloatRect&) { notImplemented(); }
 FloatRect ChromeClientWin::windowRect() { notImplemented(); return FloatRect(); }
 FloatRect ChromeClientWin::pageRect() { notImplemented(); return FloatRect(); }
@@ -145,16 +150,23 @@ bool ChromeClientWin::scrollbarsVisible() { notImplemented(); return false; }
 void ChromeClientWin::setMenubarVisible(bool) { notImplemented(); }
 bool ChromeClientWin::menubarVisible() { notImplemented(); return false; }
 void ChromeClientWin::setResizable(bool) { notImplemented(); }
+void ChromeClientWin::addMessageToConsole(const String& message, unsigned int lineNumber, const String& sourceID) { notImplemented(); }
 
-void ContextMenu::appendItem(ContextMenuItem item) { notImplemented(); }
+ContextMenu::ContextMenu(const HitTestResult& result) : m_hitTestResult(result) { notImplemented(); }
+ContextMenu::~ContextMenu() { notImplemented(); }
+void ContextMenu::appendItem(const ContextMenuItem& item) { notImplemented(); }
 void ContextMenu::show() { notImplemented(); }
 
+void ContextMenuClientWin::contextMenuDestroyed() { notImplemented(); }
 void ContextMenuClientWin::addCustomContextMenuItems(ContextMenu*) { notImplemented(); }
+void ContextMenuClientWin::contextMenuItemSelected(ContextMenuItem*) { notImplemented(); }
 void ContextMenuClientWin::copyLinkToClipboard(HitTestResult) { notImplemented(); }
 void ContextMenuClientWin::downloadURL(KURL) { notImplemented(); }
 void ContextMenuClientWin::copyImageToClipboard(HitTestResult) { notImplemented(); }
 void ContextMenuClientWin::lookUpInDictionary(Frame*) { notImplemented(); }
 
+ContextMenuItem::~ContextMenuItem() { notImplemented(); }
+
 void DocumentLoader::setFrame(Frame*) { notImplemented(); }
 FrameLoader* DocumentLoader::frameLoader() const { notImplemented(); return m_frame->loader(); }
 KURL DocumentLoader::URL() const { notImplemented(); return KURL(); }
@@ -166,8 +178,12 @@ void DocumentLoader::setupForReplaceByMIMEType(const String& newMIMEType) { notI
 bool DocumentLoader::isLoadingInAPISense() const { notImplemented(); return false; }
 void DocumentLoader::stopRecordingResponses() { notImplemented(); }
 
+PassRefPtr<Clipboard> Editor::newGeneralClipboard(ClipboardAccessPolicy policy) { notImplemented(); return 0; }
+
+void EditorClientWin::pageDestroyed() { notImplemented(); }
 bool EditorClientWin::shouldDeleteRange(Range*) { notImplemented(); return false; }
 bool EditorClientWin::shouldShowDeleteInterface(HTMLElement*) { notImplemented(); return false; }
+bool EditorClientWin::smartInsertDeleteEnabled() { notImplemented(); return false; }
 bool EditorClientWin::isContinuousSpellCheckingEnabled() { notImplemented(); return false; }
 bool EditorClientWin::isGrammarCheckingEnabled() { notImplemented(); return false; }
 int EditorClientWin::spellCheckerDocumentTag() { notImplemented(); return 0; }
@@ -175,6 +191,7 @@ bool EditorClientWin::selectWordBeforeMenuEvent() { notImplemented(); return fal
 bool EditorClientWin::isEditable() { notImplemented(); return false; }
 bool EditorClientWin::shouldBeginEditing(Range*) { notImplemented(); return false; }
 bool EditorClientWin::shouldEndEditing(Range*) { notImplemented(); return false; }
+bool EditorClientWin::shouldInsertNode(Node*, Range*, EditorInsertAction) { notImplemented(); return false; }
 bool EditorClientWin::shouldInsertText(String, Range*, EditorInsertAction) { notImplemented(); return false; }
 bool EditorClientWin::shouldApplyStyle(CSSStyleDeclaration*, Range*) { notImplemented(); return false; }
 void EditorClientWin::didBeginEditing() { notImplemented(); }
@@ -231,11 +248,11 @@ KURL FrameLoader::originalRequestURL() 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::detachFromParent() { notImplemented(); }
 void FrameLoader::checkLoadCompleteForThisFrame() { notImplemented(); }
 void FrameLoader::reload() { notImplemented(); }
 
-bool FrameLoaderClientWin::hasWebView() const { notImplemented(); return false; }
+void FrameLoaderClientWin::frameLoaderDestroyed() { notImplemented(); }
+bool FrameLoaderClientWin::hasWebView() const { notImplemented(); return true; }
 bool FrameLoaderClientWin::hasFrameView() const { notImplemented(); return false; }
 bool FrameLoaderClientWin::hasBackForwardList() const { notImplemented(); return false; }
 void FrameLoaderClientWin::resetBackForwardList() { notImplemented(); }
@@ -294,6 +311,7 @@ void FrameLoaderClientWin::setDefersLoading(bool) { notImplemented(); }
 bool FrameLoaderClientWin::isArchiveLoadPending(ResourceLoader*) const { notImplemented(); return false; }
 void FrameLoaderClientWin::cancelPendingArchiveLoad(ResourceLoader*) { notImplemented(); }
 void FrameLoaderClientWin::clearArchivedResources() { notImplemented(); }
+bool FrameLoaderClientWin::canHandleRequest(const ResourceRequest&) const { notImplemented(); return false; }
 bool FrameLoaderClientWin::canShowMIMEType(const String&) const { notImplemented(); return false; }
 bool FrameLoaderClientWin::representationExistsForURLScheme(const String&) const { notImplemented(); return false; }
 String FrameLoaderClientWin::generatedMIMETypeForURLScheme(const String&) const { notImplemented(); return String(); }
@@ -311,15 +329,9 @@ void FrameView::updateBorder() { notImplemented(); }
 
 void FrameWin::focusWindow() { notImplemented(); }
 void FrameWin::unfocusWindow() { notImplemented(); }
-bool FrameWin::locationbarVisible() { notImplemented(); return 0; }
-void FrameWin::issueRedoCommand(void) { notImplemented(); }
 KJS::Bindings::Instance* FrameWin::getObjectInstanceForWidget(Widget*) { notImplemented(); return 0; }
 KJS::Bindings::Instance* FrameWin::getEmbedInstanceForWidget(Widget*) { notImplemented(); return 0; }
 KJS::Bindings::RootObject* FrameWin::bindingRootObject() { notImplemented(); return 0; }
-bool FrameWin::canRedo() const { notImplemented(); return 0; }
-bool FrameWin::canUndo() const { notImplemented(); return 0; }
-void FrameWin::registerCommandForUndo(PassRefPtr<WebCore::EditCommand>) { notImplemented(); }
-void FrameWin::registerCommandForRedo(PassRefPtr<WebCore::EditCommand>) { notImplemented(); }
 bool FrameWin::runJavaScriptPrompt(String const&, String const&, String &) { notImplemented(); return 0; }
 bool FrameWin::shouldInterruptJavaScript() { notImplemented(); return false; }
 void FrameWin::print() { notImplemented(); }
@@ -327,31 +339,21 @@ KJS::Bindings::Instance* FrameWin::getAppletInstanceForWidget(Widget*) { notImpl
 bool FrameWin::passMouseDownEventToWidget(Widget*) { notImplemented(); return 0; }
 void FrameWin::issueCutCommand() { notImplemented(); }
 void FrameWin::issueCopyCommand() { notImplemented(); }
-bool FrameWin::passWheelEventToChildWidget(Node*) { notImplemented(); return 0; }
-void FrameWin::issueUndoCommand() { notImplemented(); }
 String FrameWin::mimeTypeForFileName(String const&) const { notImplemented(); return String(); }
 void FrameWin::issuePasteCommand() { notImplemented(); }
 void FrameWin::scheduleClose() { notImplemented(); }
 void FrameWin::markMisspellings(const WebCore::Selection&) { notImplemented(); }
-bool FrameWin::menubarVisible() { notImplemented(); return 0; }
-bool FrameWin::personalbarVisible() { notImplemented(); return 0; }
-bool FrameWin::statusbarVisible() { notImplemented(); return 0; }
-bool FrameWin::toolbarVisible() { notImplemented(); return 0; }
 void FrameWin::issueTransposeCommand() { notImplemented(); }
-bool FrameWin::canPaste() const { notImplemented(); return 0; }
 void FrameWin::issuePasteAndMatchStyleCommand() { notImplemented(); }
 bool FrameWin::isLoadTypeReload() { notImplemented(); return false; }
 Range* FrameWin::markedTextRange() const { notImplemented(); return 0; }
-bool FrameWin::passSubframeEventToSubframe(MouseEventWithHitTestResults&, Frame*) { notImplemented(); return false; }
-bool FrameWin::lastEventIsMouseUp() const { notImplemented(); return false; }
-void FrameWin::addMessageToConsole(String const&, unsigned int, String const&) { notImplemented(); }
 bool FrameWin::shouldChangeSelection(const Selection&, const Selection&, EAffinity, bool) const { notImplemented(); return true; }
 void FrameWin::respondToChangedSelection(const Selection&, bool) { notImplemented(); }
-void FrameWin::clearUndoRedoOperations(void) { notImplemented(); }
 void FrameWin::markMisspellingsInAdjacentWords(VisiblePosition const&) { notImplemented(); }
-void FrameWin::respondToChangedContents(const Selection&) { notImplemented(); }
 void FrameWin::ignoreSpelling() { notImplemented(); }
 void FrameWin::learnSpelling() { notImplemented(); }
+bool FrameWin::isSelectionMisspelled() { notImplemented(); return false; }
+Vector<String> FrameWin::guessesForMisspelledSelection() { notImplemented(); return Vector<String>(); }
 
 void GraphicsContext::addRoundedRectClip(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) { notImplemented(); }
 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness) { notImplemented(); }
@@ -387,6 +389,20 @@ bool Image::getHBITMAP(HBITMAP) { notImplemented(); return false; }
 
 HINSTANCE Page::s_instanceHandle = 0;
 
+Pasteboard* Pasteboard::generalPasteboard() { notImplemented(); return 0; }
+void Pasteboard::writeSelection(PassRefPtr<Range>, bool canSmartCopyOrDelete, Frame*) { notImplemented(); }
+void Pasteboard::clearTypes() { notImplemented(); }
+bool Pasteboard::canSmartReplace() { notImplemented(); return false; }
+PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame*, PassRefPtr<Range>, bool allowPlainText, bool& chosePlainText) { notImplemented(); return 0; }
+String Pasteboard::plainText(Frame* frame) { notImplemented(); return String(); }
+Pasteboard::Pasteboard() { notImplemented(); }
+Pasteboard::~Pasteboard() { notImplemented(); }
+HashSet<int> Pasteboard::registerSelectionPasteboardTypes() { notImplemented(); return HashSet<int>(); }
+void Pasteboard::replaceNBSP(String&) { notImplemented(); }
+HGLOBAL Pasteboard::createHandle(String) { notImplemented(); return 0; }
+HGLOBAL Pasteboard::createHandle(CString) { notImplemented(); return 0; }
+DeprecatedCString Pasteboard::createCF_HTMLFromRange(PassRefPtr<Range>) { notImplemented(); return DeprecatedCString(); }
+
 Path::Path() { notImplemented(); }
 Path::~Path() { notImplemented(); }
 Path::Path(const Path&) { notImplemented(); }
index 1dcb4142d03d74f28d87d5522e81533eaa506f32..4405a0f4a6f7baed35c87fec4f319816b34d2d97 100644 (file)
@@ -139,8 +139,8 @@ HRESULT STDMETHODCALLTYPE WebFrame::initWithName(
     if (FAILED(hr))
         return hr;
 
-    Page* page = new Page(new ChromeClientWin(), new ContextMenuClientWin());
-    Frame* frame = new FrameWin(page, 0, new EditorClientWin(), this);
+    Page* page = new Page(new ChromeClientWin(), new ContextMenuClientWin(), new EditorClientWin());
+    Frame* frame = new FrameWin(page, 0, this);
 
     // FIXME: This is one-time initialization, but it gets the value of the setting from the
     // current WebView. That's a mismatch and not good!
index bcb438f75efbebd9bd4c8f6cd306ad13a876cdcd..d075156e3ae5a3e52e13b57622a916d34938c608 100644 (file)
@@ -1,3 +1,13 @@
+2006-12-01  Don Gibson  <dgibson77@gmail.com>
+
+        Reviewed by Mitz.
+
+        http://bugs.webkit.org/show_bug.cgi?id=11732:
+        Windows build bustage.
+
+        * COM/WebFrame.cpp:
+        (WebFrame::initWithName):
+
 2006-12-01  Timothy Hatcher  <timothy@apple.com>
 
         Reviewed by Adam.