mirror of
https://github.com/electron/electron.git
synced 2026-01-28 16:58:21 -05:00
11 lines
257 B
JavaScript
11 lines
257 B
JavaScript
'use strict';
|
|
|
|
const electron = require('electron');
|
|
|
|
const { View } = electron;
|
|
const { WebContentsView } = process.electronBinding('web_contents_view');
|
|
|
|
Object.setPrototypeOf(WebContentsView.prototype, View.prototype);
|
|
|
|
module.exports = WebContentsView;
|