Skip to main content

Crate lingxia_browser

Crate lingxia_browser 

Source

Structs§

BrowserAddressInputContext
BrowserAddressInputError
BrowserAddressInputRequest
BrowserAddressInputResponse
BrowserAddressNavigation
BrowserAddressState
BrowserAddressSuggestion
BrowserElementInfo
BrowserNavigationPolicyRequest
BrowserNavigationPolicyResponse
BrowserRect
BrowserTabInfo
BrowserWaitResult
WebViewCookie
WebViewCookieSetRequest

Enums§

BrowserAddressAction
BrowserAddressInputTrigger
BrowserAddressValueKind
BrowserAutomationError
BrowserNavigationPolicyDecision
BrowserNavigationTarget
BrowserWaitCondition
LxAppError
WebViewCookieSameSite

Constants§

BUILTIN_BROWSER_APPID

Traits§

BrowserNativeInputHost

Functions§

activate
classify_navigation
classify_navigation_json
clear_cookies
click
close
current_tab
current_url
delete_cookie
discard
Discard a tab’s WebView to free memory while keeping its sidebar entry.
evaluate_javascript
extract_url_scheme
Extract the (lowercased) scheme from a URL-like string, or None if the text before the first : is not a valid scheme.
fill
go_back
go_forward
is_lingxia_startup_url
Whether a lingxia:// URL maps to the startup/newtab page or another internal browser page.
list_all_cookies
list_cookies
mark_active
Sync the Rust-side active tab when the SDK switches to an already-live tab.
open
open_for_app
open_standalone_for_app
Open a standalone browser tab (no tab strip) for a docked aside browser. New-window requests from this tab load inline in the same WebView rather than spawning a new main-area tab.
press
query
query_with_max_text
reactivate
Recreate a discarded tab’s WebView, reload its URL, and activate it.
register_native_input_host
reload
scroll
scroll_to
set_cookie
set_tabs_changed_handler
Registers a process-wide observer invoked whenever the browser tab set or tab metadata changes: tab opened/closed, active tab switched, or a tab’s URL/title updated. Intended for shell UIs that mirror the tab list (e.g. sidebar tab rows); the previous handler (if any) is replaced.
start_download
tab_favicon
PNG-encoded favicon of tab_id’s current page, if the platform webview reported one (see WebViewDelegate::on_favicon_changed). Kept out of BrowserTabInfo so the serialized tab projection stays byte-free; shell sidebars query it per tab when mirroring the tab list.
tab_path
tabs
take_screenshot
type_text
update_tab
wait
wait_for_navigation
wait_for_url
wait_for_url_contains