public static class WebExtension.UpdateTabDetails extends Object
tabs.update
.
Whenever a field is not passed in by the extension that value will be null
.
See also:
WebExtensions/API/tabs/update
.Modifier and Type | Field and Description |
---|---|
Boolean |
active
Whether the tab should become active.
|
Boolean |
autoDiscardable
Whether the tab should be discarded automatically by the app when
resources are low.
|
Boolean |
highlighted
If
true and the tab is not highlighted, it should become
active by default. |
Boolean |
muted
Whether the tab should be muted.
|
Boolean |
pinned
Whether the tab should be pinned.
|
String |
url
The url that the tab will be navigated to.
|
Modifier | Constructor and Description |
---|---|
protected |
UpdateTabDetails()
For testing.
|
@Nullable public final Boolean active
true
,
non-active highlighted tabs should stop being highlighted. If
false
, does nothing.@Nullable public final Boolean autoDiscardable
@Nullable public final Boolean highlighted
true
and the tab is not highlighted, it should become
active by default.@Nullable public final Boolean muted
@Nullable public final Boolean pinned
@Nullable public final String url
GeckoSession
will be navigated to the
right URL after returning GeckoResult.ALLOW
from WebExtension.SessionTabDelegate.onUpdateTab(org.mozilla.geckoview.WebExtension, org.mozilla.geckoview.GeckoSession, org.mozilla.geckoview.WebExtension.UpdateTabDetails)