Home
last modified time | relevance | path

Searched refs:ui_cursor (Results 1 – 2 of 2) sorted by relevance

/third_party/cef/libcef/browser/native/
Dcursor_util.cc15 bool OnCursorChange(CefBrowserHostBase* browser, const ui::Cursor& ui_cursor) { in OnCursorChange() argument
24 static_cast<cef_cursor_type_t>(ui_cursor.type()); in OnCursorChange()
26 if (ui_cursor.type() == ui::mojom::CursorType::kCustom) { in OnCursorChange()
27 custom_cursor_info.hotspot.x = ui_cursor.custom_hotspot().x(); in OnCursorChange()
28 custom_cursor_info.hotspot.y = ui_cursor.custom_hotspot().y(); in OnCursorChange()
29 custom_cursor_info.image_scale_factor = ui_cursor.image_scale_factor(); in OnCursorChange()
30 custom_cursor_info.buffer = ui_cursor.custom_bitmap().getPixels(); in OnCursorChange()
31 custom_cursor_info.size.width = ui_cursor.custom_bitmap().width(); in OnCursorChange()
32 custom_cursor_info.size.height = ui_cursor.custom_bitmap().height(); in OnCursorChange()
41 if (ui_cursor.type() == ui::mojom::CursorType::kCustom) { in OnCursorChange()
[all …]
Dcursor_util.h27 bool OnCursorChange(CefBrowserHostBase* browser, const ui::Cursor& ui_cursor);