mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Pass cursor type and custom cursor information to CefRenderHandler::OnCursorChange (issue #1443).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1928 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -186,7 +186,8 @@ void CefRenderHandlerCToCpp::OnPaint(CefRefPtr<CefBrowser> browser,
|
||||
}
|
||||
|
||||
void CefRenderHandlerCToCpp::OnCursorChange(CefRefPtr<CefBrowser> browser,
|
||||
CefCursorHandle cursor) {
|
||||
CefCursorHandle cursor, CursorType type,
|
||||
const CefCursorInfo& custom_cursor_info) {
|
||||
if (CEF_MEMBER_MISSING(struct_, on_cursor_change))
|
||||
return;
|
||||
|
||||
@@ -200,7 +201,9 @@ void CefRenderHandlerCToCpp::OnCursorChange(CefRefPtr<CefBrowser> browser,
|
||||
// Execute
|
||||
struct_->on_cursor_change(struct_,
|
||||
CefBrowserCppToC::Wrap(browser),
|
||||
cursor);
|
||||
cursor,
|
||||
type,
|
||||
&custom_cursor_info);
|
||||
}
|
||||
|
||||
bool CefRenderHandlerCToCpp::StartDragging(CefRefPtr<CefBrowser> browser,
|
||||
|
Reference in New Issue
Block a user