mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-19 07:35:48 +02:00
19 lines
589 B
TypeScript
19 lines
589 B
TypeScript
|
import { DeviceType } from '../../enums/deviceType.enum';
|
||
|
|
||
|
export interface PlatformUtilsService {
|
||
|
getDevice(): DeviceType;
|
||
|
getDeviceString(): string;
|
||
|
isFirefox(): boolean;
|
||
|
isChrome(): boolean;
|
||
|
isEdge(): boolean;
|
||
|
isOpera(): boolean;
|
||
|
analyticsId(): string;
|
||
|
initListSectionItemListeners(doc: Document, angular: any): void;
|
||
|
getDomain(uriString: string): string;
|
||
|
inSidebar(theWindow: Window): boolean;
|
||
|
inTab(theWindow: Window): boolean;
|
||
|
inPopout(theWindow: Window): boolean;
|
||
|
inPopup(theWindow: Window): boolean;
|
||
|
isViewOpen(): boolean;
|
||
|
}
|