2020-03-20 13:28:31 -07:00
|
|
|
'use strict';
|
2018-05-07 16:04:33 +09:00
|
|
|
|
2020-03-20 13:28:31 -07:00
|
|
|
const electron = require('electron');
|
2018-05-07 16:04:33 +09:00
|
|
|
|
2020-03-20 13:28:31 -07:00
|
|
|
const { View } = electron;
|
|
|
|
const { WebContentsView } = process.electronBinding('web_contents_view');
|
2018-05-07 16:04:33 +09:00
|
|
|
|
2020-03-20 13:28:31 -07:00
|
|
|
Object.setPrototypeOf(WebContentsView.prototype, View.prototype);
|
2018-05-07 16:04:33 +09:00
|
|
|
|
2020-03-20 13:28:31 -07:00
|
|
|
module.exports = WebContentsView;
|