electron/lib/browser/api/web-contents-view.js

16 lines
364 B
JavaScript
Raw Normal View History

2018-05-07 07:04:33 +00:00
'use strict'
const electron = require('electron')
2018-09-13 16:10:51 +00:00
const { View } = electron
const { WebContentsView } = process.atomBinding('web_contents_view')
2018-05-07 07:04:33 +00:00
Object.setPrototypeOf(WebContentsView.prototype, View.prototype)
WebContentsView.prototype._init = function () {
// Call parent class's _init.
View.prototype._init.call(this)
}
module.exports = WebContentsView