Reviewed by aroben.
Stub out some methods that we'll be able to use to dodge a window resizer.
* bridge/win/FrameWin.h:
* page/Frame.h:
(WebCore::Frame::windowResizerRect):
* page/FrameView.h:
* platform/ScrollView.h:
(WebCore::ScrollView::windowResizerRect):
* platform/Widget.h:
* platform/win/TemporaryLinkStubs.cpp:
(FrameView::windowResizerRect):
(Widget::setParent):
(Widget::parent):
(FrameWin::windowResizerRect):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16839
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-10-05 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by aroben.
+
+ Stub out some methods that we'll be able to use to dodge a window resizer.
+
+ * bridge/win/FrameWin.h:
+ * page/Frame.h:
+ (WebCore::Frame::windowResizerRect):
+ * page/FrameView.h:
+ * platform/ScrollView.h:
+ (WebCore::ScrollView::windowResizerRect):
+ * platform/Widget.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameView::windowResizerRect):
+ (Widget::setParent):
+ (Widget::parent):
+ (FrameWin::windowResizerRect):
+
2006-10-05 Dave Hyatt <hyatt@apple.com>
Stub out setFrameGeometry.
bool keyPress(const PlatformKeyboardEvent&);
virtual KURL originalRequestURL() const;
+ virtual IntRect windowResizerRect() const;
protected:
virtual bool isLoadTypeReload();
void setNeedsReapplyStyles();
+ virtual IntRect windowResizerRect() const { return IntRect(); }
+
protected:
virtual void startRedirectionTimer();
virtual void stopRedirectionTimer();
virtual void setVScrollbarMode(ScrollbarMode);
virtual void setHScrollbarMode(ScrollbarMode);
virtual void setScrollbarsMode(ScrollbarMode);
+ virtual IntRect windowResizerRect() const;
void print();
#ifndef ScrollView_H
#define ScrollView_H
+#include "IntRect.h"
#include "ScrollbarMode.h"
#include "ScrollBar.h"
#include "Widget.h"
// Set the mode for both scrollbars at once.
virtual void setScrollbarsMode(ScrollbarMode);
+ virtual IntRect windowResizerRect() const { return IntRect(); }
+
// This gives us a means of blocking painting on our scrollbars until the first layout has occurred.
void suppressScrollbars(bool suppressed, bool repaintOnUnsuppress = false);
void setContainingWindow(HWND);
HWND containingWindow() const;
+ void setParent(ScrollView*);
+ ScrollView* parent() const;
+
virtual void scrolled() const {};
bool capturingMouse() const;
bool FrameView::passMouseReleaseEventToSubframe(MouseEventWithHitTestResults& mev, Frame* subframe) { return true; }
bool FrameView::passWheelEventToSubframe(PlatformWheelEvent& e, Frame* subframe) { return false; }
bool FrameView::passMousePressEventToScrollbar(MouseEventWithHitTestResults&, PlatformScrollbar*) { return false; }
+IntRect FrameView::windowResizerRect() const { return IntRect(); }
void Widget::enableFlushDrawing() { notImplemented(); }
bool Widget::isEnabled() const { notImplemented(); return 0; }
void Widget::setCapturingChild(Widget* w) {}
IntPoint Widget::convertChildToSelf(const Widget*, const IntPoint& p) const { return p; }
IntPoint Widget::convertSelfToChild(const Widget*, const IntPoint& p) const { return p; }
+void Widget::setParent(ScrollView*) {}
+ScrollView* Widget::parent() const { return 0; }
JavaAppletWidget::JavaAppletWidget(IntSize const&,Element*,WTF::HashMap<String,String> const&) { notImplemented(); }
void FrameWin::issuePasteAndMatchStyleCommand() { notImplemented(); }
KURL FrameWin::originalRequestURL() const { return KURL(); }
bool FrameWin::isLoadTypeReload() { notImplemented(); return false; }
+IntRect FrameWin::windowResizerRect() const { return IntRect(); }
void GraphicsContext::addRoundedRectClip(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight,
const IntSize& bottomLeft, const IntSize& bottomRight) { notImplemented(); }