electron 38.0.0-beta.1 → 38.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.json +75 -75
- package/electron.d.ts +81 -6
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v38.0.0-beta.
|
|
3
|
-
"chromedriver-v38.0.0-beta.
|
|
4
|
-
"chromedriver-v38.0.0-beta.
|
|
5
|
-
"chromedriver-v38.0.0-beta.
|
|
6
|
-
"chromedriver-v38.0.0-beta.
|
|
7
|
-
"chromedriver-v38.0.0-beta.
|
|
8
|
-
"chromedriver-v38.0.0-beta.
|
|
9
|
-
"chromedriver-v38.0.0-beta.
|
|
10
|
-
"chromedriver-v38.0.0-beta.
|
|
11
|
-
"chromedriver-v38.0.0-beta.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v38.0.0-beta.
|
|
14
|
-
"electron-v38.0.0-beta.
|
|
15
|
-
"electron-v38.0.0-beta.
|
|
16
|
-
"electron-v38.0.0-beta.
|
|
17
|
-
"electron-v38.0.0-beta.
|
|
18
|
-
"electron-v38.0.0-beta.
|
|
19
|
-
"electron-v38.0.0-beta.
|
|
20
|
-
"electron-v38.0.0-beta.
|
|
21
|
-
"electron-v38.0.0-beta.
|
|
22
|
-
"electron-v38.0.0-beta.
|
|
23
|
-
"electron-v38.0.0-beta.
|
|
24
|
-
"electron-v38.0.0-beta.
|
|
25
|
-
"electron-v38.0.0-beta.
|
|
26
|
-
"electron-v38.0.0-beta.
|
|
27
|
-
"electron-v38.0.0-beta.
|
|
28
|
-
"electron-v38.0.0-beta.
|
|
29
|
-
"electron-v38.0.0-beta.
|
|
30
|
-
"electron-v38.0.0-beta.
|
|
31
|
-
"electron-v38.0.0-beta.
|
|
32
|
-
"electron-v38.0.0-beta.
|
|
33
|
-
"electron-v38.0.0-beta.
|
|
34
|
-
"electron-v38.0.0-beta.
|
|
35
|
-
"electron-v38.0.0-beta.
|
|
36
|
-
"electron-v38.0.0-beta.
|
|
37
|
-
"electron-v38.0.0-beta.
|
|
38
|
-
"electron-v38.0.0-beta.
|
|
39
|
-
"electron-v38.0.0-beta.
|
|
40
|
-
"electron-v38.0.0-beta.
|
|
41
|
-
"electron-v38.0.0-beta.
|
|
42
|
-
"electron-v38.0.0-beta.
|
|
43
|
-
"electron-v38.0.0-beta.
|
|
44
|
-
"electron-v38.0.0-beta.
|
|
45
|
-
"electron-v38.0.0-beta.
|
|
46
|
-
"electron-v38.0.0-beta.
|
|
47
|
-
"electron-v38.0.0-beta.
|
|
48
|
-
"electron-v38.0.0-beta.
|
|
49
|
-
"electron-v38.0.0-beta.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v38.0.0-beta.
|
|
52
|
-
"ffmpeg-v38.0.0-beta.
|
|
53
|
-
"ffmpeg-v38.0.0-beta.
|
|
54
|
-
"ffmpeg-v38.0.0-beta.
|
|
55
|
-
"ffmpeg-v38.0.0-beta.
|
|
56
|
-
"ffmpeg-v38.0.0-beta.
|
|
57
|
-
"ffmpeg-v38.0.0-beta.
|
|
58
|
-
"ffmpeg-v38.0.0-beta.
|
|
59
|
-
"ffmpeg-v38.0.0-beta.
|
|
60
|
-
"ffmpeg-v38.0.0-beta.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v38.0.0-beta.
|
|
63
|
-
"libcxx-objects-v38.0.0-beta.
|
|
64
|
-
"libcxx-objects-v38.0.0-beta.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v38.0.0-beta.
|
|
68
|
-
"mksnapshot-v38.0.0-beta.
|
|
69
|
-
"mksnapshot-v38.0.0-beta.
|
|
70
|
-
"mksnapshot-v38.0.0-beta.
|
|
71
|
-
"mksnapshot-v38.0.0-beta.
|
|
72
|
-
"mksnapshot-v38.0.0-beta.
|
|
73
|
-
"mksnapshot-v38.0.0-beta.
|
|
74
|
-
"mksnapshot-v38.0.0-beta.
|
|
75
|
-
"mksnapshot-v38.0.0-beta.
|
|
76
|
-
"mksnapshot-v38.0.0-beta.
|
|
2
|
+
"chromedriver-v38.0.0-beta.3-darwin-arm64.zip": "f32d4b06ce40d4ba495849eb9960a87437fd1720943425346a49cf09b64bf894",
|
|
3
|
+
"chromedriver-v38.0.0-beta.3-darwin-x64.zip": "9227118412df254cb08a28ea8ef97b6bdcecfdae211845cff4137a2290388be2",
|
|
4
|
+
"chromedriver-v38.0.0-beta.3-linux-arm64.zip": "0227c7573a8f4caf8d24424d335e97b44c7ccde5345c556a21968eabea703a1d",
|
|
5
|
+
"chromedriver-v38.0.0-beta.3-linux-armv7l.zip": "c2e65ae9824d0acfe808945f4799482b042c621d1cda83d28dc81e07f3fe5242",
|
|
6
|
+
"chromedriver-v38.0.0-beta.3-linux-x64.zip": "30e8a52e071bed279db0b9a634ee13a01d20d0722d61f48c6adb73db545ea13f",
|
|
7
|
+
"chromedriver-v38.0.0-beta.3-mas-arm64.zip": "a2ee4f37778cd333df34bc8059e5ffa09fce50f670031849cb5bf0ce575edef8",
|
|
8
|
+
"chromedriver-v38.0.0-beta.3-mas-x64.zip": "804216d3ff0f1c3a5a6a0cd3e515200f95721655b4e90fcda35d5a772b8d1122",
|
|
9
|
+
"chromedriver-v38.0.0-beta.3-win32-arm64.zip": "4fa65cdee342eb775943c074c86537f82ebf58f60712ee605e56dd5c28e3ce81",
|
|
10
|
+
"chromedriver-v38.0.0-beta.3-win32-ia32.zip": "1f9594edde9d6fe4c2cf1d89bb65c165ae638a70730763ddb1238ff3a665c495",
|
|
11
|
+
"chromedriver-v38.0.0-beta.3-win32-x64.zip": "f667aff2adcab7c1d7cac9570d5347657e1ef0164b647289270a01b872da68a6",
|
|
12
|
+
"electron-api.json": "0cf73b06bb8cce57734317b75521470a376dc3b690a2cbea94176372ec3e547e",
|
|
13
|
+
"electron-v38.0.0-beta.3-darwin-arm64-dsym-snapshot.zip": "9e761c327ceb1ab64ece8df0ce844ee3c06fa99c43afc981603b51d493d066d4",
|
|
14
|
+
"electron-v38.0.0-beta.3-darwin-arm64-dsym.zip": "ba492500325fd4b89ba2f5c037af9ee8bab2a139f5c5f2071f7e132b82e49e8f",
|
|
15
|
+
"electron-v38.0.0-beta.3-darwin-arm64-symbols.zip": "d081803a65a9251ed14343ec1b716aac22c1100b4892ace4fafcb1145ad6cc98",
|
|
16
|
+
"electron-v38.0.0-beta.3-darwin-arm64.zip": "5d64d1928565a8ffeede516d283d536c3ac6170f83e2bf0b80be93bdb57fd006",
|
|
17
|
+
"electron-v38.0.0-beta.3-darwin-x64-dsym-snapshot.zip": "0f89322480a16aff4f3d3575af02339e7a0fafacfebb3e349759461b73609392",
|
|
18
|
+
"electron-v38.0.0-beta.3-darwin-x64-dsym.zip": "b96947d2f9bd7f545c4907a7ce15a975070d20296d303e503a31a56bd93bb75c",
|
|
19
|
+
"electron-v38.0.0-beta.3-darwin-x64-symbols.zip": "1f56caf8399bf6c96a19aaa0c0a218f8311ac01713172734c80b36f17f2b52d0",
|
|
20
|
+
"electron-v38.0.0-beta.3-darwin-x64.zip": "1c40c66ded7849022115031026fe86660864764f9ca5470a4fbdb09da7469c1a",
|
|
21
|
+
"electron-v38.0.0-beta.3-linux-arm64-debug.zip": "4abf25bbb85fcdf469b64ff67128107bbec66ccc1b3e08a301db4cfc82e13f9d",
|
|
22
|
+
"electron-v38.0.0-beta.3-linux-arm64-symbols.zip": "2d3c4fea10098da588793cc9c4fb25ac6508cc388ebedffb4c15afcbea8fcdd2",
|
|
23
|
+
"electron-v38.0.0-beta.3-linux-arm64.zip": "cf4230234537d069c714267b1cc2a375d7fe0b1c853d859c37e61419e495edae",
|
|
24
|
+
"electron-v38.0.0-beta.3-linux-armv7l-debug.zip": "4abf25bbb85fcdf469b64ff67128107bbec66ccc1b3e08a301db4cfc82e13f9d",
|
|
25
|
+
"electron-v38.0.0-beta.3-linux-armv7l-symbols.zip": "161b6a49fc10ad56fc4fdcc3f4fc7627ec65ebcf7c3eeaf9e7ecfa30f813abd5",
|
|
26
|
+
"electron-v38.0.0-beta.3-linux-armv7l.zip": "fbd57c91dc0e1c7570b553146de62e75d9471bc6335f16b872827abc1d44e402",
|
|
27
|
+
"electron-v38.0.0-beta.3-linux-x64-debug.zip": "23cba9537aae93e01214c7e581acc036ca91f112fadd4120ccef687066a68528",
|
|
28
|
+
"electron-v38.0.0-beta.3-linux-x64-symbols.zip": "c71e577b4dfbd58b818470d1618542877ad7995c1abbe161e10bd487905a99c9",
|
|
29
|
+
"electron-v38.0.0-beta.3-linux-x64.zip": "483767a5f9e0807defc090ac39d9c15b3191499faa320a45e799990cdcdf8840",
|
|
30
|
+
"electron-v38.0.0-beta.3-mas-arm64-dsym-snapshot.zip": "c5aeb035257eb9c864768b695975106be53cae7ff0b46f3aafe3558dd35bae28",
|
|
31
|
+
"electron-v38.0.0-beta.3-mas-arm64-dsym.zip": "ff533351a2f1ef2c02e4690c5331a35e14aa090bde0a8c78a67439318aaa4f5e",
|
|
32
|
+
"electron-v38.0.0-beta.3-mas-arm64-symbols.zip": "04543cffe9296ef7b96aafefb09b12f09dfa656ec655de6ad8faa90fef3f3fe3",
|
|
33
|
+
"electron-v38.0.0-beta.3-mas-arm64.zip": "f1e9b694e1e3304a588495b53cf61ee6d39eeaebc4c34a6906f1efdfded06bcd",
|
|
34
|
+
"electron-v38.0.0-beta.3-mas-x64-dsym-snapshot.zip": "2b4b969fc31939bce5a552ba2a51dd4ec66e6febc87c14a0587d9f80bfe0ece4",
|
|
35
|
+
"electron-v38.0.0-beta.3-mas-x64-dsym.zip": "906631a340bfcb6f7ad4403088898c03aeb66ef2912464d0d255e31333036d74",
|
|
36
|
+
"electron-v38.0.0-beta.3-mas-x64-symbols.zip": "38ce9033facf12786f99b5bd691372e9ff84fe7a252fa79471382bd1560c03b5",
|
|
37
|
+
"electron-v38.0.0-beta.3-mas-x64.zip": "8e991ae3a659b424ad41540b3abe402c2e3bb7b78543fbd62a0dffefc098c03f",
|
|
38
|
+
"electron-v38.0.0-beta.3-win32-arm64-pdb.zip": "418103a1f888475e5804e5451e920891dfe0f97d6b32a74e8b6a788d8d0f4ef4",
|
|
39
|
+
"electron-v38.0.0-beta.3-win32-arm64-symbols.zip": "a0d3e56633fd33b89b3b8a2ee232236cb064d740186aed41e1e435b250a53ebe",
|
|
40
|
+
"electron-v38.0.0-beta.3-win32-arm64-toolchain-profile.zip": "d6170c4da775b061bf8acca64432a1bc16636251d0c2d0b777a12f759e3a0319",
|
|
41
|
+
"electron-v38.0.0-beta.3-win32-arm64.zip": "322b3a0e11158fec0ac524ca4d445159ba942a687e7c6c24dc84c45e1aaf09a2",
|
|
42
|
+
"electron-v38.0.0-beta.3-win32-ia32-pdb.zip": "8de325ac402fbf88b0cd5bf0670a312582609d1871b578395d3e788824595766",
|
|
43
|
+
"electron-v38.0.0-beta.3-win32-ia32-symbols.zip": "19535f01786af3d6d7f0d0bf03cf0e1b2eeecf1fb763ae2967e6f0e722314d43",
|
|
44
|
+
"electron-v38.0.0-beta.3-win32-ia32-toolchain-profile.zip": "d6170c4da775b061bf8acca64432a1bc16636251d0c2d0b777a12f759e3a0319",
|
|
45
|
+
"electron-v38.0.0-beta.3-win32-ia32.zip": "8987b832513b5d1557d2ef6e80dae5dd3e7469df3cf76016b88480167bbb8f49",
|
|
46
|
+
"electron-v38.0.0-beta.3-win32-x64-pdb.zip": "6e508b0a2160c6f9605dec80e52b6bffe0933c094805f8ed351d6e07c92ebd35",
|
|
47
|
+
"electron-v38.0.0-beta.3-win32-x64-symbols.zip": "380aa850149c48d30fc15228b647122fd8dd4e425e4abf4a7131bd4f42e81b39",
|
|
48
|
+
"electron-v38.0.0-beta.3-win32-x64-toolchain-profile.zip": "d6170c4da775b061bf8acca64432a1bc16636251d0c2d0b777a12f759e3a0319",
|
|
49
|
+
"electron-v38.0.0-beta.3-win32-x64.zip": "e8d8e68cd8d1ebec6206db153d8337da0efab0887660439941628b6b3db92c35",
|
|
50
|
+
"electron.d.ts": "58d033c7b0a2b6d13be9a37607a92ccc64c2c1adf9e1b708892b48868f0ca894",
|
|
51
|
+
"ffmpeg-v38.0.0-beta.3-darwin-arm64.zip": "ca779fb356b3dc5e4c54e9857fea2d930549a7ae73989fce162a71dba9d65cfc",
|
|
52
|
+
"ffmpeg-v38.0.0-beta.3-darwin-x64.zip": "993c61a254c4a81dfb259731147ffb38070f31327d8091e4240d10b5231860fd",
|
|
53
|
+
"ffmpeg-v38.0.0-beta.3-linux-arm64.zip": "efc21115b77a0771a9be9e28c661f5243559087fe55ddda4138f4028eadf9a2c",
|
|
54
|
+
"ffmpeg-v38.0.0-beta.3-linux-armv7l.zip": "ffcfb7be9466f6956e960e16d1da82481c4e559ec807831b056266b64957f327",
|
|
55
|
+
"ffmpeg-v38.0.0-beta.3-linux-x64.zip": "87ddc8b0a512b6ce6f1c983c0ca7a557ac464f5d8d052a25deb24d18f5d003fa",
|
|
56
|
+
"ffmpeg-v38.0.0-beta.3-mas-arm64.zip": "ca779fb356b3dc5e4c54e9857fea2d930549a7ae73989fce162a71dba9d65cfc",
|
|
57
|
+
"ffmpeg-v38.0.0-beta.3-mas-x64.zip": "993c61a254c4a81dfb259731147ffb38070f31327d8091e4240d10b5231860fd",
|
|
58
|
+
"ffmpeg-v38.0.0-beta.3-win32-arm64.zip": "a2997bcdb991e0a80ab960ecb2351bddb8494087bef0bbf02ab2ace211255d82",
|
|
59
|
+
"ffmpeg-v38.0.0-beta.3-win32-ia32.zip": "d59decdcb1d51995142844cc36f0f64349bb7c63ce96ff371ef0678f0aef5a5e",
|
|
60
|
+
"ffmpeg-v38.0.0-beta.3-win32-x64.zip": "b01cc6457db3d3ae6e6a734d72a602964114efc0f73005d5ed5af99871884605",
|
|
61
|
+
"hunspell_dictionaries.zip": "15e5938c68f1b98257716a81549f984e055060b055c932d40733dae3c0e14add",
|
|
62
|
+
"libcxx-objects-v38.0.0-beta.3-linux-arm64.zip": "51d137f9a0f7eda7ebda544b5ec49046ba6ef79237f8231a869475cc4b504fa4",
|
|
63
|
+
"libcxx-objects-v38.0.0-beta.3-linux-armv7l.zip": "aa5469c6988f90467047717c0a2df762fd35db4a3b10391db7c2bd23cad0fef5",
|
|
64
|
+
"libcxx-objects-v38.0.0-beta.3-linux-x64.zip": "2aa9556189c88ff236ab9c871cbed7877f4a3a8822a9cf52b34bd1b97cf182bc",
|
|
65
|
+
"libcxx_headers.zip": "55cd5ca6e69b551b96a7dd1d477429e13d17e95e2d358abfc55456f8ba89da1d",
|
|
66
|
+
"libcxxabi_headers.zip": "23be04f992ee37ce8f29ffb9e53bd5bf461c50a91b6eddedaecc9f20b8967937",
|
|
67
|
+
"mksnapshot-v38.0.0-beta.3-darwin-arm64.zip": "786d782722b773cbb43c3d2d6299882182339549e1ed7fb163479a6dedcf623c",
|
|
68
|
+
"mksnapshot-v38.0.0-beta.3-darwin-x64.zip": "d7f0c9a4e2c2e6be817ab9c7a3bce202c6e4f52c208f68b0c5713d8e75dfb2ee",
|
|
69
|
+
"mksnapshot-v38.0.0-beta.3-linux-arm64-x64.zip": "cc80be9ec1e497f16a29ddec3e80f1fe1ffb88cf0f877a511702284f6e7cc033",
|
|
70
|
+
"mksnapshot-v38.0.0-beta.3-linux-armv7l-x64.zip": "b1347735005a3c2f314cd844e06882ccd1914e6fad546890ea5d45d04f87b09b",
|
|
71
|
+
"mksnapshot-v38.0.0-beta.3-linux-x64.zip": "d770530a9de279c054091b87f393fefb7d61af268c9c7bf1af780b733dadaef1",
|
|
72
|
+
"mksnapshot-v38.0.0-beta.3-mas-arm64.zip": "3f6eb2ba3e64bc95a7e92892f1675ea05fc9b6b45665c79871ad69d773d1de13",
|
|
73
|
+
"mksnapshot-v38.0.0-beta.3-mas-x64.zip": "e0f2f636ff634bd1fe2ad72b5d013456fbe9a5f0e0fd7775572f11d451852c49",
|
|
74
|
+
"mksnapshot-v38.0.0-beta.3-win32-arm64-x64.zip": "9d0b23ea374ba695201063cd780257d3859f9d225530ed5af69ab8a10f7bdcc1",
|
|
75
|
+
"mksnapshot-v38.0.0-beta.3-win32-ia32.zip": "657e790a6c8a717dca6b385b678afb09d834fb9939773f4a5c3921787ea7214c",
|
|
76
|
+
"mksnapshot-v38.0.0-beta.3-win32-x64.zip": "ad58d2a236eb8a0f62d64a9f7f501a45854dcc68185af48310cebaf43d9fcc13"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 38.0.0-beta.
|
|
1
|
+
// Type definitions for Electron 38.0.0-beta.3
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -1219,7 +1219,7 @@ declare namespace Electron {
|
|
|
1219
1219
|
* called first, a default log directory will be created equivalent to calling
|
|
1220
1220
|
* `app.setAppLogsPath()` without a `path` parameter.
|
|
1221
1221
|
*/
|
|
1222
|
-
getPath(name: 'home' | 'appData' | 'userData' | 'sessionData' | 'temp' | 'exe' | 'module' | 'desktop' | 'documents' | 'downloads' | 'music' | 'pictures' | 'videos' | 'recent' | 'logs' | 'crashDumps'): string;
|
|
1222
|
+
getPath(name: 'home' | 'appData' | 'assets' | 'userData' | 'sessionData' | 'temp' | 'exe' | 'module' | 'desktop' | 'documents' | 'downloads' | 'music' | 'pictures' | 'videos' | 'recent' | 'logs' | 'crashDumps'): string;
|
|
1223
1223
|
/**
|
|
1224
1224
|
* The user's preferred system languages from most preferred to least preferred,
|
|
1225
1225
|
* including the country codes if applicable. A user can modify and add to this
|
|
@@ -1256,6 +1256,12 @@ declare namespace Electron {
|
|
|
1256
1256
|
* that do not have associated countries in the language name.
|
|
1257
1257
|
*/
|
|
1258
1258
|
getPreferredSystemLanguages(): string[];
|
|
1259
|
+
/**
|
|
1260
|
+
* An array containing documents in the most recent documents list.
|
|
1261
|
+
*
|
|
1262
|
+
* @platform darwin,win32
|
|
1263
|
+
*/
|
|
1264
|
+
getRecentDocuments(): string[];
|
|
1259
1265
|
/**
|
|
1260
1266
|
* The current system locale. On Windows and Linux, it is fetched using Chromium's
|
|
1261
1267
|
* `i18n` library. On macOS, `[NSLocale currentLocale]` is used instead. To get the
|
|
@@ -2575,6 +2581,19 @@ declare namespace Electron {
|
|
|
2575
2581
|
* Focuses on the window.
|
|
2576
2582
|
*/
|
|
2577
2583
|
focus(): void;
|
|
2584
|
+
/**
|
|
2585
|
+
* the system accent color and highlighting of active window border in Hex RGB
|
|
2586
|
+
* format.
|
|
2587
|
+
*
|
|
2588
|
+
* If a color has been set for the window that differs from the system accent
|
|
2589
|
+
* color, the window accent color will be returned. Otherwise, a boolean will be
|
|
2590
|
+
* returned, with `true` indicating that the window uses the global system accent
|
|
2591
|
+
* color, and `false` indicating that accent color highlighting is disabled for
|
|
2592
|
+
* this window.
|
|
2593
|
+
*
|
|
2594
|
+
* @platform win32
|
|
2595
|
+
*/
|
|
2596
|
+
getAccentColor(): (string) | (boolean);
|
|
2578
2597
|
/**
|
|
2579
2598
|
* Gets the background color of the window in Hex (`#RRGGBB`) format.
|
|
2580
2599
|
*
|
|
@@ -2934,6 +2953,23 @@ declare namespace Electron {
|
|
|
2934
2953
|
* @platform darwin
|
|
2935
2954
|
*/
|
|
2936
2955
|
selectPreviousTab(): void;
|
|
2956
|
+
/**
|
|
2957
|
+
* Sets the system accent color and highlighting of active window border.
|
|
2958
|
+
*
|
|
2959
|
+
* The `accentColor` parameter accepts the following values:
|
|
2960
|
+
*
|
|
2961
|
+
* * **Color string** - Sets a custom accent color using standard CSS color formats
|
|
2962
|
+
* (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in RGBA/HSLA formats
|
|
2963
|
+
* are ignored and the color is treated as fully opaque.
|
|
2964
|
+
* * **`true`** - Uses the system's default accent color from user preferences in
|
|
2965
|
+
* System Settings.
|
|
2966
|
+
* * **`false`** - Explicitly disables accent color highlighting for the window.
|
|
2967
|
+
*
|
|
2968
|
+
* Examples:
|
|
2969
|
+
*
|
|
2970
|
+
* @platform win32
|
|
2971
|
+
*/
|
|
2972
|
+
setAccentColor(accentColor: (boolean) | (string)): void;
|
|
2937
2973
|
/**
|
|
2938
2974
|
* Sets whether the window should show always on top of other windows. After
|
|
2939
2975
|
* setting this, the window is still a normal window, not a toolbox window which
|
|
@@ -5216,6 +5252,19 @@ declare namespace Electron {
|
|
|
5216
5252
|
*/
|
|
5217
5253
|
focus(): void;
|
|
5218
5254
|
focusOnWebView(): void;
|
|
5255
|
+
/**
|
|
5256
|
+
* the system accent color and highlighting of active window border in Hex RGB
|
|
5257
|
+
* format.
|
|
5258
|
+
*
|
|
5259
|
+
* If a color has been set for the window that differs from the system accent
|
|
5260
|
+
* color, the window accent color will be returned. Otherwise, a boolean will be
|
|
5261
|
+
* returned, with `true` indicating that the window uses the global system accent
|
|
5262
|
+
* color, and `false` indicating that accent color highlighting is disabled for
|
|
5263
|
+
* this window.
|
|
5264
|
+
*
|
|
5265
|
+
* @platform win32
|
|
5266
|
+
*/
|
|
5267
|
+
getAccentColor(): (string) | (boolean);
|
|
5219
5268
|
/**
|
|
5220
5269
|
* Gets the background color of the window in Hex (`#RRGGBB`) format.
|
|
5221
5270
|
*
|
|
@@ -5635,6 +5684,23 @@ declare namespace Electron {
|
|
|
5635
5684
|
* @platform darwin
|
|
5636
5685
|
*/
|
|
5637
5686
|
selectPreviousTab(): void;
|
|
5687
|
+
/**
|
|
5688
|
+
* Sets the system accent color and highlighting of active window border.
|
|
5689
|
+
*
|
|
5690
|
+
* The `accentColor` parameter accepts the following values:
|
|
5691
|
+
*
|
|
5692
|
+
* * **Color string** - Sets a custom accent color using standard CSS color formats
|
|
5693
|
+
* (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in RGBA/HSLA formats
|
|
5694
|
+
* are ignored and the color is treated as fully opaque.
|
|
5695
|
+
* * **`true`** - Uses the system's default accent color from user preferences in
|
|
5696
|
+
* System Settings.
|
|
5697
|
+
* * **`false`** - Explicitly disables accent color highlighting for the window.
|
|
5698
|
+
*
|
|
5699
|
+
* Examples:
|
|
5700
|
+
*
|
|
5701
|
+
* @platform win32
|
|
5702
|
+
*/
|
|
5703
|
+
setAccentColor(accentColor: (boolean) | (string)): void;
|
|
5638
5704
|
/**
|
|
5639
5705
|
* Sets whether the window should show always on top of other windows. After
|
|
5640
5706
|
* setting this, the window is still a normal window, not a toolbox window which
|
|
@@ -17708,23 +17774,25 @@ declare namespace Electron {
|
|
|
17708
17774
|
* A child of `webFrame` with the supplied `name`, `null` would be returned if
|
|
17709
17775
|
* there's no such frame or if the frame is not in the current renderer process.
|
|
17710
17776
|
*/
|
|
17711
|
-
findFrameByName(name: string): WebFrame;
|
|
17777
|
+
findFrameByName(name: string): (WebFrame) | (null);
|
|
17712
17778
|
/**
|
|
17713
17779
|
* that has the supplied `routingId`, `null` if not found.
|
|
17714
17780
|
*
|
|
17781
|
+
* **Deprecated:** Use the new `webFrame.findFrameByToken` API.
|
|
17782
|
+
*
|
|
17715
17783
|
* @deprecated
|
|
17716
17784
|
*/
|
|
17717
|
-
findFrameByRoutingId(routingId: number): WebFrame;
|
|
17785
|
+
findFrameByRoutingId(routingId: number): (WebFrame) | (null);
|
|
17718
17786
|
/**
|
|
17719
17787
|
* that has the supplied `frameToken`, `null` if not found.
|
|
17720
17788
|
*/
|
|
17721
|
-
findFrameByToken(frameToken: string): WebFrame;
|
|
17789
|
+
findFrameByToken(frameToken: string): (WebFrame) | (null);
|
|
17722
17790
|
/**
|
|
17723
17791
|
* The frame element in `webFrame's` document selected by `selector`, `null` would
|
|
17724
17792
|
* be returned if `selector` does not select a frame or if the frame is not in the
|
|
17725
17793
|
* current renderer process.
|
|
17726
17794
|
*/
|
|
17727
|
-
getFrameForSelector(selector: string): WebFrame;
|
|
17795
|
+
getFrameForSelector(selector: string): (WebFrame) | (null);
|
|
17728
17796
|
/**
|
|
17729
17797
|
* * `images` MemoryUsageDetails
|
|
17730
17798
|
* * `scripts` MemoryUsageDetails
|
|
@@ -17862,6 +17930,8 @@ declare namespace Electron {
|
|
|
17862
17930
|
* Distinct WebFrame instances that refer to the same underlying frame will have
|
|
17863
17931
|
* the same `routingId`.
|
|
17864
17932
|
*
|
|
17933
|
+
* **Deprecated:** Use the new `webFrame.frameToken` API.
|
|
17934
|
+
*
|
|
17865
17935
|
* @deprecated
|
|
17866
17936
|
*/
|
|
17867
17937
|
readonly routingId: number;
|
|
@@ -17878,6 +17948,11 @@ declare namespace Electron {
|
|
|
17878
17948
|
|
|
17879
17949
|
// Docs: https://electronjs.org/docs/api/web-frame-main
|
|
17880
17950
|
|
|
17951
|
+
/**
|
|
17952
|
+
* A frame with the given process and frame token, or `null` if there is no
|
|
17953
|
+
* WebFrameMain associated with the given IDs.
|
|
17954
|
+
*/
|
|
17955
|
+
static fromFrameToken(processId: number, frameToken: string): (WebFrameMain) | (null);
|
|
17881
17956
|
/**
|
|
17882
17957
|
* A frame with the given process and routing IDs, or `undefined` if there is no
|
|
17883
17958
|
* WebFrameMain associated with the given IDs.
|
package/package.json
CHANGED