electron/atom/renderer/api/lib/web-frame.js

17 lines
453 B
JavaScript
Raw Normal View History

2016-01-12 02:40:23 +00:00
var deprecate, webFrame;
deprecate = require('electron').deprecate;
webFrame = process.atomBinding('web_frame').webFrame;
/* Deprecated. */
deprecate.rename(webFrame, 'registerUrlSchemeAsSecure', 'registerURLSchemeAsSecure');
deprecate.rename(webFrame, 'registerUrlSchemeAsBypassingCSP', 'registerURLSchemeAsBypassingCSP');
deprecate.rename(webFrame, 'registerUrlSchemeAsPrivileged', 'registerURLSchemeAsPrivileged');
module.exports = webFrame;