diff options
Diffstat (limited to 'webkit/glue/chrome_client_impl.h')
-rw-r--r-- | webkit/glue/chrome_client_impl.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/webkit/glue/chrome_client_impl.h b/webkit/glue/chrome_client_impl.h index 7da89d3..706fedb 100644 --- a/webkit/glue/chrome_client_impl.h +++ b/webkit/glue/chrome_client_impl.h @@ -11,10 +11,12 @@ MSVC_PUSH_WARNING_LEVEL(0); #include "ChromeClientChromium.h" MSVC_POP_WARNING(); +class WebCursor; class WebViewImpl; + namespace WebCore { - class SecurityOrigin; - struct WindowFeatures; +class SecurityOrigin; +struct WindowFeatures; } // Handles window-level notifications from WebCore on behalf of a WebView. @@ -23,6 +25,8 @@ public: ChromeClientImpl(WebViewImpl* webview); virtual ~ChromeClientImpl(); + WebViewImpl* webview() { return webview_; } + virtual void chromeDestroyed(); virtual void setWindowRect(const WebCore::FloatRect&); @@ -113,7 +117,8 @@ public: virtual void popupOpened(WebCore::FramelessScrollView* popup_view, const WebCore::IntRect& bounds, bool focus_on_show); - virtual void setCursor(const WebCore::Cursor&); + + void SetCursor(const WebCursor& cursor); private: WebViewImpl* webview_; // weak pointer |