WebCore:
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Jun 2007 03:38:05 +0000 (03:38 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Jun 2007 03:38:05 +0000 (03:38 +0000)
        More speculative Qt/Gdk build fixes.

        * WebCore.pro: Add new files.

WebKitQt:

        More speculative Qt build fixes.

        Add a stub implementation of InspectorClientQt.

        * WebCoreSupport/InspectorClientQt.cpp: Added.
        (WebCore::InspectorClientQt::inspectorDestroyed):
        (WebCore::InspectorClientQt::createPage):
        (WebCore::InspectorClientQt::showWindow):
        (WebCore::InspectorClientQt::closeWindow):
        (WebCore::InspectorClientQt::attachWindow):
        (WebCore::InspectorClientQt::detachWindow):
        (WebCore::InspectorClientQt::highlight):
        (WebCore::InspectorClientQt::hideHighlight):
        * WebCoreSupport/InspectorClientQt.h: Added.

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

WebCore/ChangeLog
WebCore/WebCore.pro
WebKitQt/ChangeLog
WebKitQt/WebCoreSupport/InspectorClientQt.cpp [new file with mode: 0644]
WebKitQt/WebCoreSupport/InspectorClientQt.h [new file with mode: 0644]

index e8b5903fe9bcfd20486c0268a1f26bc11d7c2fb5..5e6ceaffca96da55c58911fdca0ae2f76492336d 100644 (file)
@@ -1,3 +1,9 @@
+2007-06-20  Adam Roben  <aroben@apple.com>
+
+        More speculative Qt/Gdk build fixes.
+
+        * WebCore.pro: Add new files.
+
 2007-06-20  Adam Roben  <aroben@apple.com>
 
         Speculative Qt/Gdk build fix.
index a37b242d1bf9ed7a4a3da3858933cad1df90d7d8..7a1bcb6ed12ddd9635b71152115d565a62b11a69 100644 (file)
@@ -571,6 +571,7 @@ SOURCES += \
     page/FrameTree.cpp \
     page/FrameView.cpp \
     page/History.cpp \
+    page/InspectorController.cpp \
     page/MouseEventWithHitTestResults.cpp \
     page/Page.cpp \
     page/Screen.cpp \
@@ -793,6 +794,7 @@ qt-port:SOURCES += \
     ../WebKitQt/WebCoreSupport/EditorClientQt.cpp \
     ../WebKitQt/WebCoreSupport/EditCommandQt.cpp \
     ../WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp \
+    ../WebKitQt/WebCoreSupport/InspectorClientQt.cpp \
     ../WebKitQt/Api/qwebframe.cpp \
     ../WebKitQt/Api/qwebnetworkinterface.cpp \
     ../WebKitQt/Api/qcookiejar.cpp \
index 8f06923306eaf5b96295c3ce2d6449c7944f9b95..a60f9c484d50125485170a2086fe3924812278de 100644 (file)
@@ -1,3 +1,20 @@
+2007-06-20  Adam Roben  <aroben@apple.com>
+
+        More speculative Qt build fixes.
+
+        Add a stub implementation of InspectorClientQt.
+
+        * WebCoreSupport/InspectorClientQt.cpp: Added.
+        (WebCore::InspectorClientQt::inspectorDestroyed):
+        (WebCore::InspectorClientQt::createPage):
+        (WebCore::InspectorClientQt::showWindow):
+        (WebCore::InspectorClientQt::closeWindow):
+        (WebCore::InspectorClientQt::attachWindow):
+        (WebCore::InspectorClientQt::detachWindow):
+        (WebCore::InspectorClientQt::highlight):
+        (WebCore::InspectorClientQt::hideHighlight):
+        * WebCoreSupport/InspectorClientQt.h: Added.
+
 2007-06-19  George Staikos  <staikos@kde.org>
 
         Reviewed by Tim Hatcher.
diff --git a/WebKitQt/WebCoreSupport/InspectorClientQt.cpp b/WebKitQt/WebCoreSupport/InspectorClientQt.cpp
new file mode 100644 (file)
index 0000000..e7ad163
--- /dev/null
@@ -0,0 +1,82 @@
+/*
+ * Copyright (C) 2007 Apple Inc.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1.  Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer. 
+ * 2.  Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution. 
+ * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ *     its contributors may be used to endorse or promote products derived
+ *     from this software without specific prior written permission. 
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "InspectorClientQt.h"
+
+#include "NotImplemented.h"
+
+namespace WebCore {
+
+void InspectorClientQt::inspectorDestroyed()
+{
+    notImplemented();
+}
+
+Page* InspectorClientQt::createPage()
+{
+    notImplemented();
+    return 0;
+}
+
+void InspectorClientQt::showWindow()
+{
+    notImplemented();
+}
+
+void InspectorClientQt::closeWindow()
+{
+    notImplemented();
+}
+
+void InspectorClientQt::attachWindow()
+{
+    notImplemented();
+}
+
+void InspectorClientQt::detachWindow()
+{
+    notImplemented();
+}
+
+void InspectorClientQt::highlight(Node* node)
+{
+    notImplemented();
+}
+
+void InspectorClientQt::hideHighlight()
+{
+    notImplemented();
+}
+
+void InspectorClientQt::inspectedURLChanged(const String&)
+{
+    notImplemented();
+}
+
+}
diff --git a/WebKitQt/WebCoreSupport/InspectorClientQt.h b/WebKitQt/WebCoreSupport/InspectorClientQt.h
new file mode 100644 (file)
index 0000000..e40422b
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+ * Copyright (C) 2007 Apple Inc.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1.  Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer. 
+ * 2.  Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution. 
+ * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ *     its contributors may be used to endorse or promote products derived
+ *     from this software without specific prior written permission. 
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef InspectorClientQt_h
+#define InspectorClientQt_h
+
+#include "InspectorClient.h"
+
+namespace WebCore {
+    class Node;
+    class Page;
+    class String;
+
+    class InspectorClientQt : public InspectorClient {
+    public:
+        virtual void inspectorDestroyed();
+
+        virtual Page* createPage();
+
+        virtual void showWindow();
+        virtual void closeWindow();
+
+        virtual void attachWindow();
+        virtual void detachWindow();
+
+        virtual void highlight(Node*);
+        virtual void hideHighlight();
+        virtual void inspectedURLChanged(const String& newURL);
+    };
+}
+
+#endif