src/vs/platform/history/browser/contextScopedHistoryWidget.ts/createWidgetScopedContextKeyService
function createWidgetScopedContextKeyService(contextKeyService: IContextKeyService, widget: IContextScopedWidget): IContextKeyService {
	return contextKeyService.createScoped(widget.target);
}