diff options
Diffstat (limited to 'WebCore/rendering/RenderWidget.h')
| -rw-r--r-- | WebCore/rendering/RenderWidget.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/WebCore/rendering/RenderWidget.h b/WebCore/rendering/RenderWidget.h index bb68143..6cad04a 100644 --- a/WebCore/rendering/RenderWidget.h +++ b/WebCore/rendering/RenderWidget.h @@ -40,6 +40,11 @@ public: void updateWidgetPosition(); + void showSubstituteImage(PassRefPtr<Image>); + + static void suspendWidgetHierarchyUpdates(); + static void resumeWidgetHierarchyUpdates(); + protected: RenderWidget(Node*); @@ -59,12 +64,14 @@ private: virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y, int tx, int ty, HitTestAction); virtual void setOverlapTestResult(bool); - void setWidgetGeometry(const IntRect&); + bool setWidgetGeometry(const IntRect&); + friend class RenderWidgetProtector; RenderArena* ref() { ++m_refCount; return renderArena(); } void deref(RenderArena*); RefPtr<Widget> m_widget; + RefPtr<Image> m_substituteImage; FrameView* m_frameView; int m_refCount; }; |
