2018-05-22 08:08:27 +00:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
const electron = require('electron')
|
|
|
|
|
2018-09-13 16:10:51 +00:00
|
|
|
const { LayoutManager } = electron
|
2019-03-18 19:37:06 +00:00
|
|
|
const { BoxLayout } = process.electronBinding('box_layout')
|
2018-05-22 08:08:27 +00:00
|
|
|
|
|
|
|
Object.setPrototypeOf(BoxLayout.prototype, LayoutManager.prototype)
|
|
|
|
|
|
|
|
BoxLayout.prototype._init = function () {
|
|
|
|
// Call parent class's _init.
|
|
|
|
LayoutManager.prototype._init.call(this)
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = BoxLayout
|