2019-05-07 17:59:15 +00:00
|
|
|
'use strict';
|
|
|
|
const electron = require('electron');
|
|
|
|
const { View } = electron;
|
|
|
|
const { WebContentsView } = process.electronBinding('web_contents_view');
|
|
|
|
Object.setPrototypeOf(WebContentsView.prototype, View.prototype);
|
2019-02-06 20:27:58 +00:00
|
|
|
WebContentsView.prototype._init = function () {
|
2019-05-07 17:59:15 +00:00
|
|
|
// Call parent class's _init.
|
|
|
|
View.prototype._init.call(this);
|
|
|
|
};
|
|
|
|
module.exports = WebContentsView;
|
|
|
|
//# sourceMappingURL=web-contents-view.js.map
|