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
|
2019-03-18 19:37:06 +00:00
|
|
|
const { WebContentsView } = process.electronBinding('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
|