mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
[PM-5189] Refactoring implementation
This commit is contained in:
@@ -50,19 +50,19 @@ export class OverlayBackground implements OverlayBackgroundInterface {
|
|||||||
private readonly openUnlockPopout = openUnlockPopout;
|
private readonly openUnlockPopout = openUnlockPopout;
|
||||||
private readonly openViewVaultItemPopout = openViewVaultItemPopout;
|
private readonly openViewVaultItemPopout = openViewVaultItemPopout;
|
||||||
private readonly openAddEditVaultItemPopout = openAddEditVaultItemPopout;
|
private readonly openAddEditVaultItemPopout = openAddEditVaultItemPopout;
|
||||||
private inlineMenuCiphers: Map<string, CipherView> = new Map();
|
|
||||||
private pageDetailsForTab: PageDetailsForTab = {};
|
private pageDetailsForTab: PageDetailsForTab = {};
|
||||||
private subFrameOffsetsForTab: SubFrameOffsetsForTab = {};
|
private subFrameOffsetsForTab: SubFrameOffsetsForTab = {};
|
||||||
private updateInlineMenuPositionTimeout: number | NodeJS.Timeout;
|
private portKeyForTab: Record<number, string> = {};
|
||||||
private inlineMenuFadeInTimeout: number | NodeJS.Timeout;
|
private expiredPorts: chrome.runtime.Port[] = [];
|
||||||
private inlineMenuButtonPort: chrome.runtime.Port;
|
private inlineMenuButtonPort: chrome.runtime.Port;
|
||||||
private inlineMenuListPort: chrome.runtime.Port;
|
private inlineMenuListPort: chrome.runtime.Port;
|
||||||
private expiredPorts: chrome.runtime.Port[] = [];
|
private inlineMenuCiphers: Map<string, CipherView> = new Map();
|
||||||
private portKeyForTab: Record<number, string> = {};
|
private inlineMenuPageTranslations: Record<string, string>;
|
||||||
|
private inlineMenuFadeInTimeout: number | NodeJS.Timeout;
|
||||||
|
private updateInlineMenuPositionTimeout: number | NodeJS.Timeout;
|
||||||
private focusedFieldData: FocusedFieldData;
|
private focusedFieldData: FocusedFieldData;
|
||||||
private isFieldCurrentlyFocused: boolean = false;
|
private isFieldCurrentlyFocused: boolean = false;
|
||||||
private isFieldCurrentlyFilling: boolean = false;
|
private isFieldCurrentlyFilling: boolean = false;
|
||||||
private inlineMenuPageTranslations: Record<string, string>;
|
|
||||||
private iconsServerUrl: string;
|
private iconsServerUrl: string;
|
||||||
private readonly extensionMessageHandlers: OverlayBackgroundExtensionMessageHandlers = {
|
private readonly extensionMessageHandlers: OverlayBackgroundExtensionMessageHandlers = {
|
||||||
autofillOverlayElementClosed: ({ message, sender }) =>
|
autofillOverlayElementClosed: ({ message, sender }) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user