Home
last modified time | relevance | path

Searched refs:extensionPort (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/ui/src/controller/
Dapp_controller.ts29 private extensionPort: MessagePort; property in AppController
31 constructor(extensionPort: MessagePort) {
33 this.extensionPort = extensionPort;
47 {app: globals, extensionPort: this.extensionPort}),
Dchrome_proxy_record_controller.ts65 private extensionPort: MessagePort; property in ChromeExtensionConsumerPort
67 constructor(extensionPort: MessagePort, consumer: Consumer) {
69 this.extensionPort = extensionPort;
70 this.extensionPort.onmessage = this.onExtensionMessage.bind(this);
97 this.extensionPort.postMessage({method, requestData: reqEncoded});
Dindex.ts27 extensionPort: MessagePort;
45 const extensionPort = data.extensionPort; constant
51 globals.initialize(new AppController(extensionPort), frontend);
Drecord_controller.ts587 private extensionPort: MessagePort; property in RecordController
601 constructor(args: {app: App, extensionPort: MessagePort}) {
605 this.extensionPort = args.extensionPort;
613 this.extensionPort.postMessage({method: 'GetCategories'});
780 new ChromeExtensionConsumerPort(this.extensionPort, this);
Drecord_controller_jsdomtest.ts97 const controller = new RecordController({app, extensionPort: m.port1});
/external/perfetto/ui/src/frontend/
Dindex.ts361 extensionPort: extensionLocalChannel.port1,
392 const extensionPort = window.chrome && chrome.runtime ? constant
396 setExtensionAvailability(extensionPort !== undefined);
398 if (extensionPort) {
399 extensionPort.onDisconnect.addListener(_ => {
405 extensionPort.onMessage.addListener(
413 if (extensionPort) extensionPort.postMessage(data);