Add new method to set layout-based zoom level limit

This commit is contained in:
Paul Betts 2016-11-21 14:59:27 -05:00
parent 71f94c7a3a
commit e2649ce7d8
4 changed files with 8 additions and 0 deletions

View file

@ -100,6 +100,7 @@ WebContents.prototype.sendToAll = function (channel, ...args) {
// Following methods are mapped to webFrame.
const webFrameMethods = [
'insertText',
'setLayoutZoomLevelLimits',
'setZoomFactor',
'setZoomLevel',
'setZoomLevelLimits'