Reduce code duplication in WebView::updateNativeCursor
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Jan 2011 20:49:02 +0000 (20:49 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Jan 2011 20:49:02 +0000 (20:49 +0000)
commit3ca321d581a9187049ff3eaa3ec2236d0ec6c5a1
treee0fb3fc32997a250715b33c3fe8eb339135bc07a
parentc01c2b3786be7aa28267c6a1ac83aba69b3f3402
Reduce code duplication in WebView::updateNativeCursor

Fixes <http://webkit.org/b/52005> It's not easy to add new behavior to
WebView::updateNativeCursor

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::cursorToShow): Moved code to choose a cursor here...
(WebKit::WebView::updateNativeCursor): ...from here.

* UIProcess/win/WebView.h: Added cursorToShow.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit2/ChangeLog
WebKit2/UIProcess/win/WebView.cpp
WebKit2/UIProcess/win/WebView.h