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:
@ -783,10 +783,14 @@ class OSRTestHandler : public RoutingTestHandler,
|
||||
}
|
||||
|
||||
void OnCursorChange(CefRefPtr<CefBrowser> browser,
|
||||
CefCursorHandle cursor) override {
|
||||
if (test_type_ == OSR_TEST_CURSOR && started()) {
|
||||
DestroySucceededTestSoon();
|
||||
}
|
||||
CefCursorHandle cursor,
|
||||
CursorType type,
|
||||
const CefCursorInfo& custom_cursor_info) override {
|
||||
if (test_type_ == OSR_TEST_CURSOR && started()) {
|
||||
EXPECT_EQ(CT_HAND, type);
|
||||
EXPECT_EQ(NULL, custom_cursor_info.buffer);
|
||||
DestroySucceededTestSoon();
|
||||
}
|
||||
}
|
||||
|
||||
bool StartDragging(CefRefPtr<CefBrowser> browser,
|
||||
|
Reference in New Issue
Block a user