electron/lib/browser/api
Ben Gotow c87c49f4c8 Allow sheets to be attached at a custom offset #4679
Adds a new "setSheetOffset" API to the `dialog` module, which allows you to change the attachment point for sheets on Mac OS X. I put the API on the dialog module, even though Mac OS X requires that the native window hold and return the desired offset.

1. I was originally hoping to make this an argument on the actual dialog.show* calls, but it seems the parameter set is defined in `libchromiumcontent` and I wasn't sure it would be appropriate to add there?

2.  The API could also be on the BrowserWindow (eg `BrowserWindow.setSheetOffset`). I don't have a strong preference, but I think it's more discoverable on the `dialog` module.
2016-04-16 10:16:43 -04:00
..
auto-updater AutoUpdate Windows: Don't spawn if running 2016-04-14 11:22:28 -07:00
exports first pass at standardizing; suite still passing! 2016-03-30 17:00:30 -07:00
app.js finish standardizing! 2016-03-30 17:00:33 -07:00
auto-updater.js first pass at standardizing; suite still passing! 2016-03-30 17:00:30 -07:00
browser-window.js Avoid adding a new option to webPreferences 2016-04-14 10:50:07 +09:00
content-tracing.js first pass at standardizing; suite still passing! 2016-03-30 17:00:30 -07:00
dialog.js Allow sheets to be attached at a custom offset #4679 2016-04-16 10:16:43 -04:00
global-shortcut.js first pass at standardizing; suite still passing! 2016-03-30 17:00:30 -07:00
ipc-main.js first pass at standardizing; suite still passing! 2016-03-30 17:00:30 -07:00
ipc.js first pass at standardizing; suite still passing! 2016-03-30 17:00:30 -07:00
menu-item.js finish standardizing! 2016-03-30 17:00:33 -07:00
menu.js replace __proto__ with Object.setPrototype 2016-03-30 17:00:33 -07:00
navigation-controller.js Rename ATOM_ ipc event prefix to ELECTRON_ 2016-04-07 09:04:55 -07:00
power-monitor.js replace __proto__ with Object.setPrototype 2016-03-30 17:00:33 -07:00
power-save-blocker.js first pass at standardizing; suite still passing! 2016-03-30 17:00:30 -07:00
protocol.js first pass at standardizing; suite still passing! 2016-03-30 17:00:30 -07:00
screen.js replace __proto__ with Object.setPrototype 2016-03-30 17:00:33 -07:00
session.js replace __proto__ with Object.setPrototype 2016-03-30 17:00:33 -07:00
tray.js replace __proto__ with Object.setPrototype 2016-03-30 17:00:33 -07:00
web-contents.js No more need to delay did-fail-load event 2016-04-13 19:33:59 +09:00