Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/services/browserElements/browser/webBrowserElementsService.ts
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { BrowserType, IElementData } from '../../../../platform/browserElements/common/browserElements.js';
7
import { IRectangle } from '../../../../platform/window/common/window.js';
8
import { CancellationToken } from '../../../../base/common/cancellation.js';
9
import { registerSingleton, InstantiationType } from '../../../../platform/instantiation/common/extensions.js';
10
import { IBrowserElementsService } from './browserElementsService.js';
11
12
class WebBrowserElementsService implements IBrowserElementsService {
13
_serviceBrand: undefined;
14
15
constructor() { }
16
17
async getElementData(rect: IRectangle, token: CancellationToken): Promise<IElementData | undefined> {
18
throw new Error('Not implemented');
19
}
20
21
startDebugSession(token: CancellationToken, browserType: BrowserType): Promise<void> {
22
throw new Error('Not implemented');
23
}
24
}
25
26
registerSingleton(IBrowserElementsService, WebBrowserElementsService, InstantiationType.Delayed);
27
28