src/vs/workbench/browser/parts/titlebar/menubarControl.ts/CustomMenubarControl/onDidVisibilityChange
class CustomMenubarControl:	private onDidVisibilityChange(visible: boolean): void {
		this.visible = visible;
		this.onDidChangeRecentlyOpened();
		this._onVisibilityChange.fire(visible);
	}