Change webview's zoom level on JavaScript side

This commit is contained in:
Cheng Zhao 2016-01-13 12:46:13 +08:00
parent 118924ba7a
commit af02739c4e
8 changed files with 26 additions and 58 deletions

View file

@ -59,6 +59,9 @@ PDFPageSize = {
const webFrameMethods = [
'executeJavaScript',
'insertText',
'setZoomFactor',
'setZoomLevel',
'setZoomLevelLimits',
];
wrapWebContents = function(webContents) {