From 55fa934ac7b83487c5894e46b2d9e52e1cf393d8 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Wed, 6 May 2020 13:22:32 -0500 Subject: [PATCH] Fix build --- .../contrib/webview/browser/dynamicWebviewEditorOverlay.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vs/workbench/contrib/webview/browser/dynamicWebviewEditorOverlay.ts b/src/vs/workbench/contrib/webview/browser/dynamicWebviewEditorOverlay.ts index 1bf704ded7c..c40464378d4 100644 --- a/src/vs/workbench/contrib/webview/browser/dynamicWebviewEditorOverlay.ts +++ b/src/vs/workbench/contrib/webview/browser/dynamicWebviewEditorOverlay.ts @@ -125,6 +125,7 @@ export class DynamicWebviewEditorOverlay extends Disposable implements WebviewOv // Forward events from inner webview to outer listeners this._webviewEvents.clear(); this._webviewEvents.add(webview.onDidFocus(() => { this._onDidFocus.fire(); })); + this._webviewEvents.add(webview.onDidBlur(() => { this._onDidBlur.fire(); })); this._webviewEvents.add(webview.onDidClickLink(x => { this._onDidClickLink.fire(x); })); this._webviewEvents.add(webview.onMessage(x => { this._onMessage.fire(x); })); this._webviewEvents.add(webview.onMissingCsp(x => { this._onMissingCsp.fire(x); })); @@ -182,6 +183,9 @@ export class DynamicWebviewEditorOverlay extends Disposable implements WebviewOv private readonly _onDidFocus = this._register(new Emitter()); public readonly onDidFocus: Event = this._onDidFocus.event; + private readonly _onDidBlur = this._register(new Emitter()); + public readonly onDidBlur: Event = this._onDidBlur.event; + private readonly _onDidClickLink = this._register(new Emitter()); public readonly onDidClickLink: Event = this._onDidClickLink.event;