asarfuckery/electronasar/canary/browser/api/web-contents-view.js

11 lines
420 B
JavaScript
Raw Normal View History

2019-07-01 23:00:17 +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-06-16 20:19:06 +00:00
WebContentsView.prototype._init = function () {
2019-07-01 23:00:17 +00:00
// Call parent class's _init.
View.prototype._init.call(this);
};
module.exports = WebContentsView;
//# sourceMappingURL=web-contents-view.js.map