Package org.mozilla.geckoview
Class WebExtension.UpdateTabDetails
Object
org.mozilla.geckoview.WebExtension.UpdateTabDetails
- Enclosing class:
- WebExtension
Provides details about upating a tab with
tabs.update
.
Whenever a field is not passed in by the extension that value will be null
.
See also: WebExtensions/API/tabs/update .
-
Field Summary
Modifier and TypeFieldDescriptionfinal Boolean
Whether the tab should become active.final Boolean
Whether the tab should be discarded automatically by the app when resources are low.final Boolean
Iftrue
and the tab is not highlighted, it should become active by default.final Boolean
Whether the tab should be muted.final Boolean
Whether the tab should be pinned.final String
The url that the tab will be navigated to. -
Constructor Summary
-
Method Summary
-
Field Details
-
active
Whether the tab should become active. Iftrue
, non-active highlighted tabs should stop being highlighted. Iffalse
, does nothing. -
autoDiscardable
Whether the tab should be discarded automatically by the app when resources are low. -
highlighted
Iftrue
and the tab is not highlighted, it should become active by default. -
muted
Whether the tab should be muted. -
pinned
Whether the tab should be pinned. -
url
The url that the tab will be navigated to. This url is provided just for informational purposes, there is no need to load the URL manually. The correspondingGeckoSession
will be navigated to the right URL after returningGeckoResult.ALLOW
fromWebExtension.SessionTabDelegate.onUpdateTab(org.mozilla.geckoview.WebExtension, org.mozilla.geckoview.GeckoSession, org.mozilla.geckoview.WebExtension.UpdateTabDetails)
-
-
Constructor Details
-
UpdateTabDetails
protected UpdateTabDetails()For testing.
-