Ejemplo n.º 1
0
 protected override void OnCursorChange(CefBrowser browser, IntPtr cursorHandle, CefCursorType type, CefCursorInfo customCursorInfo)
 {
 }
 protected override void OnCursorChange(CefBrowser browser, IntPtr cursorHandle, CefCursorType type, CefCursorInfo customCursorInfo)
 {
     _uiHelper.PerformInUiThread(() =>
         {
             Cursor cursor = CursorInteropHelper.Create(new SafeFileHandle(cursorHandle, false));
             _owner.Cursor = cursor;
         });
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Called when the browser's cursor has changed. If |type| is CT_CUSTOM then
 /// |custom_cursor_info| will be populated with the custom cursor information.
 /// Return true if the cursor change was handled or false for default handling.
 /// </summary>
 protected virtual bool OnCursorChange(CefBrowser browser, IntPtr cursorHandle, CefCursorType type, CefCursorInfo customCursorInfo)
 => false;
 /// <summary>
 /// Called when the browser's cursor has changed. If |type| is CT_CUSTOM then
 /// |custom_cursor_info| will be populated with the custom cursor information.
 /// </summary>
 protected abstract void OnCursorChange(CefBrowser browser, IntPtr cursorHandle, CefCursorType type, CefCursorInfo customCursorInfo);
Ejemplo n.º 5
0
 /// <summary>
 /// Called when the browser's cursor has changed. If |type| is CT_CUSTOM then
 /// |custom_cursor_info| will be populated with the custom cursor information.
 /// </summary>
 protected abstract void OnCursorChange(CefBrowser browser, IntPtr cursorHandle, CefCursorType type, CefCursorInfo customCursorInfo);