Author: stippi Date: Fri Apr 2 23:05:15 2010 New Revision: 373 URL: http://mmlr.dyndns.org/changeset/373 Log: Implemented ChromeClient::setCursor(), no idea what it is really used for. Modified: webkit/trunk/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp Modified: webkit/trunk/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp ============================================================================== --- webkit/trunk/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp Fri Apr 2 22:37:42 2010 (r372) +++ webkit/trunk/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp Fri Apr 2 23:05:15 2010 (r373) @@ -407,11 +407,15 @@ notImplemented(); } -bool ChromeClientHaiku::setCursor(PlatformCursorHandle) +bool ChromeClientHaiku::setCursor(PlatformCursorHandle cursorHandle) { -printf("ChromeClientHaiku::setCursor()\n"); - notImplemented(); - return false; + if (!m_webView->LockLooper()) + return false; + + m_webView->SetViewCursor(cursorHandle); + + m_webView->UnlockLooper(); + return true; } void ChromeClientHaiku::requestGeolocationPermissionForFrame(Frame*, Geolocation*)