CefRenderHandlerAdapter

An abstract adapter class for receiving render events. The methods in this class are empty. This class exists as convenience for creating handler objects.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Add provided listener.
Link copied to clipboard
Retrieve the scale factor of the screen the browser is shown at.
Link copied to clipboard
open fun getScreenInfo(browser: CefBrowser, screenInfo: CefScreenInfo): Boolean
Retrieve the screen info.
Link copied to clipboard
open fun getScreenPoint(browser: CefBrowser, viewPoint: Point): Point
Retrieve the screen point for the specified view point.
Link copied to clipboard
open fun getViewRect(browser: CefBrowser): Rectangle
Retrieve the view rectangle.
Link copied to clipboard
open fun onCursorChange(browser: CefBrowser, cursorType: Int): Boolean
Handle cursor changes.
Link copied to clipboard
open fun OnImeCompositionRangeChanged(browser: CefBrowser, selectionRange: CefRange, characterBounds: Array<Rectangle>)
Called when the IME composition range has changed.
Link copied to clipboard
open fun onPaint(browser: CefBrowser, popup: Boolean, dirtyRects: Array<Rectangle>, buffer: ByteBuffer, width: Int, height: Int)
Handle painting.
Link copied to clipboard
open fun onPopupShow(browser: CefBrowser, show: Boolean)
Show or hide the popup window.
Link copied to clipboard
open fun onPopupSize(browser: CefBrowser, size: Rectangle)
Size the popup window.
Link copied to clipboard
open fun OnTextSelectionChanged(browser: CefBrowser, selectedText: String, selectionRange: CefRange)
Called when text selection has changed
Link copied to clipboard
Remove provided listener.
Link copied to clipboard
Remove existing listeners and replace with provided listener.
Link copied to clipboard
open fun startDragging(browser: CefBrowser, dragData: CefDragData, mask: Int, x: Int, y: Int): Boolean
Called when the user starts dragging content in the web view.
Link copied to clipboard
open fun updateDragCursor(browser: CefBrowser, operation: Int)
Called when the web view wants to update the mouse cursor during a drag &drop operation.