electron/atom/renderer/api/lib/web-frame.js
2016-01-12 16:24:06 -08:00

16 lines
453 B
JavaScript

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;