diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-08 21:49:30 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-08 21:49:30 +0000 |
commit | 7c51b0ee951bf8ed70d0ed6506567991c611d070 (patch) | |
tree | 0d559aad012f55a540a990143bd1d9264e240319 /webkit/glue/webworker_impl.cc | |
parent | 03ce3cd72a2bb330c774f47cea4ad346d5c26cad (diff) | |
download | chromium_src-7c51b0ee951bf8ed70d0ed6506567991c611d070.zip chromium_src-7c51b0ee951bf8ed70d0ed6506567991c611d070.tar.gz chromium_src-7c51b0ee951bf8ed70d0ed6506567991c611d070.tar.bz2 |
Start using WebCursorInfo from the WebKit API. WebCursorInfo is a
lightweight struct containing a description of a cursor that the
embedder should render.
WebCursor still exists. Instead of WebCursor initializing from a
PlatformCursor, it now initializes from a WebCursorInfo.
TEST=none
BUG=10039
R=jam
Review URL: http://codereview.chromium.org/155172
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webworker_impl.cc')
-rw-r--r-- | webkit/glue/webworker_impl.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webkit/glue/webworker_impl.cc b/webkit/glue/webworker_impl.cc index 625f0d8..bfe27ac 100644 --- a/webkit/glue/webworker_impl.cc +++ b/webkit/glue/webworker_impl.cc @@ -33,10 +33,11 @@ #include "webkit/glue/webview_delegate.h" #include "webkit/glue/webworker_impl.h" -using WebKit::WebWorker; -using WebKit::WebWorkerClient; +using WebKit::WebCursorInfo; using WebKit::WebString; using WebKit::WebURL; +using WebKit::WebWorker; +using WebKit::WebWorkerClient; #if ENABLE(WORKERS) @@ -69,7 +70,7 @@ class WorkerWebViewDelegate : public WebViewDelegate { virtual void GetWindowRect(WebWidget *webwidget, WebKit::WebRect *rect) { } virtual bool IsHidden(WebWidget *webwidget) { return true; } virtual void RunModal(WebWidget *webwidget) { } - virtual void SetCursor(WebWidget *webwidget, const WebCursor &cursor) { } + virtual void SetCursor(WebWidget *webwidget, const WebCursorInfo &cursor) { } virtual void SetWindowRect(WebWidget *webwidget, const WebKit::WebRect &rect) { } virtual void Show(WebWidget *webwidget, WindowOpenDisposition disposition) { } |