@@ -7,6 +7,7 @@ import 'vs/css!./media/watermark';
7
7
import { Disposable , DisposableStore } from 'vs/base/common/lifecycle' ;
8
8
import { isMacintosh , isWeb , OS } from 'vs/base/common/platform' ;
9
9
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding' ;
10
+ import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry' ;
10
11
import * as nls from 'vs/nls' ;
11
12
import { Registry } from 'vs/platform/registry/common/platform' ;
12
13
import { IConfigurationRegistry , Extensions as ConfigurationExtensions } from 'vs/platform/configuration/common/configurationRegistry' ;
@@ -90,7 +91,8 @@ export class WatermarkContribution extends Disposable implements IWorkbenchContr
90
91
@IContextKeyService private readonly contextKeyService : IContextKeyService ,
91
92
@IConfigurationService private readonly configurationService : IConfigurationService ,
92
93
@IEditorGroupsService private readonly editorGroupsService : IEditorGroupsService ,
93
- @IThemeService private readonly themeService : IThemeService
94
+ @IThemeService private readonly themeService : IThemeService ,
95
+ @ITelemetryService private readonly telemetryService : ITelemetryService
94
96
) {
95
97
super ( ) ;
96
98
@@ -176,6 +178,11 @@ export class WatermarkContribution extends Disposable implements IWorkbenchContr
176
178
this . watermarkDisposable . add ( this . editorGroupsService . onDidLayout ( dimension => this . handleEditorPartSize ( container , dimension ) ) ) ;
177
179
178
180
this . handleEditorPartSize ( container , this . editorGroupsService . contentDimension ) ;
181
+
182
+ /* __GDPR__
183
+ "watermark:open" : { }
184
+ */
185
+ this . telemetryService . publicLog ( 'watermark:open' ) ;
179
186
}
180
187
181
188
private handleEditorPartSize ( container : HTMLElement , dimension : dom . IDimension ) : void {
0 commit comments