CefNativeRenderHandler

Functions

Link copied to clipboard
Add provided listener.
Link copied to clipboard
abstract fun disposeNativeResources()
Link copied to clipboard
abstract fun getDeviceScaleFactor(browser: CefBrowser): Double
Retrieve the scale factor of the screen the browser is shown at.
Link copied to clipboard
abstract fun getScreenInfo(browser: CefBrowser, screenInfo: CefScreenInfo): Boolean
Retrieve the screen info.
Link copied to clipboard
abstract fun getScreenPoint(browser: CefBrowser, viewPoint: Point): Point
Retrieve the screen point for the specified view point.
Link copied to clipboard
abstract fun getViewRect(browser: CefBrowser): Rectangle
Retrieve the view rectangle.
Link copied to clipboard
abstract 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
abstract fun onPaint(browser: CefBrowser, popup: Boolean, dirtyRects: Array<Rectangle>, buffer: ByteBuffer, width: Int, height: Int)
Handle painting.
Link copied to clipboard
abstract fun onPaintWithSharedMem(browser: CefBrowser, popup: Boolean, dirtyRectsCount: Int, sharedMemName: String, boostHandle: Long, width: Int, height: Int)
Link copied to clipboard
abstract fun onPopupShow(browser: CefBrowser, show: Boolean)
Show or hide the popup window.
Link copied to clipboard
abstract 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
abstract 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
abstract fun updateDragCursor(browser: CefBrowser, operation: Int)
Called when the web view wants to update the mouse cursor during a drag &drop operation.