|
|
|
@ -42,7 +42,6 @@ import mozilla.components.browser.state.selector.findTabOrCustomTabOrSelectedTab
|
|
|
|
|
import mozilla.components.browser.state.state.SessionState
|
|
|
|
|
import mozilla.components.browser.state.state.content.DownloadState
|
|
|
|
|
import mozilla.components.browser.state.store.BrowserStore
|
|
|
|
|
import mozilla.components.browser.thumbnails.BrowserThumbnails
|
|
|
|
|
import mozilla.components.concept.engine.prompt.ShareData
|
|
|
|
|
import mozilla.components.feature.accounts.FxaCapability
|
|
|
|
|
import mozilla.components.feature.accounts.FxaWebChannelFeature
|
|
|
|
@ -140,7 +139,6 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
|
|
|
|
|
private val appLinksFeature = ViewBoundFeatureWrapper<AppLinksFeature>()
|
|
|
|
|
private val promptsFeature = ViewBoundFeatureWrapper<PromptFeature>()
|
|
|
|
|
private val findInPageIntegration = ViewBoundFeatureWrapper<FindInPageIntegration>()
|
|
|
|
|
private val thumbnailsFeature = ViewBoundFeatureWrapper<BrowserThumbnails>()
|
|
|
|
|
private val toolbarIntegration = ViewBoundFeatureWrapper<ToolbarIntegration>()
|
|
|
|
|
private val sitePermissionsFeature = ViewBoundFeatureWrapper<SitePermissionsFeature>()
|
|
|
|
|
private val fullScreenFeature = ViewBoundFeatureWrapper<FullScreenFeature>()
|
|
|
|
@ -281,12 +279,6 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
|
|
|
|
|
lifecycleOwner = viewLifecycleOwner
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
thumbnailsFeature.set(
|
|
|
|
|
feature = BrowserThumbnails(context, view.engineView, store),
|
|
|
|
|
owner = this,
|
|
|
|
|
view = view
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
toolbarIntegration.set(
|
|
|
|
|
feature = browserToolbarView.toolbarIntegration,
|
|
|
|
|
owner = this,
|
|
|
|
|