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
FieldsModifier and TypeFieldDescriptionfinal BooleanWhether the tab should become active.final BooleanWhether the tab should be discarded automatically by the app when resources are low.final BooleanIftrueand the tab is not highlighted, it should become active by default.final BooleanWhether the tab should be muted.final BooleanWhether the tab should be pinned.final StringThe url that the tab will be navigated to. -
Constructor Summary
Constructors -
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
Iftrueand 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 correspondingGeckoSessionwill be navigated to the right URL after returningGeckoResult.ALLOWfromWebExtension.SessionTabDelegate.onUpdateTab(org.mozilla.geckoview.WebExtension, org.mozilla.geckoview.GeckoSession, org.mozilla.geckoview.WebExtension.UpdateTabDetails)
-
-
Constructor Details
-
UpdateTabDetails
protected UpdateTabDetails()For testing.
-