2006-10-01 Nikolas Zimmermann <zimmermann@kde.org>
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Oct 2006 10:05:01 +0000 (10:05 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Oct 2006 10:05:01 +0000 (10:05 +0000)
        Reviewed by Eric, tweaked and landed by ap.

        Fix Qt/Linux build.

        * CMakeLists.txt:
        * platform/qt/PlatformScrollBar.h:
        * platform/qt/TemporaryLinkStubs.cpp:
        (WebCore::ScrollBar::ScrollBar):
        (WebCore::PlatformScrollBar::PlatformScrollBar):
        (FrameView::passMousePressEventToSubframe):
        (FrameView::passMouseMoveEventToSubframe):
        (FrameView::passMouseReleaseEventToSubframe):
        (FrameView::passWheelEventToSubframe):
        (FrameView::passMousePressEventToScrollbar):
        * ksvg2/svg/SVGDocument.h:

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

WebCore/CMakeLists.txt
WebCore/ChangeLog
WebCore/ksvg2/svg/SVGDocument.h
WebCore/platform/qt/PlatformScrollBar.h
WebCore/platform/qt/TemporaryLinkStubs.cpp

index 5af6d9e5ecc220b11e92cf3c0c020eac06bea2bd..5e20b73fb994bf5cc786780152c7c2c7870c3fee 100644 (file)
@@ -1071,6 +1071,7 @@ set(WebCore_SRCS
     platform/GlyphMap.cpp
     platform/Font.cpp
     platform/FontData.cpp
+    rendering/RenderListBox.cpp
     rendering/RenderReplaced.cpp
     rendering/RenderPartObject.cpp
     rendering/RenderView.cpp
index 78e2f841ca3a1eb58a030d84fd518262f26076a1..ebecbd42db97b6cafff8bad01646368658bcee13 100644 (file)
@@ -1,3 +1,21 @@
+2006-10-01  Nikolas Zimmermann  <zimmermann@kde.org>
+
+        Reviewed by Eric, tweaked and landed by ap.
+
+        Fix Qt/Linux build.
+
+        * CMakeLists.txt:
+        * platform/qt/PlatformScrollBar.h:
+        * platform/qt/TemporaryLinkStubs.cpp:
+        (WebCore::ScrollBar::ScrollBar):
+        (WebCore::PlatformScrollBar::PlatformScrollBar):
+        (FrameView::passMousePressEventToSubframe):
+        (FrameView::passMouseMoveEventToSubframe):
+        (FrameView::passMouseReleaseEventToSubframe):
+        (FrameView::passWheelEventToSubframe):
+        (FrameView::passMousePressEventToScrollbar):
+        * ksvg2/svg/SVGDocument.h:
+
 2006-10-01  Mitz Pettel  <opendarwin.org@mitzpettel.com>
 
         Reviewed by Darin.
index 5dccee0c921596d217728be8b3822f10930be064..6519674f6ce5f49460c249ed0bebe30707a7e999 100644 (file)
@@ -41,7 +41,7 @@ namespace WebCore {
 
         SVGSVGElement* rootElement() const;
         
-        virtual PassRefPtr<Element> SVGDocument::createElement(const String& tagName, ExceptionCode&);
+        virtual PassRefPtr<Element> createElement(const String& tagName, ExceptionCode&);
         
         void dispatchZoomEvent(float prevScale, float newScale);
         void dispatchScrollEvent();
index a189a7b17c564280f7a4d01cdb35eaf23d0dacdd..7bb00a3ceecfda2fd4af274fb6c7f83b803fae61 100644 (file)
@@ -33,7 +33,7 @@ namespace WebCore {
 
 class PlatformScrollBar : public Widget, public ScrollBar {
 public:
-    PlatformScrollBar(ScrollBarClient*, ScrollBarOrientation);
+    PlatformScrollBar(ScrollBarClient*, ScrollBarOrientation, ScrollBarControlSize);
     virtual ~PlatformScrollBar();
 
     virtual bool isWidget() const { return true; }
index 4eabe098f8251393ecbecb32520dddbc93e02fec..5ace966589faaebfb38efa3fb7eed871e49d9f35 100644 (file)
@@ -121,13 +121,13 @@ void Slider::setFont(WebCore::Font const&) { notImplemented(); }
 double Slider::value() const { notImplemented(); return 0; }
 Widget::FocusPolicy Slider::focusPolicy() const { notImplemented(); return NoFocus; }
 
-ScrollBar::ScrollBar(ScrollBarClient *, ScrollBarOrientation) { notImplemented(); }
+ScrollBar::ScrollBar(ScrollBarClient*, ScrollBarOrientation, ScrollBarControlSize) { notImplemented(); }
 void ScrollBar::setSteps(int, int) { notImplemented(); }
 bool ScrollBar::scroll(ScrollDirection, ScrollGranularity, float) { notImplemented(); return 0; }
 bool ScrollBar::setValue(int) { notImplemented(); return 0; }
 void ScrollBar::setProportion(int, int) { notImplemented(); }
 
-PlatformScrollBar::PlatformScrollBar(ScrollBarClient* client, ScrollBarOrientation orientation) : ScrollBar(client, orientation) { notImplemented(); }
+PlatformScrollBar::PlatformScrollBar(ScrollBarClient* client, ScrollBarOrientation orientation, ScrollBarControlSize controlSize) : ScrollBar(client, orientation, controlSize) { notImplemented(); }
 PlatformScrollBar::~PlatformScrollBar() { notImplemented(); }
 int PlatformScrollBar::width() const { notImplemented(); return 0; }
 int PlatformScrollBar::height() const { notImplemented(); return 0; }
@@ -175,6 +175,11 @@ bool WebCore::screenIsMonochrome(const Page*) { notImplemented(); return false;
 void WebCore::setFocusRingColorChangeFunction(void (*)()) { notImplemented(); }
 
 void FrameView::updateBorder() { notImplemented(); }
+bool FrameView::passMousePressEventToSubframe(MouseEventWithHitTestResults& mev, Frame* subframe) { return true; }
+bool FrameView::passMouseMoveEventToSubframe(MouseEventWithHitTestResults& mev, Frame* subframe) { return true; }
+bool FrameView::passMouseReleaseEventToSubframe(MouseEventWithHitTestResults& mev, Frame* subframe) { return true; }
+bool FrameView::passWheelEventToSubframe(PlatformWheelEvent& e, Frame* subframe) { return false; }
+bool FrameView::passMousePressEventToScrollbar(MouseEventWithHitTestResults& mev) { return false; }
 
 bool AXObjectCache::gAccessibilityEnabled = false;