-
Notifications
You must be signed in to change notification settings - Fork 1
OrionSearchFieldControllerDelegate
Corban Amouzou edited this page Jan 12, 2022
·
1 revision
The delegate responsible for managing the OrionSearchFieldController
and
forwarding foreground requests to a OrionTabbedLocationViewControllerDelegate
protocol OrionSearchFieldControllerDelegate: AnyObject
AnyObject
When a tab needs to close there is some teardown work that needs to be done by the delegate. Initial things could be saving the history of that tab for later tab restoration, saving the history to the main history record and also drawing the animation for the close.
func tabWillClose(sender: OrionSearchFieldController)
Called when a tab gets clicked to allow the parent to assign the tabs webview over to the main window.
func tabWantsForeground(tab: OrionSearchFieldController)
The amount of tabs so that the search field can refine its shrinking and expanding calculations
var tabCount: Int
Generated at 2022-01-11T21:56:49-0800 using swift-doc 1.0.0-rc.1.
Types
- BrowserAction
- MozillaBrowserExtensionManifest
- OptionsUI
- OrionBrowserExtension
- OrionBrowserExtensionError
- OrionDelegate
- OrionExtensionManager
- OrionMenu
- OrionSearchField
- OrionSearchFieldController
- OrionTabStretcherView
- OrionTabbedLocationViewController
- OrionTopSitesAPI
- OrionUserContentController
- OrionWindowController
- OrionWindowType