2018-08-27 18:16:52 +00:00
|
|
|
const features = process.atomBinding('features')
|
|
|
|
|
|
|
|
module.exports = [
|
|
|
|
{
|
|
|
|
name: 'crashReporter',
|
2018-09-20 03:43:26 +00:00
|
|
|
load: () => require('@electron/internal/common/api/crash-reporter')
|
2018-08-27 18:16:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'desktopCapturer',
|
2018-09-20 03:43:26 +00:00
|
|
|
load: () => require('@electron/internal/renderer/api/desktop-capturer'),
|
2018-08-27 18:16:52 +00:00
|
|
|
enabled: features.isDesktopCapturerEnabled()
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'ipcRenderer',
|
2018-09-20 03:43:26 +00:00
|
|
|
load: () => require('@electron/internal/sandboxed_renderer/api/ipc-renderer')
|
2018-08-27 18:16:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'isPromise',
|
2018-09-20 03:43:26 +00:00
|
|
|
load: () => require('@electron/internal/common/api/is-promise'),
|
2018-08-27 18:16:52 +00:00
|
|
|
private: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'nativeImage',
|
2018-09-20 03:43:26 +00:00
|
|
|
load: () => require('@electron/internal/common/api/native-image')
|
2018-08-27 18:16:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'remote',
|
2018-09-20 03:43:26 +00:00
|
|
|
load: () => require('@electron/internal/renderer/api/remote')
|
2018-08-27 18:16:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'webFrame',
|
2018-09-20 03:43:26 +00:00
|
|
|
load: () => require('@electron/internal/renderer/api/web-frame')
|
2018-08-27 18:16:52 +00:00
|
|
|
}
|
|
|
|
]
|