BrowserInteractionsPlugin

Plugin point for browser-control interactions — events that happen anywhere in the browser, regardless of which surface (NTP or LUT) is visible.

Functions

Link copied to clipboard
open fun onBackPressed()

User pressed the back button.

Link copied to clipboard
open fun onChatSelected()

User selected a Duck.ai chat suggestion (without typing a prompt).

Link copied to clipboard
open fun onInputSubmitted()

User submitted a typed query via the omnibar (search or chat prompt).

Link copied to clipboard

Last used tab (LUT) is shown after an idle return.

Link copied to clipboard

User opened the tab switcher.

Link copied to clipboard
open fun onWebViewEngaged()

User touched the WebView.