diff options
Diffstat (limited to 'webkit/glue/chrome_client_impl.h')
-rw-r--r-- | webkit/glue/chrome_client_impl.h | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/webkit/glue/chrome_client_impl.h b/webkit/glue/chrome_client_impl.h index a070fd1..acecb44 100644 --- a/webkit/glue/chrome_client_impl.h +++ b/webkit/glue/chrome_client_impl.h @@ -72,7 +72,10 @@ public: virtual void runJavaScriptAlert(WebCore::Frame*, const WebCore::String&); virtual bool runJavaScriptConfirm(WebCore::Frame*, const WebCore::String&); - virtual bool runJavaScriptPrompt(WebCore::Frame*, const WebCore::String& message, const WebCore::String& defaultValue, WebCore::String& result); + virtual bool runJavaScriptPrompt(WebCore::Frame*, + const WebCore::String& message, + const WebCore::String& defaultValue, + WebCore::String& result); virtual void setStatusbarText(const WebCore::String&); virtual bool shouldInterruptJavaScript(); @@ -85,23 +88,32 @@ public: virtual bool tabsToLinks() const; virtual WebCore::IntRect windowResizerRect() const; - virtual void addToDirtyRegion(const WebCore::IntRect&); - virtual void scrollBackingStore(int dx, int dy, const WebCore::IntRect& scrollViewRect, const WebCore::IntRect& clipRect); - virtual void updateBackingStore(); - - virtual void mouseDidMoveOverElement(const WebCore::HitTestResult& result, unsigned modifierFlags); + + virtual void repaint(const WebCore::IntRect&, bool contentChanged, + bool immediate = false, bool repaintContentOnly = false); + virtual void scroll(const WebCore::IntSize& scrollDelta, + const WebCore::IntRect& rectToScroll, + const WebCore::IntRect& clipRect); + virtual WebCore::IntPoint screenToWindow(const WebCore::IntPoint&) const; + virtual WebCore::IntRect windowToScreen(const WebCore::IntRect&) const; + virtual PlatformWidget platformWindow() const; + + virtual void mouseDidMoveOverElement(const WebCore::HitTestResult& result, + unsigned modifierFlags); virtual void setToolTip(const WebCore::String& tooltip_text); - virtual void runFileChooser(const WebCore::String&, - PassRefPtr<WebCore::FileChooser>); - virtual WebCore::IntRect windowToScreen(const WebCore::IntRect& rect); - virtual void print(WebCore::Frame*); virtual void exceededDatabaseQuota(WebCore::Frame*, const WebCore::String& databaseName); + virtual void runFileChooser(const WebCore::String&, + PassRefPtr<WebCore::FileChooser>); + virtual void popupOpened(WebCore::FramelessScrollView* popup_view, + const WebCore::IntRect& bounds); + virtual void setCursor(const WebCore::Cursor&); + private: WebViewImpl* webview_; // weak pointer bool toolbars_visible_; |