Expose setVisualZoomLevelLimits on webContents and <web-view>
This commit is contained in:
parent
756a338b05
commit
9a5df9da41
3 changed files with 20 additions and 1 deletions
|
@ -101,8 +101,10 @@ WebContents.prototype.sendToAll = function (channel, ...args) {
|
|||
const webFrameMethods = [
|
||||
'insertText',
|
||||
'setLayoutZoomLevelLimits',
|
||||
'setVisualZoomLevelLimits',
|
||||
'setZoomFactor',
|
||||
'setZoomLevel',
|
||||
// TODO(kevinsawicki): Remove in 2.0, deprecate before then with warnings
|
||||
'setZoomLevelLimits'
|
||||
]
|
||||
const webFrameMethodsWithResult = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue