Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/vs/platform/native/common/native.ts')
-rw-r--r--src/vs/platform/native/common/native.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vs/platform/native/common/native.ts b/src/vs/platform/native/common/native.ts
index f0d57b347d5..c5cfd92a41c 100644
--- a/src/vs/platform/native/common/native.ts
+++ b/src/vs/platform/native/common/native.ts
@@ -71,6 +71,8 @@ export interface ICommonNativeHostService {
unmaximizeWindow(): Promise<void>;
minimizeWindow(): Promise<void>;
+ updateTitleBarOverlay(backgroundColor: string, foregroundColor: string): Promise<void>;
+
setMinimumSize(width: number | undefined, height: number | undefined): Promise<void>;
saveWindowSplash(splash: IPartsSplash): Promise<void>;
@@ -153,6 +155,7 @@ export interface ICommonNativeHostService {
// Connectivity
resolveProxy(url: string): Promise<string | undefined>;
+ findFreePort(startPort: number, giveUpAfter: number, timeout: number, stride?: number): Promise<number>;
// Registry (windows only)
windowsGetStringRegKey(hive: 'HKEY_CURRENT_USER' | 'HKEY_LOCAL_MACHINE' | 'HKEY_CLASSES_ROOT' | 'HKEY_USERS' | 'HKEY_CURRENT_CONFIG', path: string, name: string): Promise<string | undefined>;