CustomizableUI Component
This component is responsible for managing and manipulating the default and
customized state of various UI surfaces in the browser. Most of the logic for
doing this resides in CustomizableUI, but some responsibility is also
delegated to modules like CustomizableWidgets and CustomizeMode.
- CustomizableUI Module
CustomizableUICustomizableUI.AREA_ADDONSCustomizableUI.AREA_BOOKMARKSCustomizableUI.AREA_FIXED_OVERFLOW_PANELCustomizableUI.AREA_MENUBARCustomizableUI.AREA_NAVBARCustomizableUI.AREA_NO_AREACustomizableUI.AREA_TABSTRIPCustomizableUI.AREA_VERTICAL_TABSTRIPCustomizableUI.PROVIDER_APICustomizableUI.PROVIDER_SPECIALCustomizableUI.PROVIDER_XULCustomizableUI.REASON_AREA_UNREGISTEREDCustomizableUI.REASON_WINDOW_CLOSEDCustomizableUI.SOURCE_BUILTINCustomizableUI.SOURCE_EXTERNALCustomizableUI.TYPE_PANELCustomizableUI.TYPE_TOOLBARCustomizableUI.areasCustomizableUI.canUndoResetCustomizableUI.inDefaultStateCustomizableUI.windowsCustomizableUI.addListener()CustomizableUI.addPanelCloseListeners()CustomizableUI.addShortcut()CustomizableUI.addWidgetToArea()CustomizableUI.beginBatchUpdate()CustomizableUI.canWidgetMoveToArea()CustomizableUI.clearSubview()CustomizableUI.createSpecialWidget()CustomizableUI.createWidget()CustomizableUI.destroyWidget()CustomizableUI.dispatchToolboxEvent()CustomizableUI.endBatchUpdate()CustomizableUI.ensureSubviewListeners()CustomizableUI.ensureWidgetPlacedInWindow()CustomizableUI.fillSubviewFromMenuItems()CustomizableUI.getAreaType()CustomizableUI.getCollapsedToolbarIds()CustomizableUI.getCustomizationTarget()CustomizableUI.getCustomizeTargetForArea()CustomizableUI.getDefaultPlacementsForArea()CustomizableUI.getLocalizedProperty()CustomizableUI.getPlaceForItem()CustomizableUI.getPlacementOfWidget()CustomizableUI.getTestOnlyInternalProp()CustomizableUI.getUnusedWidgets()CustomizableUI.getWidget()CustomizableUI.getWidgetIdsInArea()CustomizableUI.getWidgetsInArea()CustomizableUI.handleNewBrowserWindow()CustomizableUI.hidePanelForNode()CustomizableUI.isAreaOverflowable()CustomizableUI.isBuiltinToolbar()CustomizableUI.isSpecialWidget()CustomizableUI.isToolbarDefaultCollapsed()CustomizableUI.isWebExtensionWidget()CustomizableUI.isWidgetRemovable()CustomizableUI.moveWidgetWithinArea()CustomizableUI.notifyEndCustomizing()CustomizableUI.notifyStartCustomizing()CustomizableUI.onWidgetDrag()CustomizableUI.registerArea()CustomizableUI.registerPanelNode()CustomizableUI.registerToolbarNode()CustomizableUI.removeExtraToolbar()CustomizableUI.removeListener()CustomizableUI.removePanelCloseListeners()CustomizableUI.removeWidgetFromArea()CustomizableUI.reset()CustomizableUI.setTestOnlyInternalProp()CustomizableUI.setToolbarVisibility()CustomizableUI.undoReset()CustomizableUI.unregisterArea()CustomizableUI.widgetIsLikelyVisible()
- DragPositionManager
AreaPositionManagerAreaPositionManager.containerInfoAreaPositionManager.heightToWidthFactorAreaPositionManager.horizontalDistanceAreaPositionManager.lastPlaceholderInsertionAreaPositionManager.nodePositionStoreAreaPositionManager.rtlAreaPositionManager.clearPlaceholders()AreaPositionManager.find()AreaPositionManager.insertPlaceholder()AreaPositionManager.update()
DragPositionManager
- OverflowableToolbar
OverflowableToolbarOverflowableToolbar.checkOverflowHandleOverflowableToolbar.defaultListOverflowableToolbar.defaultListButtonOverflowableToolbar.defaultListPanelOverflowableToolbar.enabledOverflowableToolbar.hiddenOverflowedNodesOverflowableToolbar.hideTimeoutIdOverflowableToolbar.initializedOverflowableToolbar.overflowedInfoOverflowableToolbar.targetOverflowableToolbar.toolbarOverflowableToolbar.webExtListRefOverflowableToolbar.findOverflowedInsertionPoints()OverflowableToolbar.getContainerFor()OverflowableToolbar.handleEvent()OverflowableToolbar.init()OverflowableToolbar.isHandlingOverflow()OverflowableToolbar.isInOverflowList()OverflowableToolbar.observe()OverflowableToolbar.onWidgetBeforeDOMChange()OverflowableToolbar.show()OverflowableToolbar.uninit()
- PanelMultiView
AssociatedToNodePanelMultiViewPanelMultiView._moveOutKids()PanelMultiView.closeAllViews()PanelMultiView.connect()PanelMultiView.disconnect()PanelMultiView.goBack()PanelMultiView.handleEvent()PanelMultiView.showSubView()PanelMultiView.ensureUnloadHandlerRegistered()PanelMultiView.getViewNode()PanelMultiView.hidePopup()PanelMultiView.openPopup()PanelMultiView.removePopup()
PanelViewPanelView._arrowNavigableWalkerPanelView._tabNavigableWalkerPanelView.activePanelView.focusWhenActivePanelView.headerTextPanelView.mainviewPanelView.minMaxHeightPanelView.minMaxWidthPanelView.selectedElementPanelView.visiblePanelView.captureKnownSize()PanelView.clearNavigation()PanelView.createHeaderBackButton()PanelView.dispatchCustomEvent()PanelView.focusFirstNavigableElement()PanelView.focusLastNavigableElement()PanelView.focusSelectedElement()PanelView.isOpenIn()PanelView.keyNavigation()PanelView.moveSelection()
- SearchWidgetTracker
- ToolbarContextMenu
ToolbarContextMenuToolbarContextMenu._getExtensionId()ToolbarContextMenu._getUnwrappedTriggerNode()ToolbarContextMenu._getWidgetId()ToolbarContextMenu.hideLeadingSeparatorIfNeeded()ToolbarContextMenu.onDownloadsAlwaysOpenPanelChange()ToolbarContextMenu.onDownloadsAutoHideChange()ToolbarContextMenu.onViewToolbarsPopupShowing()ToolbarContextMenu.openAboutAddonsForContextAction()ToolbarContextMenu.removeExtensionForContextAction()ToolbarContextMenu.reportExtensionForContextAction()ToolbarContextMenu.updateCustomizationItemsVisibility()ToolbarContextMenu.updateDownloadsAlwaysOpenPanel()ToolbarContextMenu.updateDownloadsAutoHide()ToolbarContextMenu.updateExtension()ToolbarContextMenu.updateExtensionsButtonContextMenu()
- CustomizeMode
CustomizeModeCustomizeMode.CustomizeModeCustomizeMode.areasCustomizeMode.browserCustomizeMode.customizingCustomizeMode.documentCustomizeMode.dragOverItemCustomizeMode.dragSizeMapCustomizeMode.enabledCommandsCustomizeMode.moveDownloadsButtonToNavBarCustomizeMode.skipSourceNodeCheckCustomizeMode.stowedPaletteCustomizeMode.transitioningCustomizeMode.translationObserverCustomizeMode.windowCustomizeMode.$()CustomizeMode.addToPanel()CustomizeMode.addToToolbar()CustomizeMode.createOrUpdateWrapper()CustomizeMode.enter()CustomizeMode.exit()CustomizeMode.handleEvent()CustomizeMode.isWrappedToolbarItem()CustomizeMode.observe()CustomizeMode.onAreaNodeRegistered()CustomizeMode.onAreaNodeUnregistered()CustomizeMode.onPanelContextMenuShowing()CustomizeMode.onWidgetAdded()CustomizeMode.onWidgetAfterCreation()CustomizeMode.onWidgetAfterDOMChange()CustomizeMode.onWidgetBeforeDOMChange()CustomizeMode.onWidgetDestroyed()CustomizeMode.onWidgetMoved()CustomizeMode.onWidgetRemoved()CustomizeMode.removeFromArea()CustomizeMode.reset()CustomizeMode.setTab()CustomizeMode.setUIDensity()CustomizeMode.undoReset()CustomizeMode.unwrapToolbarItem()CustomizeMode.wrapToolbarItem()